Easiest way to migrate Openzwave to ZWave-JS-UI

For Z-Wave related questions in Domoticz

Moderator: leecollings

User avatar
jvdz
Posts: 2476
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

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

Post 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.
jvmaanen
Posts: 16
Joined: Wednesday 01 March 2017 13:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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
User avatar
jvdz
Posts: 2476
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

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

Post by jvdz »

Is docker installed on your pi?
jvmaanen
Posts: 16
Joined: Wednesday 01 March 2017 13:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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
jvmaanen
Posts: 16
Joined: Wednesday 01 March 2017 13:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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.
User avatar
jvdz
Posts: 2476
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

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

Post by jvdz »

I am sure that a search in chatgpt or Google AI will explain why ! ;-)
User avatar
madpatrick
Posts: 885
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2026.1
Location: Netherlands
Contact:

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

Post 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 ;)
-= HP server GEN11 =- ZwaveJS-=- Domoticz v2026.2 -=- Dashticz =-
-= Checkout https://github.com/MadPatrick for the plugins =-
User avatar
waltervl
Posts: 7018
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2026.3
Location: NL
Contact:

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

Post 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
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
madpatrick
Posts: 885
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2026.1
Location: Netherlands
Contact:

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

Post by madpatrick »

Fair point. Missed that completly :roll:
-= HP server GEN11 =- ZwaveJS-=- Domoticz v2026.2 -=- Dashticz =-
-= Checkout https://github.com/MadPatrick for the plugins =-
Post Reply