Only publish on change
Posted: 14 Jan 2017, 07:26
Is there a way (a rule, a formula, a setting) to only publish when a value changes or, even better, when the delta is above a defined threshold?
I use lux and distance sensors. I want (relevant) changes to be published immediately but not clutter the airwaves / swamp the broker with the same messages when nothing changes.
I use lux and distance sensors. I want (relevant) changes to be published immediately but not clutter the airwaves / swamp the broker with the same messages when nothing changes.