Easiest way to migrate Openzwave to ZWave-JS-UI
Moderator: leecollings
-
- Posts: 344
- 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
pffffffffff i finished the zwave js ui migration for 80 devices... a lot of work, took me 2 days!
on the bright side though...: my zwave network is much more responsive now! so happy i did it!
on the bright side though...: my zwave network is much more responsive now! so happy i did it!
-
- Posts: 156
- 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
i am trying to get my zwave up and running again using the instructions.
but somehow mqtt is not coming up on 192.168.0.115:1881
and "MQTT Auto Discovery hardware" is not showing in domoticz
what is going on?
but somehow mqtt is not coming up on 192.168.0.115:1881
and "MQTT Auto Discovery hardware" is not showing in domoticz
what is going on?
- Bospieper
- Posts: 166
- Joined: Thursday 07 November 2019 10:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: NL
- Contact:
Re: Easiest way to migrate Openzwave to ZWave-JS-UI
Port should be 1883
-
- Posts: 156
- 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
nothing on port 1883 allso
- Bospieper
- Posts: 166
- Joined: Thursday 07 November 2019 10:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: NL
- Contact:
Re: Easiest way to migrate Openzwave to ZWave-JS-UI
And your MQTT Explorer shows also nothing?
-
- Posts: 156
- 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
ah yes...now with port 1883 i can see stuff...
i am sorry...i am an averige computer user...this is getting pretty complicated
i am sorry...i am an averige computer user...this is getting pretty complicated
-
- Posts: 156
- 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
is "mqtt auto discovery client gateway with lan interfase" same as "MQTT Auto Discovery hardware" named in the instructions?
- Bospieper
- Posts: 166
- Joined: Thursday 07 November 2019 10:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: NL
- Contact:
Re: Easiest way to migrate Openzwave to ZWave-JS-UI
You need two things in the hardware section of Domoticz that is the MQTT Broker: MQTT Client Gateway with LAN interface and for the client Zwavejs: MQTT Auto discovery Client Gateway with LAN interface
-
- Posts: 156
- 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
ok thanks.
following problem is that ls /dev/serial/by-id is giving: ls: cannot access '/dev/serial/by-id': No such file or directory
zwave dongle is connected via usb hub becouse it is a pi-4
following problem is that ls /dev/serial/by-id is giving: ls: cannot access '/dev/serial/by-id': No such file or directory
zwave dongle is connected via usb hub becouse it is a pi-4
- Bospieper
- Posts: 166
- Joined: Thursday 07 November 2019 10:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: NL
- Contact:
Re: Easiest way to migrate Openzwave to ZWave-JS-UI
Did you follow the instruction to determ the port of your usb Zwave stick?
command: ls /dev/serial/by-id in your terminal?
command: ls /dev/serial/by-id in your terminal?
-
- Posts: 156
- 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
cannot access '/dev/serial/by-id': No such file or directory
this is coming up
i have a rfxcom connected allso but not showing
this is coming up
i have a rfxcom connected allso but not showing
- Bospieper
- Posts: 166
- Joined: Thursday 07 November 2019 10:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: NL
- Contact:
Re: Easiest way to migrate Openzwave to ZWave-JS-UI
Oke, is possible that there are more usb devices connected to the Raspberry for example a Zigbee stick or P1 serial to usb? In that case you can try another usb port on the Raspberry and then renew the command ls /dev................
- waltervl
- Posts: 5397
- 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
@tiga When ls /dev/serial/by-id is not working you are probably on an old OS? What OS do you use?
Does ls /dev/tty* showing your USB devices eg /dev/ttyACM0 or /dev/ttyUSB0 ?
Does ls /dev/tty* showing your USB devices eg /dev/ttyACM0 or /dev/ttyUSB0 ?
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: 156
- 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
no not working....i only can chose "by-path"
is there an other option?
i know it is /dev/ttyACM0 i had that in the hardware setup for the stick in domoticz
i have this os:
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
is there an other option?
i know it is /dev/ttyACM0 i had that in the hardware setup for the stick in domoticz
i have this os:
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
-
- Posts: 564
- Joined: Sunday 11 December 2016 13:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Easiest way to migrate Openzwave to ZWave-JS-UI
I also have problems with that, I also have the Z-wave dongle connected to dev/ttyACM0, and JS UI can't connect tro it as well.
I run buster on a rpi 3b+
I run buster on a rpi 3b+
- waltervl
- Posts: 5397
- 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
You can use /dev/ttyACM0, no problem. Only when using multiple USB sticks it could lead to unwanted switching of names.
You have to find out why by-id is not working as i think it should work on bullseye.
You have to find out why by-id is not working as i think it should work on bullseye.
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
- Bospieper
- Posts: 166
- Joined: Thursday 07 November 2019 10:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: NL
- Contact:
Re: Easiest way to migrate Openzwave to ZWave-JS-UI
@WalterVL
In several posts you mentioned the fact that you have delete your old OZW stuff. Is deleting in the hardware section of Domomticz sufficient or do we have more deleting/uninstalling to do?
Grz Piet
In several posts you mentioned the fact that you have delete your old OZW stuff. Is deleting in the hardware section of Domomticz sufficient or do we have more deleting/uninstalling to do?
Grz Piet
- waltervl
- Posts: 5397
- 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
Seems to be a common issue that by-id has dissapeared: https://forums.raspberrypi.com/viewtopic.php?t=351113
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
- waltervl
- Posts: 5397
- 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
Deleting from the setup-hardware page should be enough. Only now Domoticz has already removed the OZW hardware this seems somewhat troublesome as mentioned by other users.
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: 156
- 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
my docker-compose.yml looks like this:
version: "3.7"
services:
zwave-js-ui:
container_name: zwave-js-ui
image: zwavejs/zwave-js-ui:latest
restart: unless-stopped
tty: true
stop_signal: SIGINT
environment:
- SESSION_SECRET=mySecretSession
- TZ=Europe/Amsterdam
devices:
- '/dev/ttyACM0:/dev/zwave'
volumes:
- ./store:/usr/src/app/store
ports:
- "8091:8091" # port for web interface
- "3000:3000" # port for Z-Wave JS websocket server
worked once but after reboot nothing
version: "3.7"
services:
zwave-js-ui:
container_name: zwave-js-ui
image: zwavejs/zwave-js-ui:latest
restart: unless-stopped
tty: true
stop_signal: SIGINT
environment:
- SESSION_SECRET=mySecretSession
- TZ=Europe/Amsterdam
devices:
- '/dev/ttyACM0:/dev/zwave'
volumes:
- ./store:/usr/src/app/store
ports:
- "8091:8091" # port for web interface
- "3000:3000" # port for Z-Wave JS websocket server
worked once but after reboot nothing
Last edited by tiga on Thursday 04 January 2024 21:02, edited 4 times in total.
Who is online
Users browsing this forum: No registered users and 0 guests