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

HA OS 13.0 breaks usb Aeotec Z-wave stick? #3531

Open
laageide opened this issue Aug 14, 2024 · 14 comments
Open

HA OS 13.0 breaks usb Aeotec Z-wave stick? #3531

laageide opened this issue Aug 14, 2024 · 14 comments
Labels
board/raspberrypi Raspberry Pi Boards bug

Comments

@laageide
Copy link

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 laageide added the bug label Aug 14, 2024
@phaase1
Copy link

phaase1 commented Aug 15, 2024

I have the same problem using a Raspberry 4.

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

@laageide
Copy link
Author

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"

@sairon sairon added the board/raspberrypi Raspberry Pi Boards label Aug 15, 2024
@sairon
Copy link
Member

sairon commented Aug 15, 2024

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.

@laageide
Copy link
Author

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.

@phaase1
Copy link

phaase1 commented Aug 15, 2024

@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
Copy link

phaase1 commented Aug 15, 2024

@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.

@sairon
Copy link
Member

sairon commented Aug 15, 2024

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

@JoDoTmm
Copy link

JoDoTmm commented Aug 15, 2024

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.

@phaase1
Copy link

phaase1 commented Aug 15, 2024

@JoDoTmm
Copy link

JoDoTmm commented Aug 15, 2024

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

@laageide
Copy link
Author

laageide commented Aug 15, 2024

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.

@johnthomas00
Copy link

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

When/where do you see this option?

@JoDoTmm
Copy link

JoDoTmm commented Aug 15, 2024

"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.

@Loic691
Copy link

Loic691 commented Aug 16, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
board/raspberrypi Raspberry Pi Boards bug
Projects
None yet
Development

No branches or pull requests

6 participants