
Easiest way to migrate Openzwave to ZWave-JS-UI
Moderator: leecollings
- Egregius
- Posts: 2589
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: Easiest way to migrate Openzwave to ZWave-JS-UI
Thanks!
And also for MQTT and Gateway?
And also for MQTT and Gateway?
- waltervl
- Posts: 5714
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Easiest way to migrate Openzwave to ZWave-JS-UI
I have already updated the Wiki with help of your comments.
https://www.domoticz.com/wiki/Zwave-JS- ... n_Domoticz
https://www.domoticz.com/wiki/Zwave-JS- ... n_Domoticz
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 218
- Joined: Friday 04 November 2016 12:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: France
- Contact:
Re: Easiest way to migrate Openzwave to ZWave-JS-UI
Excellent. No more possible confusion now.waltervl wrote: ↑Friday 23 December 2022 9:45 I have already updated the Wiki with help of your comments.
https://www.domoticz.com/wiki/Zwave-JS- ... n_Domoticz
And this is valid also for zigbee2mqtt.
- Egregius
- Posts: 2589
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: Easiest way to migrate Openzwave to ZWave-JS-UI
Thanks!
What's the reason to have a different prefix in MQTT and Homeassistant?
What's the reason to have a different prefix in MQTT and Homeassistant?
-
- Posts: 218
- Joined: Friday 04 November 2016 12:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: France
- Contact:
Re: Easiest way to migrate Openzwave to ZWave-JS-UI
Prefix in HA is used for config messages and MQTT prefix used for update messages. This allows to have 2 different topics, improving readability in MQTT explorer and also to avoid possible MQTT loop.
-
- Posts: 218
- Joined: Friday 04 November 2016 12:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: France
- Contact:
Re: Easiest way to migrate Openzwave to ZWave-JS-UI
And after a successfull integration, NEVER CHANGE the prefixes !
- Egregius
- Posts: 2589
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: Easiest way to migrate Openzwave to ZWave-JS-UI
OK, and which one is set in domoticz then? The MQTT one or the HA one?
-
- Posts: 497
- Joined: Friday 22 May 2015 12:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11083
- Location: Asten NB Nederland
- Contact:
Re: Easiest way to migrate Openzwave to ZWave-JS-UI
HI all,
I also have struggeld a lot with switching to ZWave-JS-UI.
But now all is working verry well and better then in OZW.
I have made a tutorial to complete install.
For the moment it is only in Dutch and maybe not complete.
Coming time I will translate and update.
you can download it from :
https://mega.nz/file/3JxQ3Y7R#LIFf5wcVo ... KTAX1e5dFA
good luck!
Jan
I also have struggeld a lot with switching to ZWave-JS-UI.
But now all is working verry well and better then in OZW.
I have made a tutorial to complete install.
For the moment it is only in Dutch and maybe not complete.
Coming time I will translate and update.
you can download it from :
https://mega.nz/file/3JxQ3Y7R#LIFf5wcVo ... KTAX1e5dFA
good luck!
Jan
Your mind is like a parachute,
It only works when it is opened!
RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
It only works when it is opened!
RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
- madpatrick
- Posts: 659
- Joined: Monday 26 December 2016 12:17
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: Easiest way to migrate Openzwave to ZWave-JS-UI
Good Job !!
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.14b on Tab8" =-
-
- Posts: 19
- Joined: Monday 19 November 2018 23:07
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Easiest way to migrate Openzwave to ZWave-JS-UI
Thanks Jan, for putting this together!
- gizmocuz
- Posts: 2471
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Easiest way to migrate Openzwave to ZWave-JS-UI
Instead of directly installing these applications/servers on your machine, why not use docker-compose?
I recommend this much more above a direct install
You will have all configuration/data files in each docker-compose folder, and it is very easy to backup/migrate/test/update
Everything is also available in docker-compose
It also does not take any additional system resources
I recommend this much more above a direct install
You will have all configuration/data files in each docker-compose folder, and it is very easy to backup/migrate/test/update
Everything is also available in docker-compose
It also does not take any additional system resources
Quality outlives Quantity!
-
- Posts: 497
- Joined: Friday 22 May 2015 12:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11083
- Location: Asten NB Nederland
- Contact:
Re: Easiest way to migrate Openzwave to ZWave-JS-UI
The englisch version of the manual can now be found on:
https://mega.nz/file/jQInXCJI#j-uMcnlrX ... YzUippScHs
Enjoy!
Jan
https://mega.nz/file/jQInXCJI#j-uMcnlrX ... YzUippScHs
Enjoy!
Jan
Your mind is like a parachute,
It only works when it is opened!
RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
It only works when it is opened!
RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
- madpatrick
- Posts: 659
- Joined: Monday 26 December 2016 12:17
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: Easiest way to migrate Openzwave to ZWave-JS-UI
@gizmocuz
Is it possible to have a notice up front when OZW will be disabled from Domoticz?
This gives me time to build a latest release from source and to switch to ZWave-JS-UI
Thanks !
Keep up the good work
Is it possible to have a notice up front when OZW will be disabled from Domoticz?
This gives me time to build a latest release from source and to switch to ZWave-JS-UI
Thanks !
Keep up the good work
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.14b on Tab8" =-
-
- Posts: 237
- Joined: Wednesday 17 October 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Easiest way to migrate Openzwave to ZWave-JS-UI
Hmm... I restarted domoticz several times, but that i didn't notice.mgugu wrote: ↑Friday 23 December 2022 8:59 From my experience, contrary to what is suggested in wiki configuration screenshot, retain flag MUST be set to ON.
This allows the broker to keep in memory the config messages which are necessary each time domoticz is restarted.
If you need to remove definitely devices from domoticz (for example in case you remove a zwave node), you have to remove the corresponding config messages, simply by publishing "" at the config message topic (with MQTT explorer for example).
What behaviour did you see that makes you think this? Can check again.
-
- Posts: 218
- Joined: Friday 04 November 2016 12:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: France
- Contact:
Re: Easiest way to migrate Openzwave to ZWave-JS-UI
Domoticz does not store mqtt config messages, so if these messages are not retained neither by the broker, after a restart yo will still see the devices in domoticz but they are not responding. You then need to make a manual refresh in the mqtt gateway to make them working again.
- elzorrovega
- Posts: 63
- Joined: Friday 08 May 2020 19:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.7
- Location: Bordeaux, France
- Contact:
Re: Easiest way to migrate Openzwave to ZWave-JS-UI
Hello All,
I take this opportunity to wish you All Happy New Year!
We hesitate to sail unto uncharted waters but then again sometimes we have no choice. After closely following your discussions, I understood that Open Z-Wave development is stopped and the only option is to use Zwave-JS-UI in the very near future.
To this effect Domoticz needs to use MQTT gateways, MQTT Broker like Mosquitto and an application such as Zwave-JS-UI to communicate to field devices. Web pages below have been very helpful - Thanks a lot JuanUil - to allow me to almost succeed this exercise but I still have some snags!
https://www.domoticz.com/wiki/MQTT - MQTT Broker Mosquitto
https://www.domoticz.com/wiki/Zwave-JS-UI
https://mega.nz/file/jQInXCJI#j-uMcnlrX ... YzUippScHs
DOMOTICZ CONFIGURATION
MIGRATION STATUS
Mosquitto Broker is installed and configured as recommended for Raspbian environment
https://randomnerdtutorials.com/how-to- ... pberry-pi/
Docker is installed and running. Below is the ps ouput
I am new to Docker but to my understanding, one runs an image of an application in localised environment (locally/cloud).
According to https://zwave-js.github.io/zwave-js-ui/ ... tallation
There are three way to install Zwave-JS-UI image
1- Run using volumes
2- Run using local folder
3- Run as a service
I understood, that in all cases we are to download an Zwave-JS-UI image. I chose the second option and data is placed in store directory. I was able to access the Zwave-JS-UI image after running the following in LCI
Terminal shows activity and web interface allows configuration. However, after restarting the Raspberry Pi, the Zwave-JS-UI is not accessible.
Running docker command again brings back the web interface.
QUESTIONS
JuanUil in his walk-through points to dev/serial/by-id/usb-0658_0200-if00:/dev/zwave' .
I used /dev/serial/by-id/usb-0658_0200-if00.
Is :/dev/zwave a must to communication via Z-Wave node?
Docker documentation recommends to add parameter --restart unless-stopped to docker command line and prefers not to use process managers like upstart, systemd or supervisor.
What is the best way to Start Docker Containers Automatically After a Reboot?
Thanks in advance for your help.
El Zorro.
I take this opportunity to wish you All Happy New Year!
We hesitate to sail unto uncharted waters but then again sometimes we have no choice. After closely following your discussions, I understood that Open Z-Wave development is stopped and the only option is to use Zwave-JS-UI in the very near future.
To this effect Domoticz needs to use MQTT gateways, MQTT Broker like Mosquitto and an application such as Zwave-JS-UI to communicate to field devices. Web pages below have been very helpful - Thanks a lot JuanUil - to allow me to almost succeed this exercise but I still have some snags!
https://www.domoticz.com/wiki/MQTT - MQTT Broker Mosquitto
https://www.domoticz.com/wiki/Zwave-JS-UI
https://mega.nz/file/jQInXCJI#j-uMcnlrX ... YzUippScHs
DOMOTICZ CONFIGURATION
Code: Select all
Domoticz version 2022.1 release runs in the following environment
Update Raspberry Pi 3 Model B+
Hardware : BCM2835
Revision : a020d3
Serial : 00000000cc7e2232
Model : Raspberry Pi 3 Model B Plus Rev 1.3
Linux raspberrypi 5.15.76-v8+ #1597 SMP PREEMPT Fri Nov 4 12:16:41 GMT 2022 aarch64 GNU/Linux - Bullseye -64 bit OS
Z-Wave Node
idVendor 0x0658 Sigma Designs, Inc.
idProduct 0x0200 Aeotec Z-Stick Gen5 (ZW090) - UZB
Mosquitto Broker is installed and configured as recommended for Raspbian environment
https://randomnerdtutorials.com/how-to- ... pberry-pi/
Docker is installed and running. Below is the ps ouput
Code: Select all
pi@raspberrypi:~ $ pstruc.sh | grep erd
root 668 0.1 5.5 1354332 50072 ? Ssl 17:19 0:04 /usr/bin/dockerd
root 521 0.0 3.4 1335144 31576 ? Ssl 17:19 0:02 /usr/bin/containerd
According to https://zwave-js.github.io/zwave-js-ui/ ... tallation
There are three way to install Zwave-JS-UI image
1- Run using volumes
2- Run using local folder
3- Run as a service
I understood, that in all cases we are to download an Zwave-JS-UI image. I chose the second option and data is placed in store directory. I was able to access the Zwave-JS-UI image after running the following in LCI
Code: Select all
sudo docker run --rm -it -p 8091:8091 -p 3000:3000 -e TZ=Europe/Paris --device=/dev/serial/by-id/usb-0658_0200-if00 \
-v $(pwd)/store:/usr/src/app/store zwavejs/zwave-js-ui:latest
Running docker command again brings back the web interface.
QUESTIONS
JuanUil in his walk-through points to dev/serial/by-id/usb-0658_0200-if00:/dev/zwave' .
I used /dev/serial/by-id/usb-0658_0200-if00.
Is :/dev/zwave a must to communication via Z-Wave node?
Docker documentation recommends to add parameter --restart unless-stopped to docker command line and prefers not to use process managers like upstart, systemd or supervisor.
What is the best way to Start Docker Containers Automatically After a Reboot?
Thanks in advance for your help.
El Zorro.

The solution to the problem changes the problem!
Rasberry Pi 4 Model B; Bullseye -64 bit OS 6.1.21-v8+ #1642
Domoticz Version: 2024.7
zwave-js-ui: 9.30.1.46a9eda
zwave-js: 14.3.8
home id: 3714679688
home hex: 0xdd698388*
Rasberry Pi 4 Model B; Bullseye -64 bit OS 6.1.21-v8+ #1642
Domoticz Version: 2024.7
zwave-js-ui: 9.30.1.46a9eda
zwave-js: 14.3.8
home id: 3714679688
home hex: 0xdd698388*
- sincze
- Posts: 1300
- Joined: Monday 02 June 2014 22:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.4
- Location: Netherlands / Breda Area
- Contact:
Re: Easiest way to migrate Openzwave to ZWave-JS-UI
Did a first trial run.
Before I started (on a Pi):
Additionally
The nodes were created
in Domoticz, still only based on their NodeID but that seems logical as the names did not come through from OZW.
Before I started (on a Pi):
- With udev I always fix the tty devices to a name. As this will enable me to use /dev/ttyUSB-ZStick-5G as a device https://www.domoticz.com/wiki/PersistentUSBDevices
- Spoiler: show
- Created an overview of all my Domoticz ZWAVE nodeID's in excel so I would be able to identify them later.
- Followed the wiki
(thanks!)
- Disabled the ZWAVE Stick in Domoticz (Production)
- Started the Z-Wave JS UI Docker
- Added Network Security Keys [Settings -> Z-Wave -> Security Keys (S0 Legacy, S2 Unauthenticated, S2 Authenticated, and S2 Access Control))
- After that Control Panel started building up the Network Inventory.
- Unfortunately the Device Names and Locations that I defined in OZW were not transferred into Z-Wave JS.
- Manufacturer name of some Fibaro Power Switching Nodes were and others were not detected (Fibargroup vs Unknown manufacturer 0xXXXX).
Additionally
- Installed a Domoticz (TEST) docker
- Added the Autodiscovery Hardware
- Enabled MQTT Dicovery in Z-Wave JS UI. + Retained Discovery
The nodes were created

Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
Who is online
Users browsing this forum: No registered users and 1 guest