Blog2012 ≫ Command line home automation in ruby

Oh yeah THAT is what people are crying out for! See my new work here. Well I'm enjoying it, now I can turn stuff on and off from the raspberry pi 1 over the internets (or anywhere on my local network) with commands like

[lightwaverf](/wiki/#lightwaverf) our lights on
[lightwaverf](/wiki/#lightwaverf) our [tv](/wiki/#tv) on
[lightwaverf](/wiki/#lightwaverf) dining light off

and so on... It's all in ruby just to practice really. Next stop work on a lightwaverf api it in node 2...

I have also been using ustream.tv 3 to watch the house remotely, so I can demo this to people outside of the house. Unfortunately absolutely no-one has been interested so far. I have used the Ustream api too to add details to my pi homepage as to whether I am broadcasting or not.

Wife has gone out this evening, and number two son has been a proper pain, he did not settle until gone 9pm, that is a good hour and a half of having to go in. He's just been too noisy to leave, I don't want him to wake Number one son up. I am on duty all night tonight, to make up for me going to the Chambers quiz last night, I will be listening out and doing the necessary bottle feeds.

Hmm I wonder if number two son has not settled because I've been flashing his light on and off or something?

UPDATE: just install this on your device (raspberry pi 1, whatever) with

gem install [lightwaverf](/wiki/#lightwaverf)
  1. Credit card sized super cheap computer, awesome.
  2. Javascript (programming language of the web) on the server side.
  3. Removed old ustream.tv link here.

⬅️ :: ➡️

Paulʼs weblog - I live in A sleepy town, Kent. Wed + dad to two, I am a full stack web developr, + I do js / node, some ruby, other languages etc. I like pubbing, running, restaurants, home automation + other diy jiggery-pokery, history, tree stuff, telly, squirrels, pirates ☠️, lego, + time travel.