Home automation and health tracking.
ruby
sinatra
health
home
automation
raspberry pi
- 100% FOSS
- Easily implemented with any Raspberry Pi
$ git clone https://github.com/Avellea/AkaHome.git && cd AkaHome
$ gem install bundler
$ bundler install
$ sudo ruby ./start.rb <ip> <port>
NOTE: sudo
is required for Raspberry Pi functions. DO NOT OPEN THIS TO THE WORLD!
$ curl -X POST -d 'light=on' http://localhost:9999/api/v1/light/set
That line will turn on your lights, assuming you have a servo attached to that switch.