Blog2012 ≫ Command line home automation in ruby

Oh yeah THAT is what people are crying out for! See my new work here1. Well I'm enjoying it, now I can turn stuff on and off from the raspberry pi 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...

I have also been using ustream.tv2 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.

Clare 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, whatever) with

gem install [lightwaverf](/wiki/#lightwaverf)

raspberry pi: Credit card sized super cheap computer, awesome.

⬅️ :: ➡️

Paul Clarke's blog - I live in Hythe near Folkestone. Wed to Clare + dad to two, I am a full-stack web developr, + I do js / Node, some ruby, other languages ect ect. I like pubbing, parkrun, eating, home automation + other diy jiggery-pokery, history, tree stuff, TV, squirrels, pirates, lego, and TIME TRAVEL.