andreypopov / node-red-contrib-zigbee2mqtt

Zigbee2mqtt connectivity nodes for node-red
GNU General Public License v3.0
94 stars 24 forks source link

Send only if value changes does not work #80

Open webfrank opened 2 years ago

webfrank commented 2 years ago

Hi, I upgraded from a very old version of zigbee2mqtt and nodes and now, even with cache_state: false in configuration.xml, I receive all the states from the devices. I tried the flag "Send only if value changes" and it doesn't work. Looking at the code the check with the previous value is done using the full payload, including linkquality, which changes. To really filter out the same messages I think linkquality (and any other similar fields) should be excluded from the check.

andreypopov commented 2 years ago

works good for selected property, not for all I agree, that it can be improved by properties multiple filter

S474N commented 1 year ago

Same problem.

If full payload, there is problem with no filtering.

If for example Homekit/Switch, there is everything ok.

image

image