I developed a software and hardware project to enable the control of a desk lamp remotely over the internet using a Pebble smart watch and a raspberry Pi as part of the University of York Blue Pi Thinking Challenge. The pi ran a nodejs webserver which was used to control the lamp directly. I wrote a watchapp for the Pebble in C that allowed it to send requests to the webserver to turn the lamp on and off. I used a relay to replace the manual switch on the lamp connected to the GPIO pins of the pi.
- nodejs – Used for the webserver that was run on the pi. This supported set and get requests which allowed the lamp to be controlled.
- C – Used in creating an app for the Pebble Smart Watch.
Source Code available on Github
Video of a project test