PDA

View Full Version : Pebble watch hack makes it a home automation controller



wraggster
May 3rd, 2013, 20:26
http://hackadaycom.files.wordpress.com/2013/04/pebble-watch-hack-home-automation.png?w=580&h=325
[Enrico] loves his Pebble watch, and recently had a chance to explore the code package used to customize its function. It turned out to be really easy to work with so he set out tomake the Pebble watch into a home automation controller (http://makr.co/blog/pebble-home-automation/).
So far the two bits of hardware used in his experiments are shown in the image above. The watch itself serves as the controller, interacting with the Ethernet relay board seen in the background. The watch communicates via Bluetooth but you don’t have to know much about that thanks to the example files available from the repository (https://github.com/Hexxeh/libpebble). With communications taken care of he needed a menu system to access commands on the watch. Instead of coding his own he hacked a playlist into the built-in music menu. This allows him to switch the relays on and off again as if he were playing or pausing audio tracks. See it in action after the break.

http://hackaday.com/2013/05/03/pebble-watch-hack-makes-it-a-home-automation-controller/