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.
bks84
Posts: 1
Joined: Monday 17 July 2017 20:02
Target OS: Raspberry Pi
Domoticz version:
Contact:

Razberry Zwave Nodes disappears after reboot

Postby 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: 90
Joined: Monday 25 May 2015 22:44
Target OS: Linux
Domoticz version: V3.8100
Location: Netherlands
Contact:

Re: Razberry Zwave Nodes disappears after reboot

Postby 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: 51
Joined: Friday 21 April 2017 8:58
Target OS: Raspberry Pi
Domoticz version: beta
Location: Czechia
Contact:

Re: Razberry Zwave Nodes disappears after reboot

Postby 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
Some 1wire DS18B20 temp sensors (GPIO)
RaZberry module + 2x Comet Z-Wave + Z-wave socket
WeMo Switch

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

Re: Razberry Zwave Nodes disappears after reboot

Postby 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: 51
Joined: Friday 21 April 2017 8:58
Target OS: Raspberry Pi
Domoticz version: beta
Location: Czechia
Contact:

Re: Razberry Zwave Nodes disappears after reboot

Postby 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
Some 1wire DS18B20 temp sensors (GPIO)
RaZberry module + 2x Comet Z-Wave + Z-wave socket
WeMo Switch


Return to “Other questions and discussions”

Who is online

Users browsing this forum: No registered users and 5 guests