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
After OS upgrade from 6.2 to 6.4 Aeotec Z-Stick Gen5+ (ZW090) stopped working #1552
Comments
The Z-Wave problem sounds like there is a problem communicating with the Add-On:
Is your add-on running? Any errors in the add-on log? I'd first try to get Z-Wave running again on 6.2. There was a reliability issue with certain USB to Serial based chips (see #1532), but I don't think that this should affect Connbee or Z-Wave sticks. |
What also would be interesting are the kernel logs from Supervisor -> System -> Log Provider "Host"? Ideally from Version 6.2 and 6.4. |
My add-on is running yes. Well the logs updating from 6.2 to 6.4 is not saved. But i am not the only one whit this problem. Se this thread created yesterday : https://community.home-assistant.io/t/failed-to-start-the-z-wave-js-add-on/340913. I got this out from the Z-wave JS add on today: "Failed to initialize the driver: Timeout while waiting for an ACK from the controller And in the link i posted that person gets the same error log as me...... |
I had similar same issue as Mpgod80 when I upgraded from 6.2 to 6.3. But first it was even worse – My Odroid refused to let me in at all. I don´t know If it was stuck in the boot up sequence or if it was something else. I had to unplug both the Aeotec Zwave stick gen 5 and my Conbee 2 and after that I had my Odroid unplugged for about half an hour. When I was able to log in at last neither the Zwave or Zigbee network was working. The Zigbee got up after a while by itself but not the Zwave. I tried everything I could think of but it said "Driver: Failed to initialize the driver: Timeout while waiting for an ACK from the controller". I did so much that I can´t tell what lastly got it working. If it was a reset of the Aotec stick, me restoring a backup, a combination of that or just luck… |
After many hours of searching what´s wrong, i found what caused this huge problem. I started to check what serialports the USB devices was using. The Aeotec Zwave stick gen 5+ should by default use /dev/ttyACM0. So that is what happened when i upgraded the OS from 6.2 to 6.4. I guess that the Conbee 2 stick boots faster and therefore takes over the zwave sticks serialport in the boot sequence. Is there a chance to add an option to turn off that function in HA in future updates? |
I reposting below the string to which Mpgod80 refers above. Maybe I should have posted it here first. I have not been able to fix it so my extensive Home Assistant system is useless. On 22 Sept. 2021, after updating the Z-Wave JS add-on from 1.37 to 1.39 and then1.40, HA Core to 2021.9.7, and HA OS to 6.4 from what was current on 4 Sept. 2021, I lost all Z-Wave functionality getting the error message “Failed to start the Z-Wave JS add-on”. Removing both the Z-Wave JS add-on and integration, then installing the integration with its automatic installation of the add-on gives the same error. Doing many variations/iterations of removing both Z-Wave components and rebooting, HA automatically discovers my Aetec Z-Stick Gen 5 and installs the integration but fails to start the add-on saying “Aborted. Failed to start the Z-Wave JS add-on”, then it automatically removes the integration. Restoring my 4 Sept. 2021 full backup does not fix this. The Z-Wave log mentions the following driver issue but I don’t know how to provide the “valueDB” that apparently is missing: I simply did a routine update and lost Z-Wave. How do I restore Z-Wave JS functionality short of wiping my SSD and reinstalling everything? I am running the standard HA OS installation on a NUC. Prior to these updates it was working fine except that after every reboot after an update I had to re-interview each Z-Wave device that I have added since switching from Classic Z-Wave. |
I am having this same issue, on a Raspberry Pi 4. If I revert to HAOS 6.3 Z-Wave starts working again. My Z-Wave stick is a HUSBZB-1. |
I reverted to HAOS 6.2 on my NUC and some Z-Wave devices work again. Only the devices I added since I earlier switched to Z-Wave JS are available. All of my devices added to my Aeotec Z-Stick Gen 5 under Classic Z-Wave (or openHAB) are unavailable and not in my device registry, however trying to include them again does not work, apparently because they are already in the stick. Even the devices that are available have to be manually re-interviewed after a reboot to be made available. |
I have noticed as well that many of my Z-Wave devices have disappeared after downgrading the OS. I am in the process of restoring a backup of home assistant, which I believe will bring all the devices back.... I don't know for sure yet if it will work, but it may be worth a shot if you have backups enabled. |
Sacofpotatoes: So now it looks like my only alternative is to reset my Z-Stick and include all my devices again under Z-Wave JS. Dare I also move HA OS from 6.2 back up to 6.4, which started this fiasco? Z-Wave has to be fundamental to most users' lighting, HVAC, and miscellaneous control so it's in the interest of the users and manufacturers of these devices to have good drivers. We should all be supporting the Z-Wave driver developers any way we can. |
I just tried to set that up in the Add-On/Integration configuration /dev/serial/by-id/usb-0658_0200-if00. My friend HAPSagan also tried to set this up and got this error code when trying "Driver: Error Resource temporarily unavailable Cannot lock port" |
After restoring an older version of HA I was still without the devices I was originally missing. So, like you, it seems I will now need to manually repair all my devices. However, I was able to upgrade to 6.4 and Z-Wave worked this time... No clue what caused the issue to begin with. |
Sacofpotatoes: New Development |
The original poster @Mpgod80 reports that this was caused by the rename of the tty device. I suggest using If anyone else can still reproduce issues caused by the OS upgrade, please open a new issue. |
Hi.
After OS upgrade from OS 6.2 to 6.4 Aeotec Z-Stick Gen5+ (ZW090) and Conbee stick stopped working.
I use an USB hub to connect them to my Odroid N2+ Home Assistant Blue Bundle Limited Edition.
From the integration "Z-wave JS" i get this error msg: "Retrying setup: Cannot connect to host a0d7b954-zwavejs2mqtt:3000 ssl:default [Connect call failed ('172.30.33.6', 3000)]"
If i go in to the Z-wave to JS settings i get this msg:
"Driver: Failed to initialize the driver: Timeout while waiting for an ACK from the controller"
Serial port is set to: /dev/ttyACM0
I have restored to an earlier backup that worked, and reverted back to OS version 6.2. Then the Conbee stick started working again, but not the Aeotec Z-Stick Gen5+ (ZW090) stick. I have also done factory reset to the Aeotec Z-Stick, and no luck.
What should i do to get this working again?
After you removed the OS 6.3 and then released the 6.4 version i thought that you had fixed this issue with the usb stick problem in 6.3. But the problem is obvious still there. A friend of mine with an equal setup as mine also ran in to this problem when you released 6.3.
Hardware Environment
Home Assistant OS release:
System Health
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Lovelace
Supervisor logs:
Journal logs:
Kernel logs:
Description of problem:
The text was updated successfully, but these errors were encountered: