I have a question I can’t find an answer to ^^
I configured an MQTT device (switch in sensor mode)
Node-RED updates it by sending 0 or 1. Anyway, everything works.
What I want to do is display a chart with all its logged values as a histogram, so as to know, over a period of time, the moments when the device was active or not.
Is this possible in Gladys? I’m surprised not to see these devices as a source when creating charts. In that case, what’s the use of the MQTT devices’ history?
Hello,
I use Node-RED to plot the duration of my commute to work on a histogram over time so I think it’s possible.
I think the graph widget doesn’t allow displaying values coming from an MQTT feature « on/off switch » on a chart but as a workaround, you can try using another MQTT feature (for example duration or unknown so you don’t have a unit on your graph)
Edit: maybe play with 2 MQTT features, one for logging with Node-RED and one to control with Gladys and/or Node-RED