Z-Wave Connection Troubleshooting and Tips

I’ve been diving into the world of Z-Wave integration with my Raspberry Pi setup, and I wanted to share some of my experiences and tips for anyone else tackling similar challenges.

One of the most frustrating issues I’ve encountered is maintaining a stable connection between my two Raspberry Pi units—one running ser2net with a Z-Wave stick and the other running socat and OpenHAB. While the connection generally holds up, it’s incredibly annoying when it drops, and I have to manually intervene to get everything back online. Restarting OpenHAB or the Z-Wave bundle doesn’t seem to help consistently, and I’m still in the dark about what exactly fixes the link when it does work.

I’ve noticed that the ser2net/socat link itself appears to be stable, as socat runs without issues. The config setup looks solid:

:raw:0:/dev/ttyACM0:115200 8DATABITS NONE 1STOPBIT

And the permissions seem correctly set:

lrwxrwxrwx 1 root root 10 Jun 7 13:47 /dev/ttyACM9 → /dev/pts/2
crwxrwxrwx 1 openhab dialout 136, 2 Jun 7 2018 /dev/pts/2

If anyone has insights into why the connection drops or how to make it more resilient, I’d be incredibly grateful!

On a lighter note, I’ve also been experimenting with Z-Wave inclusion security settings. It’s been a bit of a rollercoaster with devices like the Fibaro Dimmer 2 and Wall Plug. Initially, I was flustered when the security popup wouldn’t appear, forcing me to include devices at the S0 level. However, I discovered that if the device’s maximum supported security is S0, it bypasses the popup entirely.

For the Fibaro Wall Plug, I found a workaround: if the security box appears but times out, I can manually discover the device in the Z-Wave details page, and it correctly identifies itself as S0. It’s a bit of a hack, but it gets the job done!

If you’ve encountered similar quirks or have tips for smoother Z-Wave integration, I’d love to hear them. Let’s keep the knowledge flowing! :blush: