Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.83k stars 1.65k forks source link

Doubled Reporting Line for the same Attribute / Interval values do not change properly #23933

Open MMi1603 opened 2 weeks ago

MMi1603 commented 2 weeks ago

What happened?

Since the change from Zigbee2MQTT 1.39.1 to 1.40 no Interval in the Reporting Line can be changed properly. Two lines with the same Attribute appear, but with interval values (prev and new, same value or even the same). Deleting one of them always result back in the old value. Keeping both lines seem to work with the new value.

Going back to a 1.39.1 backup did not show the problem. Upgrading again to 1.40.1 also had the issue.

I saw this for different vendors (Ikea, Tuya, Philips) on different attributes (remaining battery, voltage or power reporting interval, both battery devices and controllers).

Looking forward to your kind responses, also to find out if this is an issue on my setup only or if it occurs also for other users.

Screenshot Zigbee2Mqtt

What did you expect to happen?

Clear attribute value. No multiple lines for each attribute.

How to reproduce it (minimal and precise)

  1. Update to 1.40.0 or 1.40.1
  2. Change any interval value and apply.

Zigbee2MQTT version

1.40.1

Adapter firmware version

20240710

Adapter

SONOFF Zigbee 3.0 USB Dongle Plus

Setup

Z2M to MQTT to Openhab on Raspberry OS

Debug log

log.log

MMi1603 commented 3 days ago

I could realize in 1.40.1 that after removing and re-pairing a device or adding a complete new device everything is normal again and attributes can be changed as usual on the new added device. The unchanged devices I had already in 1.39 still have the described problem. So the error must have been by the change from 1.39 to 1.40/1.40.1.

I would like to avoid re-pairing all devices again, so any suggestion would be welcome. Did this behaviour really happened on my setup only or did anybody else have the same problem?

Regards, MMi1603