1-wire and Misterhouse
Thursday, November 27th, 2008Misterhouse is a home automation program that runs on one of my old computers in the basement. So far it functions as follows – logs weather data (collected from Weather Bug), logs phone calls (caller id), and controls lights (on, off, dim, brighten) at various times. The control functions are via the power line control system X10. Now I am trying to expand the input and output range using the 1-wire network. Misterhouse may be able to talk to the 1-wire network directly – but I had no luck getting it to work – my 1-wire interface is via a USB port which may be part of the problem. Therefore I opted to go an indirect route using the OWFS suite of programs.
What happens is the the owserver program runs in the background, talking to the 1-wire network. The misterhouse program ( essentially a perl script) then talks to the server to get the current values ( or to write values to the network).
So far I have only a couple of basic temperature sensors up and running – and it took quite a bit of trial and error to get this far. More to come!