Gauge Datas reset if old datas

is there a way to reset the displayed Data of a gauge, when the data is old ( more as a 10minutes )
the gauge should show ZERO or nothing if no new datas are received.

Welcome to the forum @schnuller

You can use a trigger node configured like this

Provided that receives new data at least every 10 minutes it will send nothing, but if there is a 10 minute gap then it will send 0.
Feed your input data into that as well as to the gauge, and feed the output of the Trigger node into the gauge too.

The Trigger node is incredibly useful, many times when timing is involved that it will provide a solution.

Hello , das hört sich gut an, aber die normalen Daten die alle 5s kommen müssen duchgehen

Instead of send nothing, set it to send the original payload

I don't think that works. A message received during the timeout does not get sent on.

@schnuller you have not wired it up as I suggested it should be like this:

[{"id":"6ac9863d82dac4e6","type":"inject","z":"7e7868d06b3db971","name":"Input data here","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":240,"y":600,"wires":[["677bd36a9f6d0027","b94d316abfba40d3"]]},{"id":"677bd36a9f6d0027","type":"trigger","z":"7e7868d06b3db971","name":"","op1":"","op2":"0","op1type":"nul","op2type":"num","duration":"5","extend":true,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":420,"y":660,"wires":[["b94d316abfba40d3"]]},{"id":"b94d316abfba40d3","type":"debug","z":"7e7868d06b3db971","name":"Gauge goes here","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":650,"y":600,"wires":[]}]

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.