siwilson
(Simon)
February 26, 2018, 3:11pm
5
I had something like this working using WebIOPI and the PI relay controller on here. Your PI would sense a contact change and then the ST device would change accordingly.
Hey all,
UPDATE: I have added functionality to ensure that changes made to WebIOPi outside of SmartThings are picked up. Please uninstall your current version by removing all references to your relays, then deleting the relays. Upgrade, and re-add them. It’s a much better experience this time
I wanted a device type to control raspberry Pi relays from SmartThings. I couldn’t find anything out there already, so this project was born.
Basically, we are going to set up our Pi with a HTTP REST service which is capable of turning on and off relays which can be connected to just about anything. Then we’ll add a device type which acts as a switch which is able to turn the relay on and off in SmartThings. You can then use this device in any SmartApp which uses switches.
This is a very ‘happy pa…