eibyer
January 13, 2017, 11:02pm
3
Oh I wonder if any of the arduino experts may be able to point you into using the cheap ESP8266 development board for this. It’s got built in wifi so you all you need is the code to use the pins as relays.
Edit: Something like this one:
Hi all,
I’m pretty excited to be able to bring this project. It ties together and old Raspberry Pi running latest version of Raspbian with HTTPD and a PHP script. The PHP code runs the gpio command in order to trigger pin 4 of the RPi for a second then turns it off. This triggers a simple 5v relay which in-turn shorts out my gate.
The obvious difference of what I’m sharing here is the fact that I wrote a SmartThings Device Handler which uses a “hubaction” which means it can be triggered from a WAN connection w/o having to put your device out on the web with a public IP. The hub performs a local action on a local IP. The project is essentially a generic HTTP Device Handler for SmartThings. The goal was to keep it as small/simple as possible. So it consists only of a single PHP script and …
1 Like