Create an Account
username: password:
 
  MemeStreams Logo

MisterHouse

search

Rattle
Picture of Rattle
Rattle's Pics
My Blog
My Profile
My Audience
My Sources
Send Me a Message

sponsored links

Rattle's topics
Arts
  Literature
   Sci-Fi/Fantasy Literature
  Movies
  Music
Business
  Tech Industry
  Telecom Industry
Games
Health and Wellness
Holidays
Miscellaneous
  Humor
  MemeStreams
   Using MemeStreams
Current Events
  War on Terrorism
  Elections
Recreation
  Travel
Local Information
  SF Bay Area
   SF Bay Area News
Science
  Biology
  History
  Nano Tech
  Physics
  Space
Society
  Economics
  Futurism
  International Relations
  Politics and Law
   Civil Liberties
    Internet Civil Liberties
    Surveillance
   Intellectual Property
  Media
   Blogging
  Military
  Security
Sports
Technology
  Biotechnology
  Computers
   Computer Security
    Cryptography
   Cyber-Culture
   PC Hardware
   Computer Networking
   Macintosh
   Linux
   Software Development
    Open Source Development
    Perl Programming
    PHP Programming
   Spam
   Web Design
  Military Technology
  High Tech Developments

support us

Get MemeStreams Stuff!


 
MisterHouse
Topic: Perl Programming 9:34 pm EDT, May  4, 2002

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 platforms, including Linux.

Perl subroutines and objects are used to give a powerful programming interface. Here is some example code:

$fountain = new X10_Item 'B1';
set $fountain ON if time_now '6:00 PM';

$movement_sensor = new Serial_Item 'XA2', 'stair';
play(file =gt 'stairs_creek*.wav') if state_now $movement_sensor eq 'stair';

$v_bedroom_curtain = new Voice_Cmd '[open,close] the bedroom curtains';
curtain('bedroom', $state) if $state = said $v_bedroom_curtain;

MisterHouse



 
 
Powered By Industrial Memetics
RSS2.0