I’m just getting started with Home Assistant and Z-wave, and am a bit lost on how to start pairing my z-wave devices. This isn’t exactly HA related, but hoping some of you can help!
My server runs unraid (nas os), which I can run docker containers on, but not directly install software on. I have the official home assistant docker running, and my z-wave usb stick (Sigma UZB) is on /dev/ttyACM0
My plan was to pari everything in the Open Z-Wave CP, then bring it into HA. I’m assuming Open Z-Wave CP needs to be installed in its own docker container, so I shut down the HA docker, installed Open Z-Wave CP docker, and started it up with params --device /dev/ttyACM0.
The Web UI for OZWCP comes up fine… but everything is blank. I added “/dev/ttyACM0” to the device name input, and click Initialize, but just end up with errors. I have tried this with and without the USB checkbox checked, and have tried restarting a few different times.
See log:
2016-08-12 19:07:30.419 Always, OpenZwave Version 1.4.0 Starting Up
2016-08-12 19:08:55.863 Info, Setting Up Provided Network Key for Secure Communications
2016-08-12 19:08:55.863 Warning, Failed - Network Key Not Set
2016-08-12 19:08:55.863 Info, mgr, Added driver for controller /dev/ttyACM0
2016-08-12 19:08:55.863 Info, Opening controller /dev/ttyACM0
2016-08-12 19:08:55.863 Info, Trying to open serial port /dev/ttyACM0 (attempt 1)
2016-08-12 19:08:55.863 Error, ERROR: Cannot open serial port /dev/ttyACM0. Error code 13
2016-08-12 19:08:55.863 Error, ERROR: Failed to open serial port /dev/ttyACM0
I’ve been experimenting with this for a bit now, but am lost on what to try next or what I’m missing.
I can run the OZWCP… but can’t figure out how to automatically share the config files of OZWCP with my HA config. In HA, I can set the config path to any directory, and therefore can mount a volume with OZWCP config. However in OZWCP, the config gets saved in the same directory as the ozwcp executable, which I can’t mount from another volume because thats part of the docker container.
For now I manually am working around this by copying the saved config files in ozwcp to another directory (using docker exec)
Now, what controls the name of my z-wave devices? Do I need to set that in HA configuration.yaml or OZWCP. I have set the name in OZWCP, made sure it was included in the config files (zwcfg_*.xml) and included it in the config path for HA. However in HA I still get names like “Unknown: id=00c…”