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/
Adding the On/Off state of a Raspberry pi to domoticz
Moderator: leecollings
-
- Posts: 135
- Joined: Friday 13 November 2015 9:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands, Emmen Area
- Contact:
Re: Adding the On/Off state of a Raspberry pi to domoticz
Thanks for sharing.
Who is online
Users browsing this forum: No registered users and 1 guest