zwavejs2mqtt
Moderator: leecollings
-
- Posts: 28
- Joined: Wednesday 21 August 2019 15:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.2
- Location: Arnhem, The Netherlands
- Contact:
Re: zwavejs2mqtt
I upgraded 2 months ago from OZW to zwavejs2mqtt 7.0.0.
I'm very happy with the upgrade, everything reacts much faster.
But today i saw zwavejs2mqtt is renamed to zwave js ui, and there are several new versions released, version 8.4.1 most actual.
How is it possible to upgrade my zwavejs2mqtt 7.00 to the latest version, without any z-wave network information or domoticz z-wave devices are lost.
I'm very happy with the upgrade, everything reacts much faster.
But today i saw zwavejs2mqtt is renamed to zwave js ui, and there are several new versions released, version 8.4.1 most actual.
How is it possible to upgrade my zwavejs2mqtt 7.00 to the latest version, without any z-wave network information or domoticz z-wave devices are lost.
- waltervl
- Posts: 5727
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: zwavejs2mqtt
Check this thread for some hints viewtopic.php?t=39138BurningTyre wrote: ↑Friday 11 November 2022 14:26 I upgraded 2 months ago from OZW to zwavejs2mqtt 7.0.0.
I'm very happy with the upgrade, everything reacts much faster.
But today i saw zwavejs2mqtt is renamed to zwave js ui, and there are several new versions released, version 8.4.1 most actual.
How is it possible to upgrade my zwavejs2mqtt 7.00 to the latest version, without any z-wave network information or domoticz z-wave devices are lost.
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: 60
- Joined: Tuesday 11 August 2015 14:20
- Target OS: NAS (Synology & others)
- Domoticz version: 2024.7
- Location: The Netherlands
- Contact:
Re: zwavejs2mqtt
When doing a restart of Domoticz, switching Z-wave devices isn't working.
But when I am saving the configuration (without making any changes) on the Z-wave JS UI webpage, the Z-wave devices can be turned on\off again.
Any idea why this is happening and how I can keep the switching of Z-wave devices working after a restart of Domoticz?
Domoticz, Z-Wave JS UI and eclipse-mosquitto are running in their own Docker container on my Synolgy NAS.
But when I am saving the configuration (without making any changes) on the Z-wave JS UI webpage, the Z-wave devices can be turned on\off again.
Any idea why this is happening and how I can keep the switching of Z-wave devices working after a restart of Domoticz?
Domoticz, Z-Wave JS UI and eclipse-mosquitto are running in their own Docker container on my Synolgy NAS.
-
- Posts: 742
- Joined: Saturday 30 May 2015 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Re: zwavejs2mqtt
Check in zwave-js at the home assistant settings page: retained discovery is enabledjberinga wrote:When doing a restart of Domoticz, switching Z-wave devices isn't working.
But when I am saving the configuration (without making any changes) on the Z-wave JS UI webpage, the Z-wave devices can be turned on\off again.
Any idea why this is happening and how I can keep the switching of Z-wave devices working after a restart of Domoticz?
Domoticz, Z-Wave JS UI and eclipse-mosquitto are running in their own Docker container on my Synolgy NAS.
-
- Posts: 221
- Joined: Thursday 23 January 2014 12:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Contact:
Re: zwavejs2mqtt
Is it possible to put battery status switches in Utility rather than Switches?
-
- Posts: 60
- Joined: Tuesday 11 August 2015 14:20
- Target OS: NAS (Synology & others)
- Domoticz version: 2024.7
- Location: The Netherlands
- Contact:
Re: zwavejs2mqtt
Just enabled this setting.jake wrote: ↑Sunday 13 November 2022 16:39Check in zwave-js at the home assistant settings page: retained discovery is enabledjberinga wrote:When doing a restart of Domoticz, switching Z-wave devices isn't working.
But when I am saving the configuration (without making any changes) on the Z-wave JS UI webpage, the Z-wave devices can be turned on\off again.
Any idea why this is happening and how I can keep the switching of Z-wave devices working after a restart of Domoticz?
Domoticz, Z-Wave JS UI and eclipse-mosquitto are running in their own Docker container on my Synolgy NAS.
Thanks for letting me know!
-
- Posts: 28
- Joined: Wednesday 21 August 2019 15:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.2
- Location: Arnhem, The Netherlands
- Contact:
Re: zwavejs2mqtt
I have troubles installing Docker-Compose to get zwavejs2mqtt docker container working.
I have started with a fresh sd-card image (Bullseye).
Im using following code to install docker-compose.
But it keeps stopping with the following error:

I already installed Rust (with Rustup), already did pip install --upgrade pip.

I'm totally lost what i can try or do anymore to get Docker-Compose installed.
I have started with a fresh sd-card image (Bullseye).
Im using following code to install docker-compose.
Code: Select all
sudo pip3 install docker-compose

I already installed Rust (with Rustup), already did pip install --upgrade pip.

I'm totally lost what i can try or do anymore to get Docker-Compose installed.
-
- Posts: 145
- Joined: Friday 31 July 2015 21:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Sint-Oedenrode, Netherlands
- Contact:
Re: zwavejs2mqtt
Docker-compose is part of your Docker install but you must use it as 'docker compose' (without the '-').
Mark: Domoticz Beta on Raspberry Pi 4 running Debian Bookworm - Z-Stick 7 - RFXCom - P1 - MySensors - SolarEdge - Dahua - Philips Hue - Docker - Zigbee2mqtt (plugin) - Zwave-js-ui - dzVents - Nodered
-
- Posts: 21
- Joined: Sunday 10 January 2016 22:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: Netherlands
- Contact:
Re: zwavejs2mqtt
tryBurningTyre wrote: ↑Saturday 26 November 2022 11:09
I already installed Rust (with Rustup), already did pip install --upgrade pip.
I'm totally lost what i can try or do anymore to get Docker-Compose installed.
Code: Select all
pip3 install setuptools_rust docker-compose
-
- Posts: 44
- Joined: Saturday 26 August 2017 20:13
- Target OS: Linux
- Domoticz version: 2023.2
- Contact:
Re: zwavejs2mqtt
You can install docker-compose binary from Docker Compose github repository.BurningTyre wrote: ↑Saturday 26 November 2022 11:09 I'm totally lost what i can try or do anymore to get Docker-Compose installed.
Example installing current version (v2.13.0) for your platform (armv7l):
Code: Select all
sudo curl -L https://github.com/docker/compose/releases/download/v2.13.0/docker-compose-linux-armv7 -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
Code: Select all
$ docker-compose version
Docker Compose version v2.13.0
Domoticz 2023.2 on Odroid M1 and Armbian
MySensors (RFM69 Serial GW): bunch of DIY sensors/devices
Zwave (Z-Wave.me RaZberry board): Danfoss devices
Zigbee (Sonoff Dongle Plus): IKEA, Tesla devices
MySensors (RFM69 Serial GW): bunch of DIY sensors/devices
Zwave (Z-Wave.me RaZberry board): Danfoss devices
Zigbee (Sonoff Dongle Plus): IKEA, Tesla devices
-
- Posts: 28
- Joined: Wednesday 21 August 2019 15:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.2
- Location: Arnhem, The Netherlands
- Contact:
Re: zwavejs2mqtt
ferrosk wrote: ↑Saturday 26 November 2022 20:24You can install docker-compose binary from Docker Compose github repository.BurningTyre wrote: ↑Saturday 26 November 2022 11:09 I'm totally lost what i can try or do anymore to get Docker-Compose installed.
Example installing current version (v2.13.0) for your platform (armv7l):
Code: Select all
sudo curl -L https://github.com/docker/compose/releases/download/v2.13.0/docker-compose-linux-armv7 -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose
Code: Select all
$ docker-compose version Docker Compose version v2.13.0
Thanks this did the trick!
Maybe this can be added to the Wiki page? Otherwise i wasn't still be able to install Docker Compose on my RPI.
- waltervl
- Posts: 5727
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: zwavejs2mqtt
The wiki links to the official installation of docker compose https://docs.docker.com/compose/install/linux/
There is no mention of using pip3 so no idea why you used this in the past.
There is no mention of using pip3 so no idea why you used this in the past.
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
- djdevil
- Posts: 101
- Joined: Friday 26 July 2019 18:19
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Contact:
Re: zwavejs2mqtt
i did the update yesterday with the addition of zwavejuis but once it deletes the devices i don't want to use on restart they are recreated again! how come this happens? then if I restart and turn on a light manually it is not updated on domoticz in real time also I noticed that the energy devices do not report the Khw but they are electrical entities! I hope someone can help me thanks
-
- Posts: 722
- Joined: Friday 02 October 2015 12:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Finland
- Contact:
Re: zwavejs2mqtt
Hi,
have a bit strange issue. Domoticz seems to get a wrong status from zwajejs2mqtt, but it does not look like it is coming from the bridge. I installed HA to track how it receives the status via mqtt and this reflects the "reality" (turned on at 02:01, turned off at 07:00): (I know this is correct as this switch is controlling a water heater which temperature I am tracking as well, and I can see it heated until 7AM)
But for some reason Domoticz sees it like this (turned on at 02:01, turned off at 04:32): ...to me it looks like that this is coming from mqtt (zwave autodiscovery is the hardware component for zwavejs2mqtt)
What could cause this and is there any meaningful way to try to troubleshoot it?
have a bit strange issue. Domoticz seems to get a wrong status from zwajejs2mqtt, but it does not look like it is coming from the bridge. I installed HA to track how it receives the status via mqtt and this reflects the "reality" (turned on at 02:01, turned off at 07:00): (I know this is correct as this switch is controlling a water heater which temperature I am tracking as well, and I can see it heated until 7AM)
But for some reason Domoticz sees it like this (turned on at 02:01, turned off at 04:32): ...to me it looks like that this is coming from mqtt (zwave autodiscovery is the hardware component for zwavejs2mqtt)
What could cause this and is there any meaningful way to try to troubleshoot it?
- waltervl
- Posts: 5727
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: zwavejs2mqtt
Check the MQTT message with mqtt-explorer, see https://www.domoticz.com/wiki/MQTT#Debugging_MQTT
Check also the domoticz log (menu setup - log). You perhaps have to set it to a file log: https://www.domoticz.com/wiki/Troublesh ... bugging.29
Check also the domoticz log (menu setup - log). You perhaps have to set it to a file log: https://www.domoticz.com/wiki/Troublesh ... bugging.29
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: 497
- Joined: Friday 22 May 2015 12:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11083
- Location: Asten NB Nederland
- Contact:
Re: zwavejs2mqtt
Hi all,
after a cou[ple of weeks without any problem and a verry good respons of my z-wave devices with zwave-js-ui, this week I had a supurb crash!
For some reason mqtt broker mosquitto failed to connect.
Probally it was my own fault because I was experimenting with some things.
Anyway, I made a fresh install, put in my Aeotec z-wave stick, reloaded my database and started again.
But......
As you can see in the picture below z-wave-js is not collecting all the info of the nodes.
Manufacturer, Product and Product stay as UNKNOW.
More serious is that for multi sensors only motion, battery level and low level battery switches are recognized.
See node 2 which is a pir with motion, lux, temp and battery.
Here lux and temp are NOT created!
I added this node as a new node by the way

anybody any idea?
Jan
after a cou[ple of weeks without any problem and a verry good respons of my z-wave devices with zwave-js-ui, this week I had a supurb crash!

For some reason mqtt broker mosquitto failed to connect.
Probally it was my own fault because I was experimenting with some things.
Anyway, I made a fresh install, put in my Aeotec z-wave stick, reloaded my database and started again.
But......
As you can see in the picture below z-wave-js is not collecting all the info of the nodes.
Manufacturer, Product and Product stay as UNKNOW.
More serious is that for multi sensors only motion, battery level and low level battery switches are recognized.
See node 2 which is a pir with motion, lux, temp and battery.
Here lux and temp are NOT created!
I added this node as a new node by the way

anybody any idea?
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
-
- Posts: 722
- Joined: Friday 02 October 2015 12:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Finland
- Contact:
Re: zwavejs2mqtt
Thanks for the suggestions. I haven't found any meaningful info yet. The recorder is a nice option which I did not know before this. It just seems I cannot set it up to filter just relevant messages. Seems I am getting quite a lot of traffic through mqttwaltervl wrote: ↑Friday 16 December 2022 11:11 Check the MQTT message with mqtt-explorer, see https://www.domoticz.com/wiki/MQTT#Debugging_MQTT
Check also the domoticz log (menu setup - log). You perhaps have to set it to a file log: https://www.domoticz.com/wiki/Troublesh ... bugging.29

Anyhow, as the automatic heating takes place during night, I will hold of for now to keep the recorder on for several hour. I took a short recording when I was flipping the switch manually, but as expected the switch operated normally in this test so probably this does not tell anything intersting:
Code: Select all
2022-12-16T16:11:59+0200 1 zwave/43/112/0/1 {"time":1653889406928,"value":255,"nodeName":"Lämminvesivaraaja","nodeLocation":""}
2022-12-16T16:11:59+0200 1 zwave/43/112/0/3 {"time":1653889406930,"value":0,"nodeName":"Lämminvesivaraaja","nodeLocation":""}
2022-12-16T16:11:59+0200 1 zwave/43/112/0/4 {"time":1653889406932,"value":0,"nodeName":"Lämminvesivaraaja","nodeLocation":""}
2022-12-16T16:11:59+0200 1 zwave/43/112/0/6 {"time":1653889406934,"value":0,"nodeName":"Lämminvesivaraaja","nodeLocation":""}
2022-12-16T16:11:59+0200 1 zwave/43/112/0/13 {"time":1653889406936,"value":0,"nodeName":"Lämminvesivaraaja","nodeLocation":""}
2022-12-16T16:11:59+0200 1 zwave/43/112/0/14 {"time":1653889406937,"value":1,"nodeName":"Lämminvesivaraaja","nodeLocation":""}
2022-12-16T16:11:59+0200 1 zwave/43/112/0/15 {"time":1653889406938,"value":0,"nodeName":"Lämminvesivaraaja","nodeLocation":""}
2022-12-16T16:11:59+0200 1 zwave/43/112/0/16 {"time":1653889406940,"value":1,"nodeName":"Lämminvesivaraaja","nodeLocation":""}
2022-12-16T16:11:59+0200 1 zwave/43/112/0/30 {"time":1653889406941,"value":3,"nodeName":"Lämminvesivaraaja","nodeLocation":""}
2022-12-16T16:11:59+0200 1 zwave/43/112/0/31 {"time":1653889406943,"value":2,"nodeName":"Lämminvesivaraaja","nodeLocation":""}
2022-12-16T16:11:59+0200 1 zwave/43/112/0/32 {"time":1653889406944,"value":3,"nodeName":"Lämminvesivaraaja","nodeLocation":""}
2022-12-16T16:11:59+0200 1 zwave/43/112/0/33 {"time":1653889406946,"value":1,"nodeName":"Lämminvesivaraaja","nodeLocation":""}
2022-12-16T16:11:59+0200 1 zwave/43/112/0/39 {"time":1653889406948,"value":600,"nodeName":"Lämminvesivaraaja","nodeLocation":""}
2022-12-16T16:11:59+0200 1 zwave/43/114/0/manufacturerId {"time":1653889406949,"value":271,"nodeName":"Lämminvesivaraaja","nodeLocation":""}
2022-12-16T16:11:59+0200 1 zwave/43/114/0/productType {"time":1653889406950,"value":1026,"nodeName":"Lämminvesivaraaja","nodeLocation":""}
2022-12-16T16:11:59+0200 1 zwave/43/114/0/productId {"time":1653889406952,"value":4098,"nodeName":"Lämminvesivaraaja","nodeLocation":""}
2022-12-16T16:11:59+0200 1 zwave/43/134/0/libraryType {"time":1653889406953,"value":3,"nodeName":"Lämminvesivaraaja","nodeLocation":""}
2022-12-16T16:11:59+0200 1 zwave/43/134/0/protocolVersion {"time":1653889406955,"value":"3.52","nodeName":"Lämminvesivaraaja","nodeLocation":""}
2022-12-16T16:11:59+0200 1 zwave/43/134/0/firmwareVersions {"time":1653889406956,"value":["2.2"],"nodeName":"Lämminvesivaraaja","nodeLocation":""}
2022-12-16T16:11:59+0200 1 zwave/43/37/1/currentValue {"time":1653889406976,"value":false,"nodeName":"Lämminvesivaraaja","nodeLocation":""}
2022-12-16T16:11:59+0200 1 zwave/43/37/1/targetValue {"time":1653889406977,"value":false,"nodeName":"Lämminvesivaraaja","nodeLocation":""}
2022-12-16T16:11:59+0200 1 zwave/43/37/2/currentValue {"time":1653889406990,"value":false,"nodeName":"Lämminvesivaraaja","nodeLocation":""}
2022-12-16T16:11:59+0200 1 zwave/43/37/2/targetValue {"time":1653889406991,"value":false,"nodeName":"Lämminvesivaraaja","nodeLocation":""}
-
- Posts: 22
- Joined: Wednesday 04 October 2017 13:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: zwavejs2mqtt
Hello,
I have something strange and didn t fond anything on third, i have upadated zwave-js-ui: to 8.9.0.2d95700, and now my fibaro door sensor fgw002 no more reports the state (open or Close) in binary mode
Now the type of sensor_notification_access_control_door_state is sensor and reports in text.
But before it was binary_sensor_door_state and was reporting as binary_sensor. Do you know why ? Is it a bug ??, i find it very disappointing because in domoticz binary sensor are easier to use.. do you have same behaviour ?
Thanks for your help
Regards
I have something strange and didn t fond anything on third, i have upadated zwave-js-ui: to 8.9.0.2d95700, and now my fibaro door sensor fgw002 no more reports the state (open or Close) in binary mode
Now the type of sensor_notification_access_control_door_state is sensor and reports in text.
But before it was binary_sensor_door_state and was reporting as binary_sensor. Do you know why ? Is it a bug ??, i find it very disappointing because in domoticz binary sensor are easier to use.. do you have same behaviour ?
Thanks for your help
Regards
-
- Posts: 237
- Joined: Wednesday 17 October 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: zwavejs2mqtt
So, after finally going from OZW to ZwaveJS... A couple of findings:
- First time it took long (i mean loooong) to get all devices in. Re interviewing it through ZwaveJS did help a bit. Maybe after installing the re-interviewing should always run? Or add a re-interview everything option.
- The IDX-es are now not in order anymore. Not really an issue, but tickles my OCD a bit.
- I do see that sometimes there is a discrepancy between the light and the domoticz dashboard. This is really a flaw in the way MQTT works. Domotics shows the last received status. Not the actual status. OpenZwave did a better job with that.
- I am having some difficulties sometimes with devices being unavailable. Difficult to find out where that is going wrong. The web server of ZwaveJS is running while that happens.
All together not 100% happy compared to what i was used to with OpenZwave tbh.
- First time it took long (i mean loooong) to get all devices in. Re interviewing it through ZwaveJS did help a bit. Maybe after installing the re-interviewing should always run? Or add a re-interview everything option.
- The IDX-es are now not in order anymore. Not really an issue, but tickles my OCD a bit.
- I do see that sometimes there is a discrepancy between the light and the domoticz dashboard. This is really a flaw in the way MQTT works. Domotics shows the last received status. Not the actual status. OpenZwave did a better job with that.
- I am having some difficulties sometimes with devices being unavailable. Difficult to find out where that is going wrong. The web server of ZwaveJS is running while that happens.
All together not 100% happy compared to what i was used to with OpenZwave tbh.
-
- Posts: 218
- Joined: Friday 04 November 2016 12:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: France
- Contact:
Re: zwavejs2mqtt
Yes, we should not underestimate the amount of work needed to migrate from OZW to zwaveJS-ui because, as they say, the devil is in the details.
For simple components (lights, switches) it can be quite smooth, for more complex components (sensors, thermostats,...) it can be much more difficult and reserve some bad surprises like for example the need to make specific scripts to work around bugs or differences in operation.
For my part, I consider that zwavejs-ui has not yet reached the level of maturity of OZW in its latest developments.
Who is online
Users browsing this forum: No registered users and 1 guest