Hello All,
I have been using zwave-js-ui for around 2 years now using MQTT - initially I had added all my items manually as the new zwavejs binding did not exist.
Now, I decided to take the plunge and migrate everything to the new binding using WS Server (it worked great btw.. so much easier to setup than the old manual method).
I basically followed the instructions here
All my zwave devices were auto discovered via the z-wave JS binding (and appeared in the inbox). I added them one by one and then switched my existing items to the new channels.
Then I deleted the old channel, and thing.
This worked perfectly, all my persistence has continued seamlessly, and I have no issues (Ok I am exaggerating a little, there were some glitches, but nothing serious).
I now have ~50 things all using the new zwavejs bridge and 0 using the old mqtt binding.
So, my next thought was “well I don’t need MQTT for any of my zwave devices”, I can just disable it in zwave-js-ui under settings.
However, as soon as I do that, all my things go offline.
Looking at my mqtt traffic using mqtt explorer, I can still see zwave packets for 2 devices (even though I checked, these devices look like the are using the new bridge)
I tried restarting OH, Mosquitto & zwave-js-ui, no change.
This really seems like I have some kind of ghost items in OH that refuse to forget the MQTT connection.
For info, I am running:
OH v5.03 on RPI 5 under a docker container.
Bindings: Z-Wave JS - 5.0.3, MQTT 5.0.3
Mosquitto v2.0.21 on the same RPI 5 different docker container
Zwave-js-ui v2.34 on a RPI3 under a docker container
Anyone have any ideas? apart from a clean install?
Thanks in advance