Some Z Wave entities missing after upgrade to 46.1

For some reason upgrading to 0.46.1 completely screwed my zwave setup. Unfortunately I did not have a backup zwcfg.xml file, so I’ve been trying to rebuild from memory and naming nodes based on my my existing automations. In the middle of all this, my zwave stick (zstick G5) switched ports on me from ACM0 to ACM1, and has continued to do so anytime I use the “test network” service on the zwave panel. Not sure why that is as it’s the only USB device plugged into the PI, but it’s a different issue than what I am writing about.

Background - Hassbian running on an RPI3, with a Z-stick G5. I can’t remember when I rebuilt the Pi last, but I would assume it was somewhere around version 0.37 of HA.

After trying to recreate my zwcfg.xml, I have a few leviton and GE switches that show up on the “dev-state” page under “zwave.node name” with a ready status (so I know they are added and reporting to my controller), however the entities for those nodes have gone missing and nothing I do brings them back.

For example one device is “zwave.outdoor_outlet_14”. This is a GE outdoor outlet/switch that I use to turn on a low voltage transformer. The node info looks fine, and all the device type and manufacturer info is there. The entity ID used to be “switch.outdoor_outlet_switch_14” but now does not show up. I have about 5 or 6 entities like this that have disappeared. These are for the most part powered devices and aren’t asleep.

Throughout this whole process, about 5 devices remained working and node names never changed, and therefore their entities didn’t change. WHY???

This entire zwave setup is super frustrating to me!!! I’m to the point where I want to tear the switches out of the wall and put in something that just works (like all my caseta switches or hue bulbs). Unfortunately I have 29 zwave nodes and that wouldn’t be an easy or cheap task.

zwave documentation is lacking greatly or outdated.
I’d be happy to add to the project and update the documentation if I knew how this was supposed to work!

I understand your frustration and, unfortunately, I don’t have a solution for your main question. I’m also in 0.46.1 and my z-wave devices work properly (it is true that I only own 2 Fibaro cover devices).

What I found super useful was setting up the persistence of the Z-stick G5 in the /dev tree, which is something that you also ask (although it is not your main concern). I solved this - source - by including this line in the /etc/udev/rules.d/99-usb-serial.rules file in my Raspberry Pi with Hassbian:

SUBSYSTEM=="tty", ATTRS{idVendor}=="0658", ATTRS{idProduct}=="0200", SYMLINK+="zwave"

And this in my configuration.yaml

zwave:
  usb_path: /dev/zwave

No more ACM0, ACM1 changes.

I hope you find the reason why not all devices are showing up.

Thanks! I made that change, and it fixed my issue with the z stick.

FYI - It looks like some zwave & entity_id changes are coming for 0.47 and beyond so I may hold off for a bit and see how this plays out and/or start with a new install of Hassbian this weekend.

1 Like

I tried a new hassbian install with 0.47 and my entities are still not showing up. Can anyone offer any suggestions?

I ended up excluding the devices and re-adding them and the entities showed up. Problem fixed, but not sure why the disappeared in the first place.

Glad to hear that it’s fixed and thanks for coming back to say it

I just upgraded to 94.1 from 94 or so. My stick wouldnt be found. I redid the integration several times (since it wasnt being discovered). Finally worked but all of my names were back to defaults.
Since I’m just starting I only had 20 or so to change.
question: If I do this in /etc/udev/rules.d/99-usb-serial.rules, will I be starting all over again with a new integration? If so, will backing up the zwcfg_0xe26f22ba.xml file and restoring work?