How to change ZWave usb_path setting

Hello! I’m brand new to HA, so apologies for asking what is probably a stupid question.

Anyway, I’m attempting to set up the Zooz S2 Stick on Hass.io on a Pi 3B+. When I first plugged in the device, the only tty device I saw was /dev/ttyAMA0, so I used this when setting up the ZWave integration.

Looking at the logs, I saw that ZWave was failing to communicate properly with the controller, leading me to suspect that device wasn’t correct. I then tried plugging/unplugging the stick multiple times, but didn’t see any new tty devices. Finally, I did a reboot, and I’m now seeing /dev/ttyACM0.

Anyway, I think my question is pretty simple. How do I change the usb_path that I specified when first setting up the ZWave integration?

More generally, where are those settings made via integrations persisted in HA? I somewhat expected to see them reflected in the configuration.yaml hierarchy, but that doesn’t appear to be the case.

Thanks!

Since you added Z-Wave via the integration, and you haven’t gotten very far, you can just delete it and add it again, with the correct path. I don’t believe any Integration settings are editable yet, at least the Z-Wave one isn’t. Using integrations is the alternative to using configuration.yaml. HA will not modify your file.

The other choice is to edit the configuration.yaml file and add a zwave section with the path. That will override the value in the integration. You can do both, delete the integration and use configuration.yaml, it’s up to you.

BTW, you should have a device path similar to or the same as /dev/serial/by-id/usb-0658_0200-if00. Use that instead of /dev/ttyACM0 and save yourself from possible headaches in the future.

1 Like

Outstand @freshcoast! Thanks!

I figured the “delete and start over” approach was an option, but I was wondering if there was a more general way. It sounds like there isn’t (yet).

It’s probably my ignorance, but manual configuration seems a lot more straightforward than the integrations.

Thanks again!

It’s probably my ignorance, but manual configuration seems a lot more straightforward than the integrations.

It’s just personal preference really. I like maintaining my configuration in the UI. Luckily we have the choice in most cases! Not all integrations offer both options, it’s up to the developer of said integration.

1 Like