pi #2 check if domoticz running on pi #1 is online
Posted: Wednesday 20 March 2019 1:12
Hi,
I am setting up a second raspberry setup with domoticz as a failsafe for some critical stuff. That second raspberry will run only some relais directly on his gpio pins, so far so good.
Now this second raspberry pi must continue check if domoticz is running on my main raspberry pi domoticz setup. How can i do that?
I already have the second raspberry setup pinging the main raspberry, that works good for a total failure of the main raspberry, main raspberry offline? the second raspberry will turn all relais off instantly. But, in case of a domoticz crash on the main raspberry, the main raspberry will ofcourse still return the ping so its not totally safe.
How can i make a domoticz service checker on the second raspberry, that will check if domoticz is running on the main raspberry? And, i want that checker to trigger a dummy, so i can use that dummy switch in the same way as the pinger in my failsafe events.
So in case of a domoticz service crash or failure on the first raspberry with the main domoticz, i want that to trigger a dummy switch to "off" on the second raspberry, so i can make scripts on the second raspberry that with that dummy to open all relays on its gpio's.
Can i do that with master and slave domoticz? I really don't need master and slave for its Original features, pure only for checking if domoticz is online.
Thanks!
I am setting up a second raspberry setup with domoticz as a failsafe for some critical stuff. That second raspberry will run only some relais directly on his gpio pins, so far so good.
Now this second raspberry pi must continue check if domoticz is running on my main raspberry pi domoticz setup. How can i do that?
I already have the second raspberry setup pinging the main raspberry, that works good for a total failure of the main raspberry, main raspberry offline? the second raspberry will turn all relais off instantly. But, in case of a domoticz crash on the main raspberry, the main raspberry will ofcourse still return the ping so its not totally safe.
How can i make a domoticz service checker on the second raspberry, that will check if domoticz is running on the main raspberry? And, i want that checker to trigger a dummy, so i can use that dummy switch in the same way as the pinger in my failsafe events.
So in case of a domoticz service crash or failure on the first raspberry with the main domoticz, i want that to trigger a dummy switch to "off" on the second raspberry, so i can make scripts on the second raspberry that with that dummy to open all relays on its gpio's.
Can i do that with master and slave domoticz? I really don't need master and slave for its Original features, pure only for checking if domoticz is online.
Thanks!