zwave-js / node-zwave-js

Z-Wave driver written entirely in JavaScript/TypeScript
https://zwave-js.github.io/node-zwave-js/
MIT License
755 stars 608 forks source link

Firmware Update for Leviton DZ6HD not working [question] #4116

Open MrSerious0 opened 2 years ago

MrSerious0 commented 2 years ago

Hi,

I'm trying to update my Leviton DZ6HD devices from v1.13 to v1.20 using the files supplied by Leviton here: https://hubconnecteddecorasmart.zendesk.com/hc/en-us/articles/4407521680155-Can-Leviton-Z-Wave-Products-Firmware-Be-Updated- ... specifically here: https://filetransfer.leviton.com/link/9LrvU6A5pfP01P9D0LDinj

When selecting DZ6HD_01_20_otaTargetZwave.exe, I receive this in the zwavejs2mqtt logs:

_2022-01-21 10:00:15.156 INFO ZWAVE: Calling api beginFirmwareUpdate with args: [
30,
'DZ6HD_01_20_ota__TargetZwave__.exe',
<Buffer 4d 5a 90 00 03 00 00 00 04 00 00 00 ff ff 00 00 b8 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ... 719584 more bytes>,
0,
[length]: 4
]
2022-01-21 10:00:15.179 INFO ZWAVE: Unable to extract firmware from file: This does not appear to be a valid Aeotec updater (invalid firmware name)! (ZW0322) beginFirmwareUpdate undefined_

Do you have any suggestions?

MrSerious0 commented 2 years ago

I also tried using this hex file, but zwavejs2mqtt outputs nothing in the log after selecting it: https://github.com/djdizzyd/hubitat/tree/3290dbc5ec75b098eafeedb12bb1b1c13c2c6aaa/Drivers/Z-Wave-Firmware-Updater

AlCalzone commented 2 years ago

Please make a driver log, loglevel debug or silly and attach it here as a file. While making the log, attempt the update again.

MrSerious0 commented 2 years ago

Here is the requested driver log. Thanks for your help!

2022-01-21 11:27:38.806 is where I try to attempt the update using the .exe file.

2022-01-21 11:27:49.191 is where I try to attempt the update using the .hex file.

zwavejs2mqtt_2022-01-21.log

robertsLando commented 2 years ago

That log is zwavejs2mqtt log, please upload a driver log

MrSerious0 commented 2 years ago

Sorry! Here is the driver log and zjs2m log.

zwavejs_2022-01-21(1).log zwavejs2mqtt_2022-01-21(1).log

MrSerious0 commented 2 years ago

Not sure how I missed it earlier, but the firmware (v1.22) linked in issue #4101 worked perfectly. I was able to use zwavejs2mqtt to update 5 instances of DZ6HD switches using this firmware: https://decorasmartsupport.zendesk.com/attachments/token/MFT4C61yHdtG43RDv3QkVHANg/?name=DZ6HD_v1_22.ota

AlCalzone commented 2 years ago

This does not appear to be a valid Aeotec updater (invalid firmware name)!

The exe file seems to have a format that's a bit different from the Aeotec updater. I'll look into it, probably just a small change.