Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (12 sloc) 0.766 kB

Flat Control Panel

Sinatra app and daemons to handle flat automation.

Unlock front door via:

  • RFID card (Octopus)
  • Web interface
  • iPhone app that uses web API

Can also turn on lounge fan, lounge lights, hall lights via the web & iPhone interfaces.

Triggers actions when the front door is unlocked.

  • When it’s daytime, check whether XBMC is currently playing music or video. If not, start playing a Last.FM station.
  • When it’s nighttime, turn on the hall light automatically for 15 minutes so I don’t stumble around in the dark.

Tells me whether or not to take an umbrella to work.

  • Periodically checks for the day’s weather. If its going to rain, it switches on some lights in a bucket outside that holds our umbrellas.
Jump to Line
Something went wrong with that request. Please try again.