


Misterhouse - a Home Driven by Perl Scripts 265
An anonymous submitter copies from the website: "MisterHouse is an open source home automation program. It's fun, it's free, and it's entirely geeky. Written in Perl, it fires events based on time, web, socket, voice, and serial data. It currently runs on Windows 95/98/NT/2k/XP and on most Unix based platforms, including Linux and Mac OSX. It can talk, it can check your messages, control the lights, program your VCR, and what is best - it understands spoken commands. It can even track your car by interfacing to a TNC. And there are 600 users and 209 authors contributing to this project. Cool, eh?"
slash (Score:5, Funny)
This may be the first time that we can slashdot a house!
sourceforge.net (Score:3, Informative)
Re:sourceforge.net (Score:5, Interesting)
Re:sourceforge.net (Score:5, Informative)
Re:sourceforge.net (Score:2, Informative)
Yes, if you buy everything from x10.com, some of it's a bit cheap. However, if you buy quality, you get quality. Leviton makes a lot of x10 stuff, and it's very nice. You can also get an RF receiver that receives all house codes.
There's more x10 stuff out there than you think.....
-Kelly
Re:sourceforge.net (Score:3, Informative)
I have used them in environments with lousy wiring, and some modules exhibited what you're talking about.
Re:sourceforge.net (Score:2)
. . . you need one for both phases of the power in your house . . .
This product [smarthome.com] seems able to handle your situation, and can be used for more than just the remotes.
Re:sourceforge.net (Score:2)
I was thinking, it would be neat to couple the phases via 2 computer interfaces and a couple networked machines? I don't know. X10 has been fascinating, but even I have had issues with modules. I had an appliance module that with 90 percent of appliances it would work great, but when I put it on my coffee pot, I noticed it would not shutoff completely (it's a dumb coffee pot....no microprocessor or anything). I noticed it
Very similar to MIT's Project Oxygen (Score:5, Interesting)
Re:Very similar to MIT's Project Oxygen (Score:2)
It would be cool, but.. (Score:3, Funny)
A sign of the apocalypse (Score:5, Funny)
209 Perl programmers coding scripts to run my house. Who would be insane enough to run that code? All thoughts about the maintainability of Perl aside I find I require my house to do very little text processing.
Re:A sign of the apocalypse (Score:3, Funny)
Jason
ProfQuotes [profquotes.com]
Target audience (Score:2)
Other Perl programmers, hence the advertisement on Slashdot.
Re:A sign of the apocalypse (Score:4, Insightful)
/.'d already... (Score:5, Funny)
Re:/.'d already... (Score:5, Interesting)
Mister House (which itself is OK) is usually used to drive X10 hardware which excuse me for the engineering language is a crock of shit. Low bandwidth (several bits per second) shared bus over power line. Once you got past 4-5 peripherals and it has just started to look really usefull you start getting gremlins. Lights coming on and off by themselves, central heating going haywire and so on. Most importantly it starts taking up to 10 seconds for some of the sensors to respond to a poll. So your garage lamp gets turned on 10 seconds after your IR sensor reacts.
No thanks.
Do not smoke this shit (have friends who do though). Once I am done with all the current house work I will wire some of the stuff but it will be using good ole cat5 for the sensors on dedicated wiring. And good ole cat5 to the relays once again on dedicated wiring. And some use for some good ole serial boards that will otherwise byte the bullet. Possibly once again driven by a heavily modified mister house but no X10.
Re:/.'d already... (Score:2)
Say, 32k of ram, maybe 128k of eeprom, and you could hook up 20 or 30 of these things, one daisy chained to the next. Could even use cat5, and reserve a pair for power. For peripheals, they would be simple relays and sensors... switches, thermistors, etc.
Overkill?
Re:/.'d already... (Score:3, Informative)
Re:/.'d already... (Score:4, Interesting)
Most occupancy sensors have a built in set of contacts (optionally two sets sometimes) specifically for switching lights. If you want to monitor or override the sensor with a central computer, that's perfectly doable... but there's no sense in sending a signal half way across the house, prosessing it, and sending a signal all the way back when the sensor itself is perfectly capable of dealing with it directly.
Same thing with heating. If you're going to need a thermostat for each room/zone anyway, why not let it control the heating directly and have the central computer step in only as a secondary control? No lag, more robust (since otherwise the computer presents a single point of failure) and probably more modular.
A simple stand-alone controller to open and close window shades (for example) can be built for a few bucks each, and you'ld probably only need one per room, if that many. What would it take? Photo cell of some kind, relay, power supply, small PIC or other microcontroller package, and a motor. No big deal!
Running a dedicated wire is still a good idea regardless. *maybe* using one or two X10 devices for things that might not lend themselves to hardwiring, or something you might not have around long enough to warrent dedicated controls. (Holiday lights maybe? I dunno...)
=Smidge=
Re:/.'d already... (Score:3, Informative)
I am not opposed to the idea that a computer be allowed to control basic energy/comfort systems aroudn the home. I can see great advantage in that.
Why buy a top of the line thermostat? A $10 (if that) bi-metallic strip + contact type is all you need. With the computer as a secondary controller, it makes sense. The thermostat would maintain the temperature in the room at a preset temp unless the computer tells it not to. (I believe these types of thermostats have both h
Re:/.'d already... (Score:3, Interesting)
Also if it doesn't support it today, it will as soon as you write the interface for it, which is usually quite s
Re:/.'d already... (Score:2)
Re:/.'d already... (Score:2)
Re:/.'d already... (Score:2)
As I recall, the server you're looking at is not the server that actually runs his house. Misterhouse first came to my attention in a Perl Journal [sysadminmag.com] back in 2000.
What will the computer say? (Score:4, Funny)
"Notice, there were 668 web hits from 74 clients in the last day."
Heh... wonder what the speech output for today will be...
"My mind is going... Dave..."
I dunno... (Score:5, Funny)
MISTERHOUSE: I'm sorry, Dave, I can't do that...
Yikes!
Re:I dunno... (Score:2)
Re:I dunno... (Score:3, Funny)
Great for lazy crominals... (Score:5, Funny)
Hardware (Score:3, Interesting)
Software does me no good if I don't have the hardware to make it work.
Re:Hardware (Score:2)
Radio Shack just didn't have the answers.
Thanks.
Re:Hardware (Score:3, Funny)
Turns out that's not really the slogan, it's just being misinterpreted through slight of tongue on their part and your subconscious saying, "They didn't just say that!" But they really did just say that.
The slogan is actually, "You've got questions. We've got Assholes."
Re:Hardware (Score:2)
I have equipped my parents home with an X10 based system and all of there light switch modules and appliance outlets (all the in-wall variety) came from Radio Shack with only computer interface and software comming from online. It's been four years and no problems yet.
Re:Hardware (Score:5, Informative)
(Google Cache [216.239.53.100])
6.8 What sort of hardware do you have in your house?
This is what is currently (04/2001) in Bruce's house (see mh/docs/mh.* 'List of supported hardware interfaces' for more info):
- Mh running on a dual 600 PIII Win 2K box great for quick mh debugging
- SB Live Value sound card (supports simultaneous sound sources)
- PCI ByteRunner 8 port serial card
- PCI phone modem for callerid logging and announcements
- Linux box for hosting misterhouse.net
- 5 other networked computers for mp3 client/servers, shoutcast server, games, writing, and work from home
- Radio Shack PA amp with a PA speaker in each room
- Wiring closet with 3 DIO weeder cards and 2 analog cards
- 16 relay card from jameco for PA speaker switch
- Home brew motor/relays for up/down control of 9 Window quilt curtains
- RF sensor in the mailbox across the steet
- WX200 weather station from Radio Shack
- Relays controling garage door and furnace heat and fan
- Digital input sensors on doors and garage door
- A few iButtons for testing
- X10 IR commander and CM17 for sending IR signals
- X10 CM11 with X10 consoles in each room for control
- X10 motion sensors, light, and appliance modules
- Matrix-orbital LCD keypad for local output and control
- WAP cell phone for remote queries and control
- A ham radio TNC for tracking 2 GPS APRS equipped cars
- NetGear router with mh monitored SYSLOG data for tracking internet traffic
- MSVoice VR via a Andrea Desktop Array microphone
Re:Hardware (Score:4, Informative)
There are plug-in modules to control lamps and appliances, they generally run $5-$15 each. You can also buy wire-in switches and outlets that can be controlled by X-10 signals, cost is $10-$70 each. So you probably don't want to replace every switch in your house.
There's a lot of activity on the comp.home.automation group if you want to learn more.
Coffee, Security (Score:4, Funny)
Of course, the other thing to worry about here is security -- I sure would hate to get 0wn3d by some idiot who then had the power to play with my lights, change my channels, etc. I know the easy crack here is to say "then just don't run it on Windoze!", but I won't take that road because RedHat, etc. are almost as vulnerable if improperly configured.
Re:Coffee, Security (Score:2)
Tried MisterHouse (Score:5, Interesting)
If you have the computing power to use it though, try it, it's fun
Re:Tried MisterHouse (Score:2)
I don't need it to tell me "Notice, the sun is bright at 32 percent, and it is cold outside at 24 degrees, so I am opening the curtains at 8:07 AM", though. Especially not at 8:07.
I've been waiting for something like this for a bit, something that integrates controls, small
Why zone your heat using MisterHouse? (Score:2)
Re:Why zone your heat using MisterHouse? (Score:3, Funny)
Dammit, you are not going to talk me out of buying cool little LCD panels and other assorted hardware and fiddling with this for weeks on end to get it going.
Re:Tried MisterHouse (Score:2, Interesting)
I have to deal with cranky perl code (and C, C++ and Java) all day at work, I don't want to have to do it to get my lights to work.
I run HomeSeer (windows only) http://www.homeseer.com and it was much easier to set up out of the box, but you do have to pay for it.
-Kelly
Re:Tried MisterHouse (Score:2)
Re:Tried MisterHouse (Score:3, Informative)
Mr House is running on my MP3 server/mail server/ internal DNS server/web server.
It handles around 5000 messages/day, streams MP3s and generally just runs.
It's a K5@233 with 48MB of RAM. It cost me $200 a long time ago. It will never die. It's sole purpose was to spit files to the net from a large disk for the other machines. The NeXT didn't cut it (IDE was cheaper :).
Why not the dual CPU 1u und
Re:Tried MisterHouse (Score:3, Informative)
You do not need anything dedicated, folks.
Electric Dreams... (Score:2)
I'll also preempt the inevitable pron references by saying, yes, there were also movies listed on Amazon that have the same name. Simply pointing that out does not make for a creative reply!
Wow! Feel the awsome power of the Slashdot Effect (Score:2)
The FSW Life Cycle (Score:5, Funny)
2. Succeed in making a good project
3. Get noticed by
4. Loose your bandwith allocation for the next year
5. Go under because the bandwith nazi creditors are after your free project.
Looks like they are midway between 3 and 4... huummm =P
Site ./ - Yahoo groups messages (Score:3, Informative)
http://groups.yahoo.com/group/MisterHouse/message
Perl House? (Score:2, Funny)
I named my wall "Larry" (Score:5, Funny)
7:30 Kitchen and Bathroom Tile installation
8:30 Decorator Paint techniques
9:00 Perl syntax for home automation
Name your house's components:
my($Wall) = "Larry";
Mirroring (Score:2, Informative)
I was able to snag a copy of the Features page before the Slashdotting began (damn near got first post, too, but I actually wanted to *read* a bit before I posted). I've put a copy [schnarff.com] on my web server.
Oh, and I believe this is the Google Cache [216.239.37.100], but it's barely even responding. We couldn't have Slashdotted Google, could we?
Re:Mirroring (Score:2)
Bluetooth (Score:5, Interesting)
Imagine this technology combined with a simple Bluetooth ID that you can carry in your wallet:
Re:Bluetooth (Score:5, Funny)
Re:Bluetooth (Score:5, Funny)
And they'd have Genuine People Personalities? It'd be a door's pleasure to open for you, and their satisfaction to close again with the knowledge of a job well done?
I'm not too sure if its all a good idea. Don't forget that history has shown the marketing division who came up with GPP to be a bunch of mindless jerks who were first up against the wall when the revolution came.
Re:Bluetooth (Score:2)
Of course most people who implement this in their own homes are not the types who entertain often
Why Bluetooth? (Score:5, Funny)
Hell, just tape/glue/insert an RFID tag to your arm (like a nicotine patch or something) and you can walk around your house naked and still have everything working.
Re:Bluetooth (Score:3, Interesting)
Re:Bluetooth (Score:2)
Re:Bluetooth (Score:4, Interesting)
Sure, it's easy enough to count the folks in any given room and make the decision to turn the lights off when the last person leaves, but what if I like the lights bright and my wife doesn't? If I'm in the room with the lights bright and she walks in, should it dim the lights? Pick some point between our two references? Same goes for TV channels/volume, room temp, etc.
And what about visitors? Imagine a SuperBowl party where the host leaves the room to take a leak and the TV shuts down... Guess you'd need to hand out IDs as visitors enter the house...
It would still be cool, though. :)
Re:Bluetooth (Score:3, Interesting)
User configuration is of course they key here.
The controlling computer should have a configure menu (of course only activated when you walk up to it
Also, I would imagine panels in each room which would allow for overrides, perhaps a small touch-sensitive LCD screen, or even one of those PDA-lo
Fewer brownouts due to airconditioners? (Score:5, Interesting)
Actions similar to this can save a lot of energy. Curtains are a super efficient way to control internal temperatures, if and when they are uses correctly. How many of you remembed to close your blinds before you went work?
Now if there was only a script that would output this:
Re:Fewer brownouts due to airconditioners? (Score:5, Funny)
Why just PERL? (Score:5, Funny)
The house that PERL built:
. . . has more entrances than you know what to do with, and most of them lead to the same room anyway. Random geeks walk by and obfuscate your living room for fun.
The house that RUBY built:
. . . makes eating dinner confusing, as when you drop your spork (an instance of class spork, which multiply inherits from classes spoon and fork, two subclasses of class utensil, a subclass of . .
The house that LUA built:
. . . swing at the large rat. You hit! The large rat disappears in a cloud of red mist. You have killed the large rat. The grid bug misses. The grid bug misses. You are jolted by the grid bug. There is a fountain here. Do you drink from it? (y/n) Your god is angry with you. Curse the day that all the nethack and angband developers integrated lua into their games. The grid bug misses . . .
Re:Why just PERL? (Score:2)
Re:Why just PERL? (Score:2)
Re:Why just PERL? (Score:2)
Re:Why just PERL? (Score:2)
Your house inherits from the class of all houses, so you don't have to build much of it. Yet pointers still allow you to punch holes through your walls.
The house that C# built:
You can mess up your house and much as you want, then a garbage collector comes by to clean it up. Your house in controlled over the Internet with web services. Your rent goes to Bill Gates.
The house that Scheme built:
Your house is a mystery to everyone else. Your wife complains about all the parenthe
240 V Network, e.g. Europe? (Score:5, Interesting)
Having to use 240->120 and 120->240 transformers would be practically impossible. Does anyone know of hardware that would work on this side of the Atlantic?
Re:240 V Network, e.g. Europe? (Score:5, Informative)
Use a Mirror (Score:5, Informative)
or
Flash Powered House!! (Score:2)
Here... [bbspot.com]
Re:Flash Powered House!! (Score:3, Funny)
]]Here... [bbspot.com]
The whole house consists of one room, but with the power of Flash, Farrell never needs to leave that room. "I'm a little uncomfortable taking a leak the same place where I sleep and fry my eggs, but never having to walk more than 5 feet is pretty nice."
So...what? He sleeps in the toilet or pees into the range top or fries his eggs on his bed?
Hmm.. (Score:2)
Mrs. House? (Score:5, Funny)
YOU: "Mrs. House, turn on the TV."
MRS.HOUSE: "Turn it on yourself, ya lazy bum!"
serial input detects a change on a window sensor...
MRS.HOUSE: "I heard a noise... go see what it was!"
Misterhouse, my specs ... (Score:5, Informative)
http://mywebpages.comcast.net/ncherry/
http://linuxha.sourceforge.net/
http://hcs.sourceforge.net/
In that case... (Score:5, Funny)
I believe I'll be turning it off during sex.
Re:In that case... (Score:2, Funny)
I think that will be the last problem to cross anyones mind.
X10 in general (Score:4, Interesting)
There are X10 solutions for use in Europe as well. Here's a jumping off point:
http://www.x-10europe.com/
Good luck!
It will even run the x10 camera. (Score:2, Informative)
Home Automation through web services (Score:5, Interesting)
The devices were controlled by a software gateway on a central home computer thru Wi-Fi and the specifications for communication between the gateway and the home device were encapsulated in an XML driver.
http://www.microsoft.com/presspass/features/2001/
http://it.asia1.com.sg/newsdaily/news003_20011030
Re:Home Automation through web services (Score:2)
http://www-scf.usc.edu/~arch507 [usc.edu]
Shoulda Seen This Coming... (Score:3, Funny)
Only one person would have enough nerve to give me the Raspberry:
Lonestar!
(With Apologies to Mel Brooks)
Misterhouse and alternatives (Score:5, Informative)
condominiums (Score:2)
master control (Score:2)
Finally (Score:2)
But what will they do when I'm not home?
Obfuscation Run Awry (Score:3, Funny)
on my house, and now it won't let me in! That's the last time I download from the obfuscated home automation script section.
You get what you pay for... (Score:2, Insightful)
Something to remember...
Depending on how tightly you integrate home automation, and how *removeable* you make it, the resale value of your home will drop. Nobody wants to buy a house that isn't under their control and requires intricate knowledge to work and troubleshoot.
As a second tip...I work professionally in industrial automation, and have designed and worked on control systems for years. This control hardware is unreliable at best...remember, it is your house after all, and you DO get what you pay
Does this mean... (Score:3, Funny)
Aye... (Score:2)
But it can't take a slashdotting.
Yo Grark
Canadian Bred with American Buttering.
two year user here (Score:3, Interesting)
I've also been waiting for some usable code to receive button presses from my MR26A wireless receiver. Until then, my Misterhouse is one-way only.. turning on lights, either at sunset or when I'm scheduled to arrive so long as that time is between sunset and 8pm. The light in the kitchen also blinks at sunset on trash night, which is when our condo rules state we can put the trash out. I've also bought a ham radio specifically for the purpose of using the car tracking features, but I still have to pick up the PIC-E from TAPR and wire it all up.
I was just cracking my knuckles and about to dig back in to MH, too, because it already offers a tv schedule browser in grid format with "click here to record" functionality. TivoWeb lets you search the tv schedule but not browse it in grid format. I will code MH to schedule a recording on the Tivo over the LAN whenever I select a show to record from the MH grid. I have thought about getting an Audrey for that purpose in the living room.
And I, too, dream about walking through the house and have the lights and tv react appropriately. This is where the "$sleeping" variable has helped greatly -- by not having lights turn on automatically when my wife came to bed after I was asleep. No matter which light she requested to turn on, the farthest one away would turn on at 10-20% bright so as to not wake me up if the system knew/thought I was still asleep. The days of, "its okay, Alfred, I'm awake" are still a ways off, though
Oh, and something most everyone seemed to miss here, is that MH natively supports VoiceXML which means it integrates with Tell Me @ 800-555-TELL. Yes, you can call an 800 # and interact, by voice, with your home automation system totally free of charge, using text instead of voice (on the server end) and therefore significantly less horsepower. I run mine on a Pentium 75 with 48MB RAM and a thinned down RH71 or RH72 on a 1.2GB disk.
Homer's theme song (Score:4, Funny)
Zone heating/cooling (Score:3, Interesting)
I was going to do this for my own house, but the automatic duct dampners were not cheap and I don't trust my computer programming when it comes to controlling heat and ac
"Why is the electric bill so high in January, honey?"
"Oh slight bug converting C to F and the AC was on in the guest room for 4 days straight."
Re:Seems to be using X10 (Score:5, Informative)
Re:Seems to be using X10 (Score:2)
Is anyone working on a similarly simple protocol which runs over 802.11b? The whole powerline idea seems antiquated now that I have a proper network covering my house. Are there even any affordable ($10) 802.11b components yet that someone could use to build such switches?
Re:Seems to be using X10 (Score:2)
Someone earlier was mentioning $50 units for lamp modules, which is why I asked if there was a $10 802.11 component (so a $50 target could still be easily had). I'd pay $10 extra for the 802.11 variety.
Re:here comes the inevitable (Score:3, Informative)
That would be a suburb with one master key going to all the locks and random neigbours crashing in your house all the time...
Sounds like a blast!