Easiest way to migrate Openzwave to ZWave-JS-UI

For Z-Wave related questions in Domoticz

Moderator: leecollings

User avatar
madpatrick
Posts: 758
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.2
Location: Netherlands
Contact:

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

Post 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 156 times
And do i then need to click on "Store"?

Appreciate your help
-= HP server GEN11 =- ZwaveJS-=- Domoticz v2025.2 -=- Dashticz =-
-= Checkout https://github.com/MadPatrick for the plugins =-
User avatar
user4563
Posts: 114
Joined: Tuesday 19 October 2021 17:24
Target OS: Linux
Domoticz version: 2025.2
Contact:

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

Post by user4563 »

Just disable and store to save
ODroid H4+ / Ubuntu server 24.04 LTS
Aeotec Z-Stick Gen5+
ZWave-JS-UI / Mosquitto MQTT
Domoticz for Android
Domoticz Scenes add-on in Kodi
User avatar
madpatrick
Posts: 758
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.2
Location: Netherlands
Contact:

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

Post 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 ?
-= HP server GEN11 =- ZwaveJS-=- Domoticz v2025.2 -=- Dashticz =-
-= Checkout https://github.com/MadPatrick for the plugins =-
User avatar
jvdz
Posts: 2441
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 16:45 Where is it going wrong for me ?
Did you remove the old retained mqtt messages from mosquito?
User avatar
madpatrick
Posts: 758
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.2
Location: Netherlands
Contact:

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

Post 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 128 times
-= HP server GEN11 =- ZwaveJS-=- Domoticz v2025.2 -=- Dashticz =-
-= Checkout https://github.com/MadPatrick for the plugins =-
User avatar
jvdz
Posts: 2441
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: 2441
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: 2441
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: 758
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.2
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 v2025.2 -=- Dashticz =-
-= Checkout https://github.com/MadPatrick for the plugins =-
User avatar
waltervl
Posts: 6676
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
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: 758
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.2
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 v2025.2 -=- Dashticz =-
-= Checkout https://github.com/MadPatrick for the plugins =-
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest