This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to detect loss of MQTT data stream
#3
(2020-04-05, 02:09 PM)jim321 Wrote: https://discourse.nodered.org/t/how-to-m...live/14021

just send a 0 for the Gauge instead of a message

Code:
[{"id":"19b00651.99840a","type":"trigger","z":"d849ee72.4f61b","op1":"","op2":"0","op1type":"nul","op2type":"num","duration":"60","extend":true,"units":"s","reset":"","bytopic":"all","name":"","x":930,"y":500,"wires":[[]]}]

JimĀ 
thanks that worked a treat
Couldn't get it to work at first then realised I had to put the trigger in parallel with the connector between MQTT node and gauge
Reply


Messages In This Thread
RE: How to detect loss of MQTT data stream - by affinite - 2020-04-06, 06:24 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)