zwavejs2mqtt

For Z-Wave related questions in Domoticz

Moderator: leecollings

Sarcas
Posts: 86
Joined: Wednesday 11 October 2017 8:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1ß
Location: Friesland
Contact:

Re: zwavejs2mqtt

Post by Sarcas »

roblom wrote: Saturday 27 August 2022 15:18
[*] I also have Fibaro smoke detectors these are recognized and added by MQTT discovery but there are only two devices added for each detector.
- Air Temperature
- battery_islow
But in OZW I had several more, like heat switch, housing switch, fire alarm, etc. Especially the last one is quite mandatory for a smoke detector. Also the configuration settings are not fully loaded. Can I solve this and if yes how?
[/list]
I seem to remember it took a long time (hours/days?) before all devices were complete.
--

Domoticz on rPi4 - RFXCOM RFXtrx433 USB - ZW090 Z-Stick Gen5 EU - IKEA Tradfri - Philips HUE - YouLess meter - SolarEdge
roblom
Posts: 402
Joined: Wednesday 26 February 2014 15:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: the Netherlands
Contact:

Re: zwavejs2mqtt

Post by roblom »

Sarcas wrote:
roblom wrote: Saturday 27 August 2022 15:18
[*] I also have Fibaro smoke detectors these are recognized and added by MQTT discovery but there are only two devices added for each detector.
- Air Temperature
- battery_islow
But in OZW I had several more, like heat switch, housing switch, fire alarm, etc. Especially the last one is quite mandatory for a smoke detector. Also the configuration settings are not fully loaded. Can I solve this and if yes how?
[/list]
I seem to remember it took a long time (hours/days?) before all devices were complete.
It's been a while but nothing changed so far. Also all my nodes are successfully interviewed.
red59
Posts: 22
Joined: Wednesday 04 October 2017 13:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: zwavejs2mqtt

Post by red59 »

hello,

i have moved to zwavejs, and i have a problem on battery status.
my fibaro door sensor continue to show 0% battery need replace, even after new battery and re interview the node (except that everything is working fine).i have tried setting a polling in zwavejs, but i don't know if it is well configured, i have set device, value Battery level, nothing to other fiels, and enable post..
has anyone met the same problem ?
thanks for your help
dobber
Posts: 19
Joined: Saturday 07 May 2016 1:43
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta..
Location: Sweden
Contact:

Re: zwavejs2mqtt

Post by dobber »

Is the battery level visible in zwavejs2mqtt? I have one zwave fibaro door sensor and two zwave+ fibaro door sensors. On the "+" I get battery status, but not on the old version. If the battery level is not present in zwave2mqtt it is not a domoticz issue.
enboer
Posts: 29
Joined: Tuesday 02 October 2018 15:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: zwavejs2mqtt

Post by enboer »

I understand that I have to switch from OZW to the MQTT setup, sooner or later. After installing it together with docker do the devices known in the controller (zwave.me in my case) automatically appear, also in Domoticz? First disable the OZW hardware. I only have powered (not battery) devices (switch, sunblinds, lux sensor, temp sensors)
lost
Posts: 616
Joined: Thursday 10 November 2016 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: zwavejs2mqtt

Post by lost »

enboer wrote: Tuesday 04 October 2022 23:14 I understand that I have to switch from OZW to the MQTT setup, sooner or later...
That's really a shame to replace a single C++ library with such a SW nightmare. So this'll be later for me. My system is done so no need to support recent HW and if I add something, this'll be during zwave discounts to come as such setup will IMO be the last nail on zwave's coffin.
red59
Posts: 22
Joined: Wednesday 04 October 2017 13:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: zwavejs2mqtt

Post by red59 »

dobber wrote: Sunday 25 September 2022 19:59 Is the battery level visible in zwavejs2mqtt? I have one zwave fibaro door sensor and two zwave+ fibaro door sensors. On the "+" I get battery status, but not on the old version. If the battery level is not present in zwave2mqtt it is not a domoticz issue.

Hello,

Sorry for late reply. Yes battery level is visible in zwavejs2mqtt but never updated...2 weeks ago i have replaced a battery on a fibaro door sensor ans today battery level is still red 0%, even after full reinterview of the node.
I know it is not a domoticz issue but if someone has solved this problem that would be great to share.
User avatar
Ragdag
Posts: 95
Joined: Friday 30 March 2018 13:56
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: zwavejs2mqtt

Post by Ragdag »

red59 wrote: Friday 07 October 2022 7:50
dobber wrote: Sunday 25 September 2022 19:59 Is the battery level visible in zwavejs2mqtt? I have one zwave fibaro door sensor and two zwave+ fibaro door sensors. On the "+" I get battery status, but not on the old version. If the battery level is not present in zwave2mqtt it is not a domoticz issue.

Hello,

Sorry for late reply. Yes battery level is visible in zwavejs2mqtt but never updated...2 weeks ago i have replaced a battery on a fibaro door sensor ans today battery level is still red 0%, even after full reinterview of the node.
I know it is not a domoticz issue but if someone has solved this problem that would be great to share.
Had the same issue last week with Fibaro smoke alarm and it would not update its battery level in ZwaveJSUI.
What I did was take the battery out of the device again and waited a minute before putting it back in. Now the device beeped and the battery level was updated in ZwaveJSUI.
red59
Posts: 22
Joined: Wednesday 04 October 2017 13:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: zwavejs2mqtt

Post by red59 »

will try, but battery was out since a few day when i replace it (so node has been "unavailable" for many hours).
JuanUil
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

Post by JuanUil »

Hi all,

since 2015 i am using Domoticz now.
For a long time everything worked well.
I have a lot of Z-wave devices.
Last months I see that especially on switching groups it is not working anymore :evil:
Domoticz says switch is off but lamp is still on a.s.o.
The WAF has dropped to zero. :twisted:
So my plan is:
make a new install on a reserve pi4
switch to zwavejs2mqtt
and hope to be happy again.
I have read the complete topic now but since I am a complete noob on linux and all programming I was looking for a wiki to do the above.
Can somebody point into the right direction?

Thnx in advance
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
User avatar
waltervl
Posts: 5149
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: zwavejs2mqtt

Post by waltervl »

JuanUil wrote: Wednesday 12 October 2022 19:55 Hi all,

since 2015 i am using Domoticz now.
For a long time everything worked well.
I have a lot of Z-wave devices.
Last months I see that especially on switching groups it is not working anymore :evil:
Domoticz says switch is off but lamp is still on a.s.o.
The WAF has dropped to zero. :twisted:
So my plan is:
make a new install on a reserve pi4
switch to zwavejs2mqtt
and hope to be happy again.
I have read the complete topic now but since I am a complete noob on linux and all programming I was looking for a wiki to do the above.
Can somebody point into the right direction?

Thnx in advance
Jan
Install Domoticz on a new RPi https://www.domoticz.com/wiki/Raspberry_Pi
Be carefully with python plugins if you use them, see the warning on the wiki.

Setup Zwavejs2mqtt: https://www.domoticz.com/wiki/ZwaveJS2MQTT
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
JuanUil
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

Post by JuanUil »

So I made a complete fresh install off Domoticz and updated pi OS
Then wanted to install ZwaveJS in docker gave these commands and get failure

Code: Select all

pi@Pi4-Nieuw:~ $
pi@Pi4-Nieuw:~ $ docker run --rm -it -p 8091:8091 -p 3000:3000 --device=/dev/ttyUSB-Zwave-Jan/dev/zwave \
> --mount source=zwave-js-ui,target=/usr/src/app/store zwavejs/zwave-js-ui:latest
docker: unknown server OS: .
See 'docker run --help'.
any help is welcome!!
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
mgugu
Posts: 208
Joined: Friday 04 November 2016 12:33
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: France
Contact:

Re: zwavejs2mqtt

Post by mgugu »

JuanUil
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

Post by JuanUil »

mgugu wrote: Thursday 13 October 2022 17:57 Check https://docs.docker.com/engine/install/ ... stinstall/ docker group
Thnx mgugu,
did this bur the next fault allready appears :oops:

Code: Select all

pi@Pi4-Nieuw:~ $ docker run --rm -it -p 8091:8091 -p 3000:3000 --device=/dev/ttyUSB-ZwaveJan/dev/zwave --mount source=zwave-js-ui,target=/usr/src/app/store zwavejs/zwave-js-ui:latest
docker: Error response from daemon: error gathering device information while adding custom device "/dev/ttyUSB-ZwaveJan/dev/zwave": not a directory.
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
mgugu
Posts: 208
Joined: Friday 04 November 2016 12:33
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: France
Contact:

Re: zwavejs2mqtt

Post by mgugu »

This is another problem now.
Looks like your zwave controler "/dev/ttyUSB-ZwaveJan/dev/zwave" is not correctly referenced
harrykausl
Posts: 177
Joined: Sunday 13 November 2016 10:43
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Germany
Contact:

Re: zwavejs2mqtt

Post by harrykausl »

I‘m still on OZW with version 14532. I have problems with timers on my heating thermostats, they seem to sleep and I have to do temperature changes several times. I think, the problem was not in the last stable, because since that something changed in updating database immediatley with new values. So I think its time to switch to zwave2mqtt.
OK so the question. Can I switch to zwave2mqtt without using docker (install everything directly on the pi)?
mgugu
Posts: 208
Joined: Friday 04 November 2016 12:33
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: France
Contact:

Re: zwavejs2mqtt

Post by mgugu »

harrykausl wrote: Friday 14 October 2022 7:54 I‘m still on OZW with version 14532. I have problems with timers on my heating thermostats, they seem to sleep and I have to do temperature changes several times. I think, the problem was not in the last stable, because since that something changed in updating database immediatley with new values. So I think its time to switch to zwave2mqtt.
OK so the question. Can I switch to zwave2mqtt without using docker (install everything directly on the pi)?
AFAIK there is no apt package for zwavejs2mqtt. You can install it with snapd but I dont like that solution due to the huge amount of files installed by snapd in the OS. For me the most rationale solution is to use docker (easy install, easy update)
JuanUil
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

Post by JuanUil »

mgugu wrote: Friday 14 October 2022 0:27 This is another problem now.
Looks like your zwave controler "/dev/ttyUSB-ZwaveJan/dev/zwave" is not correctly referenced
took another port now /dev/serial/by-id/usb-0658_0200-if00 do I need to leave the : in place or delete it?
so:
docker run --rm -it -p 8091:8091 -p 3000:3000 --device=/dev/serial/by-id/usb-0658_0200-if00:/dev/zwave \
or
docker run --rm -it -p 8091:8091 -p 3000:3000 --device=/dev/serial/by-id/usb-0658_0200-if00/dev/zwave \

sorry for my nooby questions and thnx for your help
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
JuanUil
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

Post by JuanUil »

Leaving the : in place I get this:

Code: Select all

pi@Pi4-Nieuw:~ $ docker run --rm -it -p 8091:8091 -p 3000:3000 --device=/dev/serial/by-id/usb-0658_0200-if00:/dev/zwave \
> --mount source=zwave-js-ui,target=/usr/src/app/store zwavejs/zwave-js-ui:latest
Unable to find image 'zwavejs/zwave-js-ui:latest' locally
latest: Pulling from zwavejs/zwave-js-ui
c6556b3b6858: Pull complete
2274198401fd: Pull complete
72dfb3b1ff2d: Pull complete
7afe63fea635: Pull complete
7989bb2f72a0: Pull complete
eed636a44740: Pull complete
4f4fb700ef54: Pull complete
Digest: sha256:2c077c03d0eac9f3f9c68a53c1dd358ffcd32907188fccc4b76974d4fb3a968a
Status: Downloaded newer image for zwavejs/zwave-js-ui:latest


#
# Fatal error in , line 0
# unreachable code
#
#
#
#FailureMessage Object: 0xbecc84dc
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
mgugu
Posts: 208
Joined: Friday 04 November 2016 12:33
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: France
Contact:

Re: zwavejs2mqtt

Post by mgugu »

The ":" is mandatory because it separates the external controler reference from the internal one.
You probably have a wrong configuration.
You should follow the wiki at https://www.domoticz.com/wiki/ZwaveJS2MQTT in which docker-compose is recommended.
If you absolutely prefer command line, instructions are here: https://zwave-js.github.io/zwave-js-ui/ ... uick-start
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest