Page 25 of 25

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Sunday 30 November 2025 16:21
by madpatrick
Hi,

I tried it but broke my Zwave.
Gladly i had a snapshot to restore to

Still struggling to disable the unescassery devices
But, must i check the items i want to disable and then click on "Disable Discovery"
2025-11-30 16_18_11-Greenshot.png
2025-11-30 16_18_11-Greenshot.png (29.57 KiB) Viewed 299 times
And do i then need to click on "Store"?

Appreciate your help

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Sunday 30 November 2025 18:25
by user4563
Just disable and store to save

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Sunday 07 December 2025 16:45
by madpatrick
I've set all config_switch and config_number of all devices to disabled and stored them
After restart all devices are still loaded in Domoticz

Where is it going wrong for me ?

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Sunday 07 December 2025 17:50
by jvdz
madpatrick wrote: Sunday 07 December 2025 16:45 Where is it going wrong for me ?
Did you remove the old retained mqtt messages from mosquito?

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Sunday 07 December 2025 17:51
by madpatrick
No.
Must i clear all retained messages ?
2025-12-07 17_51_07-MQTT Explorer.png
2025-12-07 17_51_07-MQTT Explorer.png (6.92 KiB) Viewed 271 times

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Sunday 07 December 2025 18:12
by jvdz
madpatrick wrote: Sunday 07 December 2025 17:51 Must i clear all retained messages ?
I'm surprised you ask this question. Try to understand how things work first so you can make that decision yourself! ;-)
zwave2mqtt sends a discovery message for each device at startup and when it gets a message that (in this case) HomeAssistant is up.
So when these messages are retained, they stay there forever until somebody removes them. So when you remove any devices in ZWAVE2MQTT for being advertised, you need to remove their discovery record from Mosquitto too when you defined to retain these messages.
Now it is up to you to see what information is contained in the homeassistant message tree and what can be deleted.
Deleting all for zwave2mqtt (subtree under homeassistant) should normally work, as it will send all messages again when domoticz or zwave2mqtt is started.

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Monday 08 December 2025 21:34
by jvmaanen
I installed a new OS on my raspberry PI and followed the steps from https://wiki.domoticz.com/Zwave-JS-UI.
When I run "sudo usermod -aG docker ${USER}" I get the reponse "usermod: group 'docker' does not exist"

The next command "sudo systemctl enable docker" returns "Failed to enable unit: Unit docker.service does not exist"

I'm still not able to move from openzwave to Zwave-JS-UI

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Monday 08 December 2025 21:41
by jvdz
Is docker installed on your pi?

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Monday 08 December 2025 21:50
by jvmaanen
I followed these steps:
curl -fsSL test.docker.com -o get-docker.sh && sh get-docker.sh
sudo usermod -aG docker ${USER}
sudo systemctl enable docker

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Monday 08 December 2025 21:58
by jvmaanen
The result from "curl -fsSL test.docker.com -o get-docker.sh && sh get-docker.sh" is:

# Executing docker install script, commit: 7d96bd3c5235ab2121bcb855dd7b3f3f37128ed4
+ sudo -E sh -c apt-get -qq update >/dev/null
E: The repository 'https://download.docker.com/linux/raspbian trixie Release' does not have a Release file.

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Monday 08 December 2025 22:18
by jvdz
I am sure that a search in chatgpt or Google AI will explain why ! ;-)

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Tuesday 09 December 2025 12:43
by madpatrick
jvdz wrote: Sunday 07 December 2025 18:12
madpatrick wrote: Sunday 07 December 2025 17:51 Must i clear all retained messages ?
I'm surprised you ask this question. Try to understand how things work first so you can make that decision yourself! ;-)
Maybe a bit more info on the Wiki. Nothing is mentioned about the MQTT explorer or some alike
Not all users a IT (like me) Some time it helps when it is in Jip & Janneke language ;)

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Tuesday 09 December 2025 16:26
by waltervl
madpatrick wrote: Tuesday 09 December 2025 12:43
jvdz wrote: Sunday 07 December 2025 18:12
madpatrick wrote: Sunday 07 December 2025 17:51 Must i clear all retained messages ?
I'm surprised you ask this question. Try to understand how things work first so you can make that decision yourself! ;-)
Maybe a bit more info on the Wiki. Nothing is mentioned about the MQTT explorer or some alike
Not all users a IT (like me) Some time it helps when it is in Jip & Janneke language ;)
https://wiki.domoticz.com/Zwave-JS-UI#Debug_MQTT
It ihas a reference to the general MQTT wiki debug section: https://wiki.domoticz.com/MQTT#Debugging_MQTT

And in the Zwave-JS-UI documentation it is also mentioned: https://zwave-js.github.io/zwave-js-ui/ ... leshooting

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Tuesday 09 December 2025 16:46
by madpatrick
Fair point. Missed that completly :roll: