Easiest way to migrate Openzwave to ZWave-JS-UI

For Z-Wave related questions in Domoticz

Moderator: leecollings

User avatar
gizmocuz
Posts: 3020
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 »

tiga wrote: Saturday 20 January 2024 20:23 just did a fresh install on a fresh pi and:

pi@raspberrypi:~ $ ls /dev/serial/by-id
ls: cannot access '/dev/serial/by-id': No such file or directory

pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian

what am i doing wrong?
Maybe this will work? Still it's strange.

https://ubuntu-mate.community/t/ls-cann ... tory/26867

When you unplug the USB device, then plug it back and issue

dmesg

do you see it being added? Or is there a error?
Quality outlives Quantity!
rfvdboom
Posts: 40
Joined: Tuesday 20 September 2016 8:32
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Netherlands
Contact:

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

Post by rfvdboom »

I guess that a bookworm issue. See this page
https://www.thushanfernando.com/posts/2 ... ial-by-id/
Odroid N2+ | Raspberry P 3 ModelB | RFXcom | AEOTEC Zwave | Honeywell Lyric T6| Milight | Milighthub (NodeMCU) | SolarEdge | P1 Smart meter USB | KAKU | Wemos D1 (esphome) | Denon | Logitech Harmony
tiga
Posts: 164
Joined: Friday 27 May 2016 20:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: nederland
Contact:

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

Post by tiga »

Lol...this gets more complicated by the minute.
MJHDiepman
Posts: 1
Joined: Wednesday 07 February 2024 0:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by MJHDiepman »

I also got the "ls: cannot access '/dev/serial/by-id': No such file or directory" error and managed to resolve it.

To be honest I found it quite tricky. My old setup was Domoticz with OpenZwave , running happily on
- an ancient Raspberry Pi 2011.12 Model B v1.0
- an Aeotec Zwave stick 5

Since the latest version of Domoticz no longer supports this old Raspberry Pi hardware I decided to upgrade to a Raspberry Pi 4 and move to ZWave-JS-UI. I followed the installation instructions and with a bit of tinkering and a powered USB hub (as mentioned here https://www.domoticz.com/forum/viewtopic.php?t=29013) I got MQTT and ZwaveJS-UI to work, but never got any devices in Domoticz.

Turns out the Aeotec Zwave stick 5 is not compatible with the Raspberry Pi 4. It draws too much power when you plug it in and the Raspberry Pi rejects & disables it: https://github.com/raspberrypi/linux/issues/3027.

Older Raspberry Pi models are more forgiving. I switched to an older Raspberry Pi 3 Model B and everything works like a charm
Quax1507
Posts: 101
Joined: Tuesday 07 April 2015 21:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by Quax1507 »

I jave a similar setup with RPi 4 and Z-Stick 5.
You have to use an USB hub between RPi and Stick.

I use this one https://www.amazon.de/dp/B00L2442H0?ref ... b_ap_share
tiga
Posts: 164
Joined: Friday 27 May 2016 20:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: nederland
Contact:

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

Post by tiga »

ok....still one big mess with the migrate.

can you guys give me an advise on what OS i must install that will give me the most chance of succes??

looks like a good foundation will help a lot

(i use a pi 4)

thanks!
User avatar
waltervl
Posts: 7002
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 »

If you work with docker containers you can can use a recent OS version. Please invest time to understand the concept of Docker containers.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
tiga
Posts: 164
Joined: Friday 27 May 2016 20:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: nederland
Contact:

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

Post by tiga »

ok...finaly got the whole migrating-thing figured out.

using a spare pi 4 and a spare new aeotec zwave stick 5.connected some spare switches and everything works fine...

but then i plug in my other aeotec stick 5(this is the one i need to migrate, and couple of years old) with all my 60 or so devices, all went wrong...
the stick went blinking super fast in yellow or stoped blinking at all....
ls /dev/serial/by-id gives no device anymore.

what can be the reason?
stick works perfect on my old pi 2
Last edited by tiga on Saturday 09 March 2024 20:53, edited 1 time in total.
User avatar
waltervl
Posts: 7002
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 »

Old zwavel Stick 5 has issues on an RPi4. Use a 2.0 USB hub to fix it.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
tiga
Posts: 164
Joined: Friday 27 May 2016 20:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: nederland
Contact:

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

Post by tiga »

i have a usb 2.0 hub connected,like i said all works fine with my newer stick 5
User avatar
elzorrovega
Posts: 65
Joined: Friday 08 May 2020 19:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.2
Location: Bordeaux, France
Contact:

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

Post by elzorrovega »

Hi,

I been there fighting with Aotec Gen 5+, RPi4b & Bullseye.

Have you verified this post.

https://www.domoticz.com/forum/viewtopic.php?t=40536

Regards,

ElZorrovega
The solution to the problem changes the problem!

Rasberry Pi 4 Model B; Bookworm 64 bit OS 6.12.47+rpt-rpi-v8
Domoticz Version: 2025.2
zwave-js-ui: 10.4.2.d3a89a7
zwave-js: 15.3.1
home id: 3714679688
home hex: 0xdd698388
tiga
Posts: 164
Joined: Friday 27 May 2016 20:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: nederland
Contact:

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

Post by tiga »

yes i have replaced the contend....thanks for the tip
but that is not th issue...i have a working setup but when i replace the stick with the other older one things get strange and not working anymore.fast blinking or no power to stick(not blinking at all)
User avatar
elzorrovega
Posts: 65
Joined: Friday 08 May 2020 19:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.2
Location: Bordeaux, France
Contact:

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

Post by elzorrovega »

Hi,

Silly question!

Does your usb hub have own power supply?

I also have a more recent Aeotec Gen5+ which is recognised by RPi4 but when I tried the old one, no sign of life.

There is a post in RPi forum where basically their gurus tell you that Aeotec does not meet USB specifications …..

My current setup has self powered usb hub.
The solution to the problem changes the problem!

Rasberry Pi 4 Model B; Bookworm 64 bit OS 6.12.47+rpt-rpi-v8
Domoticz Version: 2025.2
zwave-js-ui: 10.4.2.d3a89a7
zwave-js: 15.3.1
home id: 3714679688
home hex: 0xdd698388
tiga
Posts: 164
Joined: Friday 27 May 2016 20:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: nederland
Contact:

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

Post by tiga »

No.the hub has no own power supply.
User avatar
elzorrovega
Posts: 65
Joined: Friday 08 May 2020 19:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.2
Location: Bordeaux, France
Contact:

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

Post by elzorrovega »

Hi,

This is my current setup.

RPi4b
Domoticz Z-Wave Controller is Z-Stick Gen5+ Chip Type ZW0501 Ver 4.54.
Even with new Power Supply - iUniker with output 5,1V 4A 20,4W - controller is not seen when connected directly to RPi4b USB 2.0 ports.
Connected controller to an D-Link USB 2.0 Hub with own power supply and everyone seems to be happy.
The solution to the problem changes the problem!

Rasberry Pi 4 Model B; Bookworm 64 bit OS 6.12.47+rpt-rpi-v8
Domoticz Version: 2025.2
zwave-js-ui: 10.4.2.d3a89a7
zwave-js: 15.3.1
home id: 3714679688
home hex: 0xdd698388
tiga
Posts: 164
Joined: Friday 27 May 2016 20:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: nederland
Contact:

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

Post by tiga »

Took the effort to migratie all my devices from the old stick to the new one.everything works ok now.this new setup is super stable
User avatar
elzorrovega
Posts: 65
Joined: Friday 08 May 2020 19:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.2
Location: Bordeaux, France
Contact:

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

Post by elzorrovega »

Hello Tiga. Good to hear that new dongle works!

I recently bought a new Aeotec stick and I used EOM tool to transfer settings from old to new. I did not have the time to try the new stick which appears to be visible on RPi4.

Curiosity, what kind of Z-Wave stick do you use and are you now connected directly to USB 2 on the RPi4?
The solution to the problem changes the problem!

Rasberry Pi 4 Model B; Bookworm 64 bit OS 6.12.47+rpt-rpi-v8
Domoticz Version: 2025.2
zwave-js-ui: 10.4.2.d3a89a7
zwave-js: 15.3.1
home id: 3714679688
home hex: 0xdd698388
cr1cr1
Posts: 16
Joined: Sunday 04 September 2016 14:08
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: France
Contact:

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

Post by cr1cr1 »

Hi,
I've been using Domoticz since 2016 - running on a RPi4.
I was trying to keep OpenZWave in my Domoticz config, 50 hardware devices and I don't feel like wanting to migrate manually to Zwave-JS.
What are the latest best practices?
In the latest 2024.4 update I've lost a lot of zwave features: not sure why but all my scenes with Zwave Fibaro roller devices do not work anymore.
I'm really asking myself if I should move to another plaform such as Home Assistant as I've lost a lot in the past (Android App with its subscription model, zwave...)
Also an alternative could be to resintall all in a container on my Synology server.
What migration path have you taken?

PS: why something that worked so fine became a hell of complexity?
Domoticz on RPi2 - RFXCOM RFXtrx433E - Weather Station WMR200 - Z-WAVE.ME UZB - Fibaro FGR[M]222, FGFS101 - GR105n - Opus XT300 - téléinfo Elec.- Everspring SM103 & Vision ZD2102 - NAS Thecus N4800 - Logitech Harmony Ultimate - MXIII-G + Kodi :D
akamming
Posts: 427
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 »

cr1cr1 wrote: Saturday 27 April 2024 16:56 Hi,
I've been using Domoticz since 2016 - running on a RPi4.
I was trying to keep OpenZWave in my Domoticz config, 50 hardware devices and I don't feel like wanting to migrate manually to Zwave-JS.
What are the latest best practices?
In the latest 2024.4 update I've lost a lot of zwave features: not sure why but all my scenes with Zwave Fibaro roller devices do not work anymore.
I'm really asking myself if I should move to another plaform such as Home Assistant as I've lost a lot in the past (Android App with its subscription model, zwave...)
Also an alternative could be to resintall all in a container on my Synology server.
What migration path have you taken?

PS: why something that worked so fine became a hell of complexity?
Moving to ha Will not solve your issue. Home assistant has the same issue. Openzwave is no longer supported. So if you want to move to ha you also have to migratie to zwave-js-ui
brugje
Posts: 7
Joined: Monday 13 February 2023 19:36
Target OS: Windows
Domoticz version: 2024.4
Location: NL (Echtenerbrug)
Contact:

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

Post by brugje »

Hallo,
I have up and running on windows the .exe file version zwave-js-ui-v9.12.0-win. Now there is an update to version zwave-js-ui-v9.13.1-win. What is needed to update. Only replace the .exe file with the new one?
Jan
praet mar frysk
Post Reply