Easiest way to migrate Openzwave to ZWave-JS-UI

For Z-Wave related questions in Domoticz

Moderator: leecollings

User avatar
user4563
Posts: 110
Joined: Tuesday 19 October 2021 17:24
Target OS: Linux
Domoticz version: 2025.1
Contact:

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

Post by user4563 »

Have you tried going into Edit and adding those "levels" (0, 1, 11, 15, 31, etc.) manually?
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
waltervl
Posts: 5777
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

Post by waltervl »

As "cool" is not in the zwave-JS-Ui list it looks like there could be another device linked to it. If you look at the device list in Domoticz menu Setup - devices are there more Thermostat Mode devices?
Is there in zwave-JS-Ui another Thermostat device that has the option "cool"?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Maciek90
Posts: 22
Joined: Friday 05 March 2021 23:01
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

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

Post by Maciek90 »

Have you tried going into Edit and adding those "levels" (0, 1, 11, 15, 31, etc.) manually?
Today I tried and after a while the added level in domoticz disappears.
As "cool" is not in the zwave-JS-Ui list it looks like there could be another device linked to it. If you look at the device list in Domoticz menu Setup - devices are there more Thermostat Mode devices?
Is there in zwave-JS-Ui another Thermostat device that has the option "cool"?
I have 14 z wave devices at home (12 valves, controller and range extender). The situation is the same on each valve. As I wrote earlier, setting in the ZWave UI "off" switches the selector to off in domoticz. If I switch to "heat" in the UI, in domoticz it also switches to "heat". However, if I switch to "Energy heat" in the UI, in domoticz it sets to "cool". Setting the other two options in the UI does not change the state in Domoticz. I would like the other two options, especially "Full power", to also be available in Domoticz
User avatar
waltervl
Posts: 5777
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

Post by waltervl »

I would try the latest Domoticz beta version if you are not already on that version and see if the missing levels pop up.

If not I would advise you to create a GitHub issue with all the required data as explained in the reporting MQTT AD wiki https://wiki.domoticz.com/MQTT_AD_Report_Problems
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
gizmocuz
Posts: 2492
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

Post by gizmocuz »

Always try with the latest Domoticz beta version first. A lot has been changed over time.
If that still does not work, please create an issue on Github and follow this guide to report the config topic+payload

https://wiki.domoticz.com/MQTT_AD_Report_Problems
Quality outlives Quantity!
Maciek90
Posts: 22
Joined: Friday 05 March 2021 23:01
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

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

Post by Maciek90 »

Always try with the latest Domoticz beta version first. A lot has been changed over time.
It didn't help
If that still does not work, please create an issue on Github and follow this guide to report the config topic+payload
I will try
tomekolo
Posts: 2
Joined: Sunday 13 April 2025 15:08
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by tomekolo »

Just want to express my opinion. Abandoning support for OZW (not matter if it is maintained or not) is PITA for so many of us.

I've rejected to update my instance of Domoticz for years now just to not be forced to go through this whole struggle of migrating to z-wave JS. I have multiple devices, all working like a charm.

Now since Tado changed their API I am forced to update Domoticz to the latest Beta which I know will f*** up my Z-Wave configuration.

And the tutorial does not even mention the sequence - shall I first update Domoticz and then install z-wave JS or to first configure this extra SW and then perform Domoticz update.

Aaaargh... :cry:

I may as well migrate to HA if I am about to spend hours to get the stuff working again...
User avatar
jvdz
Posts: 2269
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 »

tomekolo wrote: Sunday 13 April 2025 15:13 Just want to express my opinion. Abandoning support for OZW (not matter if it is maintained or not) is PITA for so many of us.
Let's see how this pans out: An post with a good opinion or simply a "I need to vent" post.
tomekolo wrote: Sunday 13 April 2025 15:13 I've rejected to update my instance of Domoticz for years now just to not be forced to go through this whole struggle of migrating to z-wave JS. I have multiple devices, all working like a charm.

Now since Tado changed their API I am forced to update Domoticz to the latest Beta which I know will f*** up my Z-Wave configuration.
Are you sure that OpenZwave isn't supported any more, or is this an assumption? I am currently running 2024.7 with OpenZwave support just fine. OpenZwave was put back in since so many are still using it. I haven't tested the latest Beta in my production environment, but loaded the latest Beta in a test Docker environment and see that Hardware OpenZwave is still there:
Schermafbeelding 2025-04-13 155703.png
Schermafbeelding 2025-04-13 155703.png (166.44 KiB) Viewed 849 times
tomekolo wrote: Sunday 13 April 2025 15:13 And the tutorial does not even mention the sequence - shall I first update Domoticz and then install z-wave JS or to first configure this extra SW and then perform Domoticz update.
Aaaargh... :cry:
So what about you stop crying, and just start the conversion and while you are at it fix the Wiki? ... or are you here only to moan and be spoon-fed?
I would start with getting ZwaveJS working first, as that allows you to stay with your current Domoticz installation while you get it up and running. You will have to disable the OpenZwave hardware while running the new ZWaveJS setup as only one software can use the Serial port for the ZWAVE usb dongle.
tomekolo wrote: Sunday 13 April 2025 15:13 I may as well migrate to HA if I am about to spend hours to get the stuff working again...
These type of remarks aren't going to motivate anybody willing to help you out.

Conclusion: Great first "Contribution to this forum!", but I have tried between all the smart remarks I've made to also give you some real info you can check. ;-)
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
tomekolo
Posts: 2
Joined: Sunday 13 April 2025 15:08
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by tomekolo »

Bruh, if the Wiki says
Domoticz version Stable 2024.2 is the last version with OpenZwave (OZW) integration.
then i'm not even trying to mess up my perfectly running system. Great that @gizmocuz generously changed his mind in the meantime.

Great to see you running stuff in Docker and having the capability to check things right away. I instead am just a regular guy, having Domoticz running directly on RPi and Raspbian for years now. Stopped updating Domoticz after one update in 2020 completely messed up my whole flat automation. Since then I am all for if it ain't broke, don't fix it.

I already did one thesis on Domoticz years ago. Not gonna spend time for another just to get my thermostat running again.

Yes, this is purely rant from my side. I've created an account just for that despite using Domoticz since 2015.
User avatar
jvdz
Posts: 2269
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 »

tomekolo wrote: Sunday 13 April 2025 16:30 Bruh, if the Wiki says
Domoticz version Stable 2024.2 is the last version with OpenZwave (OZW) integration.
Could be that the Wiki isn't 100% up-to-date.
tomekolo wrote: Sunday 13 April 2025 16:30 then i'm not even trying to mess up my perfectly running system. Great that @gizmocuz generously changed his mind in the meantime.
-snip-
Since then I am all for if it ain't broke, don't fix it.
Same here... that came with age/experience for me, I only update when really needed and not because there's an updated PROD/BETA. :)
tomekolo wrote: Sunday 13 April 2025 16:30 Great to see you running stuff in Docker and having the capability to check things right away. I instead am just a regular guy, having Domoticz running directly on RPi and Raspbian for years now. Stopped updating Domoticz after one update in 2020 completely messed up my whole flat automation.
I already did one thesis on Domoticz years ago. Not gonna spend time for another just to get my thermostat running again.
Yes, this is purely rant from my side. I've created an account just for that despite using Domoticz since 2015.
I am not running the production Domoticz in Docker, but on a simple PI3b for years now too.
Docker is running on my Laptop, and that is what I use to test this stuff first before upgrading. That is a simple/safe way to have a play first.
... now sorry for being that smart ass in my last post, but thought it deserved some smart remarks the way you wrote it.

In case you do not have any means of doing some testing, you can always simply copy the whole current domoticz subdirectory into another name, perform the upgrade to the latest Beta to see if that works. In case of issues, you simply only have to rename the current domoticz directory to something else and rename the made copy directory back to domoticz, and you are in business again. This is what I always do when I do an upgrade.
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
User avatar
waltervl
Posts: 5777
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

Post by waltervl »

Wiki on OZW has been fixed now, thank you for your friendly reminder.
Note that OZW thermostat setpoints device do not work in latest (and future) stable releases.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
akamming
Posts: 364
Joined: Friday 17 August 2018 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by akamming »

tomekolo wrote: Sunday 13 April 2025 16:30 Since then I am all for if it ain't broke, don't fix it.
But in this case it is broke: openzwave is no longer maintained. And not updating is not always an option. There might be a future security bug which forces you to opgrade, and then you are screwed.

It's great that within domoticz you can still use it, but that's just for users to give them more time to migrate to the new version.

About you rant: Grass will always look greener in your neighbours yard, but in this case HA will not solve your issue:
- Domoticz still supports openzwave. HA does not support it, so you are better off with domoticz if you don't want to change anything in your setup.
- If you do want you will have the exact same upgrade path: You will need to get all devices working under Zwave JS Ui before it will also work in HA.
- So it is actually the other way around if you want to move to HA, it's best to migrate your openzwave to Zwave JS UI with MQTT first to get an easier upgrade path, cause then you can create a hybrid situation in which you can control the devices both from Domoticz and HA, so you don't have to migrate all your automations and scripts at once

Personally i took the Zwave JS UI migration as an opportunity to create a best of both worlds setup: Both are great communities with their own strenghts and weaknesses and now i don't have to choose :D.
lost
Posts: 659
Joined: Thursday 10 November 2016 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by lost »

akamming wrote: Monday 14 April 2025 9:49 openzwave is no longer maintained....
It's great that within domoticz you can still use it, but that's just for users to give them more time to migrate to the new version.
Looking at the market/what you can shop for, IMO ZWave is dying & Zigbee took the wind, despite better interoperability for Zwave & most recent evolutions like LR (but does it make sense for home automation, already meshed, to compete with P2P Lora ranges?).

Even if OZW is no more maintained, that's a library to basically handle a serial-usb driven radio controller: Nothing in HW handling would prevent keeping current integration for the foreseable future. OK, this may not handle new devices (most could be, not using newest command classes & just adding the XML description file!)/controllers (I bought a spare before they sold-out, as this was my SPOF for costly peripherals that I plan to keep until they die), but for legacy devices this just does the job.

On my side, all additions now go for zigbee & I don't want to handle the mess of moving to labyrinthine zwavejs stuff. Also have at least 1 device that is not handled (Qubino Smart-Meter) by the new heavy SW pile (JS chosen as a language to drive some hardware, seriously? Excellent solution to have many dependencies issues, so having to add containers to make the whole stuff accidentally working, with all the dependencies close-duplicates in "the Microsoft way": When bad design choices leads to overcomplex integration that'll go worst over time) & maybe another reference I have in 8 places in my home (to drive heaters).

So I'm glad OZW finally stayed in for legacy stuff, really!
akamming
Posts: 364
Joined: Friday 17 August 2018 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by akamming »

lost wrote: Monday 14 April 2025 12:33
akamming wrote: Monday 14 April 2025 9:49 openzwave is no longer maintained....
It's great that within domoticz you can still use it, but that's just for users to give them more time to migrate to the new version.
Looking at the market/what you can shop for, IMO ZWave is dying & Zigbee took the wind, despite better interoperability for Zwave & most recent evolutions like LR (but does it make sense for home automation, already meshed, to compete with P2P Lora ranges?).

Even if OZW is no more maintained, that's a library to basically handle a serial-usb driven radio controller: Nothing in HW handling would prevent keeping current integration for the foreseable future. OK, this may not handle new devices (most could be, not using newest command classes & just adding the XML description file!)/controllers (I bought a spare before they sold-out, as this was my SPOF for costly peripherals that I plan to keep until they die), but for legacy devices this just does the job.

On my side, all additions now go for zigbee & I don't want to handle the mess of moving to labyrinthine zwavejs stuff. Also have at least 1 device that is not handled (Qubino Smart-Meter) by the new heavy SW pile (JS chosen as a language to drive some hardware, seriously? Excellent solution to have many dependencies issues, so having to add containers to make the whole stuff accidentally working, with all the dependencies close-duplicates in "the Microsoft way": When bad design choices leads to overcomplex integration that'll go worst over time) & maybe another reference I have in 8 places in my home (to drive heaters).

So I'm glad OZW finally stayed in for legacy stuff, really!
What i'm talking about is that if for whatever reason the OZW library no longer compiles to newer platform libs not being backwards compatible, then it's the end of the OZW library. I see your point on Zwave vs Zigbee about the lifecycle (although it will be there long enough so i am not in a hurry yet), but not the complixity. if i'm correct (i am not a zigbee user, so not 100% sure) then Zigbee is also not natively integrated in domoticz, but requires additional plugins/software as well..

personally I am running Zwave JS UI in a docker, so no issue with the dependency issues you are mentioning..

moral of the story: every solution has it's pros and cons... There is not 1 size fits all here...
lost
Posts: 659
Joined: Thursday 10 November 2016 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by lost »

akamming wrote: Monday 14 April 2025 16:10 I see your point on Zwave vs Zigbee about the lifecycle (although it will be there long enough so i am not in a hurry yet), but not the complixity. if i'm correct (i am not a zigbee user, so not 100% sure) then Zigbee is also not natively integrated in domoticz, but requires additional plugins/software as well..
At least, Zigbee can be managed by a single plugin (Zigbee for domoticz): Agree that's still an addition compared to embedded OZW, but much easier to setup/manage than needing MQTT and all that fits behind (with possible issues at every level), especially when everything is co-hosted in your system.

I'm not sure zwaveJS will remain for long as it is now (and as long as OZW), design choices were to progress quickly at the expense of dependencies maintenance more & more difficult over time (this would already be difficult without containerization), especially for us base users: That's web design guys choices whose 1st criteria is TTM & pushed by a company (Nabu-Casa) that probably have plans to cloudify all this... out of our homes... someday??! With this kind of strategy, these surprising design choices suddenly makes better sense!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest