Hi, I have a water meter, where data goes via MQTT to NodeRed, they have a great Dashboard, where I send the total water used for the day to a gauge - chart. To get almost intime gauge information, I set ESP to send the mqtt message every 60s. Problem is, most of the day, the water used for the last 60s is zero, then a zero is sent to mqtt.
Any way to use a rule, to first check if the value is > 0, and only then to send it through mqtt ?
Rules: only send MQTT if value > 0.
Moderators: grovkillen, Stuntteam, TD-er
Rules: only send MQTT if value > 0.
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
Who is online
Users browsing this forum: Bing [Bot] and 10 guests