RPi Remote

This started out as a small project in which I soldered the GPIO connectors of my Raspberry Pi to the switches of remote control for wireless outlets. This was initally controlled by the simplest webapps ever, which consisted of links which executed a PHP script to toggle one of the GPIO pins.

This worked in the sense that I could in fact use it to toggle the lights in my tiny student "apartment". But I knew that when I moved back to Malmö I wanted to expand the functionality and stability.

So I started working on the current solution. And to make it more stable and extendable I actually designed the system to handle any number of raspberrys/any computer as well as any sort of remote control or other way of activating the outlets.

And the result is now a fairly fancy and well working webapp which is configurable from a simple json file where the switches, remotetypes, stations, groups of switches and anything I might have forgotten.

And to make the raspberry side of things a little better I ordered an RF-tranciever and recorded the signals sent from the remote for the different switches. I tried analyzing the signals to find some sort of pattern to be able to easily assemble the command to send, but I couldn't find one so I just recorded the entire thing.

Furthermore I'm currenlty in the process of automating the lights based on the time of day, the time of the sunset and whether i'm home or not.

Details

Timeperiod:

May 2014 -

VCS:

Git

Members:

Viktor Hansson