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!
Razberry Zwave Nodes disappears after reboot
Moderators: leecollings, remb0
-
- Posts: 156
- Joined: Monday 25 May 2015 22:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2020.2
- Location: Netherlands
- Contact:
Re: Razberry Zwave Nodes disappears after reboot
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?
Is there a way to delay the startup by some time?
-
- Posts: 80
- Joined: Friday 21 April 2017 8:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Czechia
- Contact:
Re: Razberry Zwave Nodes disappears after reboot
Hi,
you can add delay to startup script of Domoticz, for example:
Numeric argument is time in seconds.
If using systemd unit, there are many different options...
you can add delay to startup script of Domoticz, for example:
Code: Select all
/bin/sleep 10
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
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
-
- Posts: 156
- Joined: Monday 25 May 2015 22:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2020.2
- Location: Netherlands
- Contact:
Re: Razberry Zwave Nodes disappears after reboot
Thanks! Willing to try this, could you tell me where to add this line (almost no noob anymore)mivo wrote:Hi,
you can add delay to startup script of Domoticz, for example:
Numeric argument is time in seconds.Code: Select all
/bin/sleep 10
If using systemd unit, there are many different options...

Verstuurd vanaf mijn SM-G920F met Tapatalk
-
- Posts: 80
- Joined: Friday 21 April 2017 8:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Czechia
- Contact:
Re: Razberry Zwave Nodes disappears after reboot
Copy for backup, and then open startup script /etc/init.d/domoticz.sh with preferred editor (vi, nano etc.)
Search for these lines:
Add sleep line:
Search for these lines:
Code: Select all
case "$1" in
start)
[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
do_start
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
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
-
- Posts: 3
- Joined: Monday 17 July 2017 20:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: The Netherlands
- Contact:
Re: Razberry Zwave Nodes disappears after reboot
I just tried this, but unfortunately it did not worked.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:Add sleep line:Code: Select all
case "$1" in start) [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME" do_start
Code: Select all
case "$1" in start) [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME" /bin/sleep 10 do_start
-
- Posts: 3
- Joined: Monday 17 July 2017 20:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: The Netherlands
- Contact:
Re: Razberry Zwave Nodes disappears after reboot
I have reinstalled Domoticz from scratch and now it seems that the problem has been resolved 

Who is online
Users browsing this forum: No registered users and 1 guest