Page 18 of 23
Re: zwavejs2mqtt
Posted: Thursday 15 September 2022 16:03
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.
Re: zwavejs2mqtt
Posted: Thursday 15 September 2022 22:35
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.
Re: zwavejs2mqtt
Posted: Thursday 22 September 2022 9:43
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
Re: zwavejs2mqtt
Posted: Sunday 25 September 2022 19:59
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.
Re: zwavejs2mqtt
Posted: Tuesday 04 October 2022 23:14
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)
Re: zwavejs2mqtt
Posted: Wednesday 05 October 2022 11:13
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.
Re: zwavejs2mqtt
Posted: Friday 07 October 2022 7:50
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.
Re: zwavejs2mqtt
Posted: Friday 07 October 2022 9:33
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.
Re: zwavejs2mqtt
Posted: Monday 10 October 2022 12:40
by red59
will try, but battery was out since a few day when i replace it (so node has been "unavailable" for many hours).
Re: zwavejs2mqtt
Posted: Wednesday 12 October 2022 19:55
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
Domoticz says switch is off but lamp is still on a.s.o.
The WAF has dropped to zero.
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
Re: zwavejs2mqtt
Posted: Wednesday 12 October 2022 20:02
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
Domoticz says switch is off but lamp is still on a.s.o.
The WAF has dropped to zero.
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
Re: zwavejs2mqtt
Posted: Thursday 13 October 2022 17:20
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!!
Re: zwavejs2mqtt
Posted: Thursday 13 October 2022 17:57
by mgugu
Re: zwavejs2mqtt
Posted: Thursday 13 October 2022 22:28
by JuanUil
Thnx mgugu,
did this bur the next fault allready appears
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.
Re: zwavejs2mqtt
Posted: Friday 14 October 2022 0:27
by mgugu
This is another problem now.
Looks like your zwave controler "/dev/ttyUSB-ZwaveJan/dev/zwave" is not correctly referenced
Re: zwavejs2mqtt
Posted: Friday 14 October 2022 7:54
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)?
Re: zwavejs2mqtt
Posted: Friday 14 October 2022 11:05
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)
Re: zwavejs2mqtt
Posted: Friday 14 October 2022 12:36
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
Re: zwavejs2mqtt
Posted: Friday 14 October 2022 12:56
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
Re: zwavejs2mqtt
Posted: Friday 14 October 2022 13:53
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