Page 1 of 1

Adding the On/Off state of a Raspberry pi to domoticz

Posted: Friday 19 February 2016 22:01
by TheoL
Not sure if anyone has ever posted this. But I spend a good couple of hours sorting this out. I wanted to be able to see in Domoticz whether a specific raspberry Pi was up and running (In this case a Music Box) or not. That way I can change the playlist from a Lua script without having to ping it etc.

The Domoticz part is easy, just add a virtual sensor and through a JSON call you can control that switch. But how do you let the Pi do that?

The original article is in Dutch, but google is your friend. https://translate.google.com/translate? ... omoticz%2F

And here is the original Dutch version http://www.houtbewerken-voor-dummies.co ... -domoticz/

Re: Adding the On/Off state of a Raspberry pi to domoticz

Posted: Wednesday 09 March 2016 20:40
by assenzuid
Thanks for sharing.