I have an item of type mqttget. I have a device that reads a digital input and acts as a Publisher, sending values (0 and 1) to the topic only when this value changes state.
In other words, the mqttget item initially receives the value (0 or 1), but then it stays as "no data" until the device publishes to the topic again.
I want this item to keep showing the last non-null value so that I can configure a trigger to identify state changes (from 0 to 1 or from 1 to 0).
anybody helps me ?
In other words, the mqttget item initially receives the value (0 or 1), but then it stays as "no data" until the device publishes to the topic again.
I want this item to keep showing the last non-null value so that I can configure a trigger to identify state changes (from 0 to 1 or from 1 to 0).
anybody helps me ?