Razberry Zwave Nodes disappears after reboot

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.
Post Reply
bks84
Posts: 6
Joined: Monday 17 July 2017 20:02
Target OS: Raspberry Pi
Domoticz version: 3.8153
Location: The Netherlands
Contact:

Razberry Zwave Nodes disappears after reboot

Post by bks84 » Monday 17 July 2017 20:16

Hello everyone,

Can anyone tell me what I should look for to make sure that the Zwave nodes does not disappear after a reboot? As soon as I stop the Domoticz service and remove the Zwcfg XML file and restart the service, the Zwave nodes are visible and are working fine. However as soon as I reboot the Raspberry Pi the Zwave nodes are gone again. I cannot find any solution for this, I hope someone can point me in the right direction.

Thanks in advance!

dressie
Posts: 108
Joined: Monday 25 May 2015 22:44
Target OS: Linux
Domoticz version: V3.8153
Location: Netherlands
Contact:

Re: Razberry Zwave Nodes disappears after reboot

Post by dressie » Tuesday 18 July 2017 22:25

I got the same thing. I just upgrade my hardware to a small PC running Linux. It's so fast that the Zwave Stick is not ready yet before Domoticz is loaded. This means I have to stop and start Domoticz before Zwave NODES return to Domoticz.
Is there a way to delay the startup by some time?

mivo
Posts: 119
Joined: Friday 21 April 2017 8:58
Target OS: Raspberry Pi
Domoticz version: beta
Location: Czechia
Contact:

Re: Razberry Zwave Nodes disappears after reboot

Post by mivo » Thursday 20 July 2017 16:25

Hi,

you can add delay to startup script of Domoticz, for example:

Code: Select all

/bin/sleep 10
Numeric argument is time in seconds.
If using systemd unit, there are many different options...
My toys:
Raspberry Pi 3 + UPS PIco HV3.0 A Stack
Minibian (Raspbian Jessie) + Domoticz beta
RFLink 433 Gateway, 1wire DS18B20 temp sensors (GPIO)
RaZberry module + 2x Comet Z-Wave + Z-wave socket
---
Plugins: WeMo Switch, UPS PIco HV3.0A on GitHub

dressie
Posts: 108
Joined: Monday 25 May 2015 22:44
Target OS: Linux
Domoticz version: V3.8153
Location: Netherlands
Contact:

Re: Razberry Zwave Nodes disappears after reboot

Post by dressie » Thursday 20 July 2017 16:28

mivo wrote:Hi,

you can add delay to startup script of Domoticz, for example:

Code: Select all

/bin/sleep 10
Numeric argument is time in seconds.
If using systemd unit, there are many different options...
Thanks! Willing to try this, could you tell me where to add this line (almost no noob anymore) ?

Verstuurd vanaf mijn SM-G920F met Tapatalk

mivo
Posts: 119
Joined: Friday 21 April 2017 8:58
Target OS: Raspberry Pi
Domoticz version: beta
Location: Czechia
Contact:

Re: Razberry Zwave Nodes disappears after reboot

Post by mivo » Thursday 20 July 2017 17:40

Copy for backup, and then open startup script /etc/init.d/domoticz.sh with preferred editor (vi, nano etc.)

Search for these lines:

Code: Select all

case "$1" in
  start)
        [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
        do_start
Add sleep line:

Code: Select all

case "$1" in
  start)
        [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
        /bin/sleep 10
        do_start
My toys:
Raspberry Pi 3 + UPS PIco HV3.0 A Stack
Minibian (Raspbian Jessie) + Domoticz beta
RFLink 433 Gateway, 1wire DS18B20 temp sensors (GPIO)
RaZberry module + 2x Comet Z-Wave + Z-wave socket
---
Plugins: WeMo Switch, UPS PIco HV3.0A on GitHub

bks84
Posts: 6
Joined: Monday 17 July 2017 20:02
Target OS: Raspberry Pi
Domoticz version: 3.8153
Location: The Netherlands
Contact:

Re: Razberry Zwave Nodes disappears after reboot

Post by bks84 » Monday 07 August 2017 7:04

mivo wrote:Copy for backup, and then open startup script /etc/init.d/domoticz.sh with preferred editor (vi, nano etc.)

Search for these lines:

Code: Select all

case "$1" in
  start)
        [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
        do_start
Add sleep line:

Code: Select all

case "$1" in
  start)
        [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
        /bin/sleep 10
        do_start
I just tried this, but unfortunately it did not worked.

bks84
Posts: 6
Joined: Monday 17 July 2017 20:02
Target OS: Raspberry Pi
Domoticz version: 3.8153
Location: The Netherlands
Contact:

Re: Razberry Zwave Nodes disappears after reboot

Post by bks84 » Monday 21 August 2017 23:16

I have reinstalled Domoticz from scratch and now it seems that the problem has been resolved :D

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests