zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Device state details not updated after OTA completes

Open ptr727 opened this issue 2 years ago ā€¢ 4 comments

What happened?

Perform OTA on device, OTA completes successfully, device state still reports old version information.

What did you expect to happen?

After OTA completes expect device state to show current version information.

How to reproduce it (minimal and precise)

  • Aqara TVOC out of box pair.
  • Note the JSON state information, "applicationVersion": 24, "dateCode": "20210204",
  • OTA check for update (difficult to get going, easiest to long press, re-pair, then immediately check for OTA)
  • Apply OTA
  • OTA completes successfully, popup message reports new datecode.
  • Review JSON device state, still old datecode and version.
  • Long hold button, device removes itself from network.
  • Re-add device
  • State now reports correct datecode
  • App version is still old (see https://github.com/Koenkk/zigbee2mqtt/issues/13200 where Aqara M2 updated devices report new app version but Z2M devices report same version)

Zigbee2MQTT version

1.27.2 commit: 7dc48fb

Adapter firmware version

20220219

Adapter

zStack3x0

Debug log

z2mlog.zip

ptr727 avatar Sep 16 '22 02:09 ptr727

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Oct 17 '22 00:10 github-actions[bot]

Still an issue.

ptr727 avatar Oct 17 '22 00:10 ptr727

same here...

Zigbee2MQTT:info  2022-10-25 23:37:27: Updating '0x54ef441000445055' to latest firmware
Zigbee2MQTT:info  2022-10-25 23:37:29: MQTT publish: topic 'zigbee2mqtt/0x54ef441000445055', payload '{"battery":49,"device_temperature":23,"display_unit":"ppb_celsius","humidity":75.75,"linkquality":225,"power_outage_count":23,"temperature":23.89,"update":{"state":"available"},"voc":263,"voltage":2923}'
Zigbee2MQTT:info  2022-10-25 23:37:33: Update of '0x54ef441000445055' at 0.00%
Zigbee2MQTT:info  2022-10-25 23:37:33: MQTT publish: topic 'zigbee2mqtt/0x54ef441000445055', payload '{"battery":49,"device_temperature":23,"display_unit":"ppb_celsius","humidity":75.75,"linkquality":222,"power_outage_count":23,"temperature":23.89,"update":{"progress":0,"state":"updating"},"voc":263,"voltage":2923}'
[...]
Zigbee2MQTT:info  2022-10-26 00:34:48: Update of '0x54ef441000445055' at 99.14%, ā‰ˆ 0 minutes remaining
Zigbee2MQTT:info  2022-10-26 00:34:48: MQTT publish: topic 'zigbee2mqtt/0x54ef441000445055', payload '{"battery":49,"device_temperature":23,"display_unit":"ppb_celsius","humidity":64.54,"linkquality":222,"power_outage_count":23,"temperature":22.02,"update":{"progress":99.14,"remaining":30,"state":"updating"},"voc":121,"voltage":2923}'
Zigbee2MQTT:info  2022-10-26 00:35:19: Update of '0x54ef441000445055' at 100.00%
[...]
Zigbee2MQTT:info  2022-10-26 00:37:19: Finished update of '0x54ef441000445055'

...but still showing as...

Firmware build date
    20210204
Firmware version
    2020ļæ½www.

lost-carrier avatar Oct 26 '22 19:10 lost-carrier

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Nov 26 '22 00:11 github-actions[bot]