They had to do that though. It was updated in 0.31 to prevent a very nasty bug; if you had multiples of the same model Z-Wave device there was a good chance that both would try to use the same entity IDs which would be a bad thing.
To fix the issue the internal Z-Wave index is now appended to the end of all Z-Wave entity IDs going forward.
I’m not sure if I am doing this right? but I update all my zwave devices in ozwcp using names like Bathroom, kitchen, kitchen switch etc and then copy the zwcfgxxxxx.xml file into homeassistant folder and now I get
binary_sensor.bathroom_sensor_2_0
binary_sensor.kitchen_sensor_3_0
switch.kitchen_switch_switch_4_0
this is ok to do isn’t it? Just so I can get real names on the devices so I know at a glance which is which.
I do the same as @MarkR, as in: naming the devices through OZWCP so it makes sense what they are in Home Assistant. Sure, the node id’s and indexes are still a pain, but I understand they’re a necessary evil.
The only difference in my case is that I deleted the zwcfg_xxxxxxxxxx.xml file in my .homeassistant directory, and recreated it as a softlink pointing to the original zwcfg_xxxxxxxxxx.xml in the OZWCP directory. I didn’t come up with this myself, but saw other users report about this as a way to make sure that Home Assistant is using an up-to-date configuration. It saves me the trouble of having to copy the file over every time I make a change.
I executes the find command only file that came back was in the .homeassistant directory.
When I’m in Open Zwave control panel change the names and location, then click save but where does this actually save to? It doesn’t change in my home assistant directory. Any thoughts?
I’m stumped. You could carefully edit the xml file in home-assistant’s directory using a text editor. If you havn’t done much of this, I would make a backup of the file first.
I am seeing a similar behavior.
I am using an Aeotec ZW090 Z-Stick Gen5 stick and the Fibaro FGBS001 Universal Binary Sensor on Hassbian 0.40.0. There is just one zwcfg_ID.xml in /home/homeassistant/.homeassistant and a symbolic link in /srv/hass/src/open-zwave-control-panel points to that file. The xml only shows on instance of FGBS001 Universal Binary Sensor :
Try to get in the habit of using all the correct parts of the find command… it will save a lot of time some day.
find / -name “zwcfg*.xml” -print
When using wildcards like * and ? , if you dont doublequote it, you may hit shell expansion, and get interesting results. Also, without the -print, it may find the file and not tell you, unless you are checking the return code of the find command…
How to install OZWCP now that 0.45.1 of HA is out and it builds Open Zwave upon install (so we no longer install Open Zwave libs separately). What is a new procedure for installing OZWCP?
I don’t think OZWCP comes pre-installed with new release 0.45.
With the new Z-Wave control panel built in to HA can do much of what you can do with OZWCP, including renaming devices. It’s worth checking that out to see if it covers all you’re looking for.
Just don’t forget to make backups of the zwave xml file. if it breaks, you have to rename them all again. Happened twice to me already, but maybe i was asking to much of it