[RELEASE] Z-Wave Firmware Updater

The error you got seems to align with the driver linked at the very top of this thread, which only works for the old OTZ firmware files, not the GBL files. That github repo has a binary version in it, but also the guide that I linked to specifically has a link to a forked version which fixes a bug and adds a couple features.

You need to use one of the "Binary" versions that can handle GBL files.
Original: hubitat/Drivers/Z-Wave-Firmware-Updater/zwaveBinaryUpdater.groovy at master · djdizzyd/hubitat · GitHub

Forked: [BETA] Updated binary firmware updater
hubitat/Drivers/Z-Wave-Firmware-Updater/zwaveBinaryUpdater.groovy at master · mbbush/hubitat · GitHub

Guide: [GUIDE] Z-Wave device - how to update firmware using the driver method

2 Likes

yeah, that was it. What's weird is that in the past it worked. I wonder if I already had the updated driver before but then it got reversed? is that possible with HPM or something?
Anyway, thanks for your help.. i'm up to 95% uploaded (been almost 2 hours :D).. this relay is pretty far from base station .so....

AFAIK, the forked driver isn't available in HPM.

Edit - Jeff beat me to adding that add'l info about the name-sharing stuff -- thanks Jeff!

Via HPM, I uninstalled my original version from Bryan, so now all I have installed is the fork.

1 Like

Yes unfortunately the old original driver, binary version, AND the forked version all have the same name / namespace. Only the original is in HPM, so if you do anything in there like a repair it will put the old driver back. I would recommend going into HPM settings and un-matching it.

1 Like

Thank you for this tool.

However, I am attempting to update the firmware on a ZEN54 LR from 1.20 to 1.30.

I'm using the following firmware file: https://www.getzooz.com/firmware/ZEN54_V01R30.gbl

When I enter the URL, and click on the Update Firmware button, it says:

  • firmwareUpdateProgress : Please wake up your sleepy device

Which is odd as it's a wired device (not battery-powered).

I'm not seeing any other progress.

Am I doing something wrong? thanks.

Hubitat's built-in / native Device Firmware Updater app (available to add from the Add built-in app button) works well for everything now (incl S2 mesh and LR devices), with one caveat...

If updating more than one device, I had to do a hub reboot in between each update -- otherwise the update was ridiculously slow. Other than that, my recent LR and S2-mesh device updates lately (all Zooz stuff) went fast & easy.

1 Like

Life saver! Thank you. Had no idea this existed.

Until fairly recently, it didn't work with S2 or LR devices so that was a bummer. Glad to have it back now.

Quick update. I tried the built-in firmware updater twice to update a ZEN54 LR. It took about 10 hours... and then failed. I have security disabled on the device.

I downloaded the .grbl file from Zooz. (Zooz OTA Firmware Files - Zooz Support Center)

File: https://www.getzooz.com/firmware/ZEN54_V01R30.gbl

Which based on the filename and change log appears to be version 1.30.

However, the tool failed with: "The transferred image does not match the firmware target".

Any ideas? Thank you.

Rebooting the hub in between (any/all) attempts seems to be an unfortunate necessity -- dunno why, but that's been my N=1 experience lately.

This also shouldn't be necessary, but every time I use it (successfully or not), I always purge all uploaded files and then remove / reinstall the app (and reload the necessary file). If it was successful, I just purge the file and remove the app.

When you start the process, double-check the correct device is selected (easy to mess up if you have several of the same), and make sure the app shows the correct current f/w value before initiating the update.

If the native app continues to be uncooperative, you can always try this method... It won't work for LR devices, but it should work well for everything else.

This is how I did my updates for a long time since I like S2, but the native updater app didn't support S2 devices until recently.

I won’t work only if the device is paired in LR mode. A LR device paired in the mesh it works.

It got corrupted during the transfer.

For a non secure device the image transfer should not take more than 15 minutes.

1 Like

Thank you. How does one prevent corruption during transfer? (I did this three time and it failed each time). I finally did it on the fourth time and it was successful, but took about 5 hours.

Thank you. Rebooting definitely made a difference. After 4 attempts, I finally got the firmware updated.

(It seems that device firmware updating is considerably more difficult than it needs to be. It took 2 days with multiple attempts for a single device).

Staff has hinted at significant ZW stack updates coming at some point...

No idea when, but whatever those are, hopefully they'll help with this and other ZW administration-related (for lack of a better term) headaches.

Perhaps this is anecdotal, but especially for S2 and LR devices, try to do the updates at a time when the hub is otherwise not very busy.

Fingers crossed. Now, if they can also work on the mobile app :slight_smile: (It's a UI mess).