-
-
Notifications
You must be signed in to change notification settings - Fork 586
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with firmware upgrade - zwavejs need to be restarted between bootloader and firmware #6709
Comments
I forgot to mention that I’m using zwavejsui 9.9.1 |
@robertsLando @AlCalzone let me know if I can further assist you with anything for this issue. |
I came back from parental leave today and started digging through the heap of open issues and PRs. Might take a few days before I get to this. |
Sure, take your time! :) One addition to the issue is that the upgrade only stops after the bootloader if the device is connected to the controller with security. If there is no security, then the upgrade goes well through both bootloader and firmware. |
Any chance you can make a driver log of that on loglevel "debug"? The ones above are on a higher level, so they don't contain the details I need to investigate. They will be huge (can be zipped well) but I don't mind. |
I'm trying to upgrade the firmware on one of many devices connected to a single controller.
Devices I'm using:
Upgrade steps:
After starting the upgrade process, the bootloader is uploaded to the device, then the device restarts when the bootloader has finished uploading. After 7 seconds the controller tries to continue with the second file, but the upload of that is never started. At this point I need to restart the docker container where zwavejs is running, wait until it checks and reconnects to all devices, then repeat the upgrade steps mentioned above, except with only selecting the second file. After this, the upgrade goes well, and at the end, the upgraded device gets reinterviewed, and the upgrade is finished successfully.
I have attached a stipped version of the logs. Sometimes a few packages are dropped during the upload, and in some cases I get "Failed to execute controller command" messages, but eventually the upgrade can succeed.
Things I have tried:
When pinging the device after uploading the bootloader I see this in the logs:
17:27:16.775 CNTRLR « [Node 021] ping successful
When triple click the zwave button on the device after bootloader is uploaded I get this in the logs:
17:26:40.197 CNTRLR « [Node 021] Received updated node info
Logs of first upgrade attemt with both files selected: zwavejs-upgrade-issue-log.txt
Logs of second upgrade after restarting the controller and only issueing the firmware (for target "1"): second-upgrade-fw-only-log.txt
Do you have any suggestions what I could try so that I don't need to restart the docker container in between the upload of the files? Is this a bug, or am I doing something wrong?
The text was updated successfully, but these errors were encountered: