Skip to content
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

Cannot initialize controller, but I didn't make any changes, the /dev/serial/by-id shows the same path as before... #7398

Open
3 tasks
Majestic7979 opened this issue Nov 12, 2024 · 15 comments
Labels
bug Something isn't working

Comments

@Majestic7979
Copy link

Checklist

  • I am not using Home Assistant. Or: a developer has told me to come here.
  • I have checked the troubleshooting section and my problem is not described there.
  • I have read the changelog and my problem is not mentioned there.

Deploy method

Docker

Z-Wave JS UI version

See bug description

ZwaveJS version

See bug description

Describe the bug

zwave-js-ui: 9.27.0.f3c4ac5
zwave-js: 14.3.1
home id: undefined
home hex: undefined

All was working at least until yesterday morning when I last used the door from outside, my door lock is z-wave, that's how I know it was fine at least up to yesterday. Today my housemate was locked out, door lock would not respond, I checked zwavejsui and it had this error:

Driver: Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200) at Driver.sendMessage (/usr/src/app/node_modules/zwave-js/src/lib/driver/Driver.ts:6071:23) at ZWaveController2.queryCapabilities (/usr/src/app/node_modules/zwave-js/src/lib/controller/Controller.ts:1144:37) at Driver.initializeControllerAndNodes (/usr/src/app/node_modules/zwave-js/src/lib/driver/Driver.ts:1677:46) at Immediate.<anonymous> (/usr/src/app/node_modules/zwave-js/src/lib/driver/Driver.ts:1478:16) (ZW0100)

I navigated to /dev/serial/by-id and the stick is recognized. I checked my docker CLI to ensure it was fine, and it was. I have my container auto-update itself via Watchtower, so the only thing that may have changed from yesterday to today is the zwavejsui version, and I believe this is the issue because upon logging in I received the usual "what's new" popup.

So whatever you did on the latest update as of this post, broke my Aeotec stick. When I say broke, don't worry I don't mean you killed it. I'm just saying it is not working. I will now try to use image tag to downgrade and see if it works again, will update this if it does. Otherwise please be aware it's non-functional and thankfully I was inside to open the door otherwise we'd have no way to get in and would have to break the door! So please treat this urgently as it may affect others, for instance it would be catastrophic if there was a fire and their lock was not operational because the latest update fubar'd something.

Thanks for reading my report, I appreciate your effort in making this software available!

To Reproduce

Not applicable

Expected behavior

Not break the driver...

Additional context

No response

@Majestic7979 Majestic7979 added the bug Something isn't working label Nov 12, 2024
@Majestic7979
Copy link
Author

Update: I used image tag 9.26 and it works again, so definitely not an issue with my controller or setup, it's a problem in the latest images.

@thenoid
Copy link

thenoid commented Nov 12, 2024

@wdenton2
Copy link

I am getting the exact same error. Restarting container, using different USB port, restarting the system - nothing fixes the error

@Hanzzie18
Copy link

also my Aeotec USB stick was recognized anymore. I did a restart of my docker, replugged the USB stick but nothing works. When I did recreate the image I've got everything back online. Not sure what the root cause was in my case.

@jganzy
Copy link

jganzy commented Nov 13, 2024

Same error message as OP as of 12:00 CT.

Controller: Aeotec z-stick 7 plus
Version: 9.27.1

Rollback to 9.26 fixed issue

@willheineman
Copy link

willheineman commented Nov 13, 2024

Same issue here using a HUSBZB-1 controller using 9.27.1

Reverting to 9.26.0 fixed it.

@robertsLando
Copy link
Member

Please make a driver log, loglevel debug and attach it here as a file (drag & drop into the text field).

@robertsLando
Copy link
Member

cc @AlCalzone seems this issue is still relevant with 9.27.1

@robertsLando robertsLando transferred this issue from zwave-js/zwave-js-ui Nov 13, 2024
@AlCalzone
Copy link
Member

If this is still happening with 9.27.1, I definitely need to see driver logs.

Side note: IMO it seems a bit negligent to auto-update critical infrastructure, e.g. when doors cannot be opened without it working

@AlCalzone
Copy link
Member

AlCalzone commented Nov 13, 2024

Just tested again, with a fresh pull of 9.27.1. Works fine for me, with UZB 3 (500 series), Aeotec Z-Stick 7 (700 series) and Zooz ZSt39 (800 series) controllers.

@willheineman
Copy link

Also working again with a fresh pull of 9.27.0

@AlCalzone
Copy link
Member

@Majestic7979 can you double check if pulling 9.27.2 (latest version) solves your issue?

@willheineman
Copy link

Confirmed that 9.27.2 is also working for me, but using the latest tag still defaults back to 9.27.0 (also working still)

@AlCalzone
Copy link
Member

@robertsLando Any idea what's going on with the tag?

@robertsLando
Copy link
Member

I checked on https://hub.docker.com/r/zwavejs/zwave-js-ui/tags and the shas of 9.27.2 match latest so sincerely I have no clue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants