- Working with Arduino Libraries
- Using SmartThings developer features
- SmartThings Custom DeviceTypes and SmartApps
- Undestanding of Virtual Switches in SmartThings
- Simple understanding of how RF devices work.
First I'd like to thank Dan, @ogiwon over at the SmartThings community, I wouldn't have been able to complete this without him. I’m posting my version separately because I feel it’s a bit easier for newcomers as it has less libraries required. Download the SmartThings ThingShield demo library as that will be required and put the arduino code provided in the sketches folder.
After purchasing the required equipment I would recommend getting the Arduino code to work by itself with simple serial commands acting as the ThingShield. Read up on importing libraries as the RC-Switch library is required, sorry I have not packaged it as nicely as @ogiwan. Once you can control the switches through the serial interface you can then begin testing with Smart Things. Attach the ThingShield to the Arduino and pair the shield with your hub, it should start out in pairing mode, but if not directions should be easy to find, I had no troubles. (EDIT - I forgot to add that I soldered a 433mhz antenna to the solder pad labeled ANT on the transmitter, this boosts range significantly, I included the link to the ones I bought, length and helical turns are important so make sure it's pre-cut and twisted for your application.)
Now you need to set your newly paired device with the ST_Anything_RCSwitch device type. Now create however many virtual switches as you have physical switches. Use the Multiplexer SmartApp to link the virtual switches to the arduino device and things should be turning on and off on the cheap!
Finally I'd like to get a 3D printed case, I'll update if I ever do.