You are using ACM0, not AMA0.
Please post the actual text from your configuration.yaml. What you have posted doesnāt include the usb_path key.
LOL, oops, thanks for the catch
configuration.yaml:
Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
zwave:
usb_path: /dev/serial/by-id/usb-0658_0200-if00
As long as the stick you got is the āPlusā version, you wonāt need the USB hub, so donāt worry about that one. The Plus version of the stick runs on 3v so you donāt need to worry about the fluctuations.
If you havenāt solved this by the time Iām home from work, Iāll grab my notes from when I was setting mine up to walk you through. It took a few tries for me to get the right /dev entry at first IIRC
So Iāve got my Z-Stick Gen5 Plus connected to the top USB2 port on my Pi 4.
Interestingly, when I tried to set up the Z-Wave integration using the UI, it consistently rejected /dev/ttyACM0
as well as the /dev/serialā¦
option, but itās working in my configuration.yaml
Ok, so first just want to check whether your zwave:
entry is indented like:
zwave:
usb_path: /dev/ttyACM0
Or is it flat like:
zwave:
usb_path: /dev/ttyACM0
If yours is like the second option, add two spaces to the front of usb_path:
Itās the second option. Iāll add the indentation. Is /dev/ttyAMA0 ok or do I use the path /dev/serial/by-id/usb-0658_0200-if00? And do #I need to reboot the Pi ?
Both are ok, just two different ways to the same place
You will need to reboot the Pi for the change to take effect.
Youāll also want to add a network key to the configuration, so you can add the smart lock securely
At the moment Iām operating the laptop controlling Home Assistant remotely, so I can tweak HA but Iām not physically present to reboot the Pi. Is there an option in HA somewhere to restart it?
Yeah you can, head here:
There is also a āCheck Configurationā button in there, which essentially can tell if your configuration files are going to cause any problems trying to start up (definitely saved me a couple times)
Ok thanks FJ. Iāve restarted it and gone into the integration. Clicked Start Network and itās saying āStarting Z-Wave networkā. I guess I wait and see if it works.
Any luck so far?
Still saying āStarting Z-Wave networkā
Hmmmā¦ no matter what I try, I canāt get mine stuckā¦
Can you paste the contents of your āOZW_log.txtā file? Itās in the same folder as the configuration.yaml file
Use the ācodeā tags in here to make it more readable(ish)
Ok, it seemed stuck again. So I changed the usb path back to /dev/serial/by-id/usb-0658_0200-if00 with indentations this time. Removed the Z-Wave integration. Restarted HA from scratch. And we have success! Iām seeing āZ-Wave network started All nodes have been queried.ā So in the next few hours Iāll go round and physically try and get the lock to talk to the network. Many thanks FJ.
Oh awesome!
Donāt forget to add the network key to your configuration. Security devices require it for āSecure Inclusionā so that all communication between the lock and the Z-Wave controller are encrypted.
Thanks, yes I added a random network key when I changed the configuration.yaml file. And it didnāt complain about it so presumably it worked.
Thatās basically as good as it gets with computers
If you open the OZW_log.txt file in your configuration folder, it should say at the top, like 3rd or 4th line that it accepted the key or started with the key, if you want explicit confirmation
OK I think Iāve got my lock talking to HA, but I donāt see how I can unlock it or add a code using HA. It appears as āUnknown Node 3(Node:3 Complete)ā. It has an entity called ālock.unknown_node_3_lockedā.
But where should the commands appear to change the lock? I tried deleting it and re-pairing it but the delete node command doesnāt seem to do anything.
It sounds like the lock didnāt finish its interview by that point, given that it is being listed as āunknown node 3ā.
Has it started working properly over the day today or is it still the same?
If itās still the same, try selecting the node in the Z-Wave control panel (where the start and stop network buttons are) and pressing the ārefresh nodeā button, and then unlock the lock to wake it up and have it complete itās interview. Might take a minute or two, but I think you get some feedback appearing in the UI (all my nodes are mains powered so I never had to manually get them interviewing).
Also, what is the model of the lock and the module you plugged into the lock, out of interest?