zwave-js / firmware-updates

The firmware update service for Z-Wave JS at https://firmware.zwave-js.io
https://zwave-js.github.io/firmware-updates/
MIT License
30 stars 32 forks source link

Zooz ZEN04-800 firmware version is incorrect #99

Closed iissmart closed 11 months ago

iissmart commented 11 months ago

I purchased a Zooz ZEN04 800 series smart plug and it came with firmware 2.10.1 (as reported by Home Assistant/Z-Wave JS). I then used HA to update the firmware via OTA, from an automatic notification in HA, to firmware 2.20.1. After the update, the firmware as reported by the device is now 2.20, causing HA to think it still needs a firmware update to 2.20.1. When I attempt to update the firmware again, I get the error: Failed to call service update/install. zwave_error: Z-Wave error 263 - Cannot update firmware for node xx: The update is for a different original firmware version! (ZW0263)

I believe the version in ZEN04-800.json should be "2.20" rather than "2.20.1", since this is what the device reports.

AlCalzone commented 11 months ago

Just to be sure, please make a driver log of a re-interview, loglevel debug and attach it here as a file (drag & drop into the text field).

iissmart commented 11 months ago

Hm, re-interviewing the node seems to have fixed it, or at least removed the firmware update notification for now. I didn't capture the versions before the re-interview but the Z-Wave chip firmware versions (52-134-0-firmwareVersions) is "2.20" while the Application version (52-134-0-applicationVersion) is 2.20.1. Maybe that was also 2.20 previously?

I've got two more of these arriving in the next couple of days, I'll pay closer attention when I get them added and add interview logs if it's still an issue.

iissmart commented 11 months ago

I can't seem to reproduce this with the new switches that showed up today. They also came with 2.10.1, and flashed 2.20.1 just fine. Maybe it was a bad re-interview that caused the problem the first time around.