What options.xml file? Synology Docker

I’ve just installed HASS on my Synology using Docker and have successfully added the Aeotec Zstick gen5 dongle. I’ve added nodes to my setup, but I have not yet been able to add a network key.

I simply can’t find an openzwave folder anywhere on my syste,. I don’t know enough to reason it out.

  • Do I have to install an openzwave container? Doesn’t adding nodes through the hass interface prove it actually works? Does it have to run in order for it to work?
  • Where should I put the options.xml file? How does hass know where to find it?
  • I have a zwcfg_0* file in my hass config folder. Does that tell me anything?

Sorry for the newb questions. I’m learning as I go here.

I’m not sure if it’s the same for your setup but on my raspberry pi the open zwave options.xml can be found in ~/srv/homeassistant/src/open-zwave-control-panel/config you will then need to copy the options.xml file into your HA config folder. Then if you’re using secure nodes you’ll need to uncomment the networkKey section then re-add your nodes. The options file network key is only really needed if you’re using secure connections.

Inside the docker container, the options.xml file is located under: /usr/src/app/build/python-openzwave/openzwave/config/options.xml.

You’d need to copy that file to a writable location, preferably your HA config directory, and map it into the container, e.g.:

# docker run 
... 
-v /home/hass/.homeassistant/options.xml:/usr/src/app/build/python-openzwave/openzwave/config/options.xml 
... 
homeassistant/home-assistant

Not sure how Docker on a Synology device works, but that’s basically it.

Sebastian

Heads up that in 0.47 (the next release) will allow you to specify a z-wave network key directly in Home Assistants configuration.yaml

According to the release notes it’s already in 0.46. Couldn’t find it referenced in the docs, though.

Sebastian