operating-system icon indicating copy to clipboard operation
operating-system copied to clipboard

HA OS 13.0 breaks usb Aeotec Z-wave stick?

Open laageide opened this issue 1 year ago • 14 comments

Describe the issue you are experiencing

Aeotec Z-wave gen5+ stick dissapears from system after updating to HA OS 13.0. It is not detected as connected anymore. Downgrading to HA OS 12.4 solves the problem and z-stick is working as normal.

What operating system image do you use?

generic-x86-64 (Generic UEFI capable x86-64 systems)

What version of Home Assistant Operating System is installed?

13.0

Did the problem occur after upgrading the Operating System?

Yes

Hardware details

Using an dell laptop with deconz zigbee, aeotec z-stick gen5+ and skyconnect dongle connected.

Steps to reproduce the issue

  1. updated HA OS 12.4 to 13.0
  2. system restarted and failed to connect to z wave stick.

...

Anything in the Supervisor logs that might be useful for us?

Did not backup logs before reverting to version 12.4 
#sorry about that 🥴

Anything in the Host logs that might be useful for us?

Did not backup logs before reverting to version 12.4 
#sorry about that 🥴

System information

this is system information with version 12.4 installed

System Information

version core-2024.8.1
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.4
os_name Linux
os_version 6.6.33-haos
arch x86_64
timezone Europe/Oslo
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4826
Installed Version 1.34.0
Stage running
Available Repositories 1391
Downloaded Repositories 31
Home Assistant Supervisor
host_os Home Assistant OS 12.4
update_channel stable
supervisor_version supervisor-2024.08.0
agent_version 1.6.0
docker_version 26.1.4
disk_total 468.7 GB
disk_used 16.2 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization
board generic-x86-64
supervisor_api ok
version_api ok
installed_addons deCONZ (6.23.0), Studio Code Server (5.15.0), Z-Wave JS UI (3.10.0), Terminal & SSH (9.14.0), AdGuard Home (5.1.1), Mosquitto broker (6.4.1), Node-RED (18.0.5), Samba share (12.3.2), Silicon Labs Multiprotocol (2.4.5), Matter Server (6.4.1), AppDaemon (0.16.6), Music Assistant Server (2.1.4)
Dashboards
dashboards 4
resources 14
views 18
mode storage
Recorder
oldest_recorder_run August 6, 2024 at 20:40
current_recorder_run August 14, 2024 at 23:07
estimated_db_size 1094.44 MiB
database_engine sqlite
database_version 3.45.3

Additional information

No response

laageide avatar Aug 14 '24 21:08 laageide

I have the same problem using a Raspberry 4.

Question to "laageide" , how can I downgrade to HA OS 12.4?

phaase1 avatar Aug 15 '24 07:08 phaase1

I have the same problem using a Raspberry 4.

Question to "laageide" , how can I downgrade to HA OS 12.4?

In terminal you can downgrade with the following command "ha os update --version 12.4"

laageide avatar Aug 15 '24 07:08 laageide

The root cause of some USB issues was not resolved in Raspberry Pi kernel - however, those were supposedly present on RPi 3 only. Moreover, there was no change between 12.4 and 13.0 for Raspberry Pi that could change the behavior in either way. The Aeotec Z-wave stick has enumeration issues though (it's a hardware defect) and sometimes requires to be unplugged multiple times (or a reboot can also help), so I think this is the case as well. Hard to tell without any logs though.

sairon avatar Aug 15 '24 07:08 sairon

I did not try to physically disconnect/reconnect the z-wave stick since i did the update remotely. But I tried to reboot the entire system without any luck. Can give it another go when I'm back home and have access to the hardware.

laageide avatar Aug 15 '24 08:08 laageide

@laageide: Thank you very much!

@sairon: Re-booting and swapping USB slots didn't change anything.

Here are Core and Z-Wave logs I got.

a0d7b954_zwavejs2mqtt_2024-08-15T09-17-55.874Z.log

home-assistant_2024-08-15T09-16-53.841Z.log

phaase1 avatar Aug 15 '24 09:08 phaase1

@sairon: To build on what you said, just downgraded to 12.4 and had the same problem after reboot. Swapped again USB slot of Aeotec Z-wave gen5+ stick and now all is running fine again after reboot. So obviously the problem is the stick with the issues described above.

phaase1 avatar Aug 15 '24 10:08 phaase1

Host would be needed here. Ideally ha host logs -b0 -n1000 to get the everything since boot.

sairon avatar Aug 15 '24 10:08 sairon

I had the same problem,

Installed 12.4 and problem persisted. Turned out the Integration looking for the wrong USB port. Used the configure option and selected the right USB port. No problems now on 12.4. Will try the same on 13.0.

JoDoTmm avatar Aug 15 '24 10:08 JoDoTmm

For me all is OK now: after using the " Do you want to use the Z-Wave JS Supervisor add-on?" and selecting the USB stick no more problems even on 13.0

JoDoTmm avatar Aug 15 '24 10:08 JoDoTmm

An update from my side here : I just updated to HA OS 13.0 again and everything is working perfectly on my system. I did not do anything to Aeotec Z-stick or the Z-wave JS integration, it just worked.

laageide avatar Aug 15 '24 17:08 laageide

"Do you want to use the Z-Wave JS Supervisor add-on?"

When/where do you see this option?

socal0001 avatar Aug 15 '24 19:08 socal0001

"Do you want to use the Z-Wave JS Supervisor add-on?"

When/where do you see this option?

Settings->Devices & services Select Z-Wave, icecream menu (vertical dots and select (re)configure). You now get a floating frame with " Select connection method, do you want to use the z-wave JS Supervisor add-on? and a check box to select the option "use the z-wave JS supervisor add-on" , make sure the check box is selected and press submit. In the new floating frame select the correct USB device path (mine is : ttyACM0 - /dev/serial/by-id/usb-0658_0200-if00, s/n: n/a - 0658:0200).

Regards,

John.

JoDoTmm avatar Aug 15 '24 21:08 JoDoTmm

Since upgrade HAOS 13.0 I have unstable issue with USB. Zwave Aeotec and Zigbbe Sonoff E Dongle stops working cause to USB stack... 1 x 2 days

Loic691 avatar Aug 16 '24 16:08 Loic691

any news if this is fixed with 13.2 ? I'm stuck on 12.2 and afraid to update to anything more recent

RonaldRegister avatar Nov 11 '24 12:11 RonaldRegister

Im having similar issue with my dongle on intel machine. It doesn't work after reboot. I have to unplug the device and plug it again - then it works.

SebuZet avatar Nov 18 '24 15:11 SebuZet

For my instance, I have not experienced the problem anymore. I'm using the latest version and all is fine.

laageide avatar Nov 18 '24 18:11 laageide

There hasn't been any activity on this issue recently. To keep our backlog manageable we have to clean old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant OS version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Feb 17 '25 05:02 github-actions[bot]

Is this similar to #3362 ?

cjlee89 avatar Feb 17 '25 19:02 cjlee89

The issue still exists in current version.

SebuZet avatar Feb 18 '25 12:02 SebuZet

The Z-Wave stick is known to have issues as already stated in the documentation. The previous OS versions had patches that tried to address those, but those were now dropped in 15.0. There are some workarounds (e.g. using a power USB hub) but the stick is not a properly compliant USB device so it can't be addressed on the OS level. See also my comment here: https://github.com/home-assistant/operating-system/issues/3963#issuecomment-2746133403

sairon avatar Mar 28 '25 12:03 sairon

I have connected this stick and zigbee one trough USB hub and it helps.

SebuZet avatar Mar 29 '25 09:03 SebuZet

I have connected this stick and zigbee one trough USB hub and it helps.

Slightly off-topic, but I found connecting those sticks to a USB hub with a cable like a meter away from the RaspberryPi is useful for another reason: the radio connection is much more stable, especially with Z-Wave. I suspect less electromagnetic disturbance from the Pi itself.

LeSpocky avatar Mar 29 '25 10:03 LeSpocky