SlideShare a Scribd company logo
1 of 76
Download to read offline
Home Automation
for Humans
Gordon Meyer
SEWWUG
July 18, 2007
©2007
Welcome to
my automated home
OK

Wake me at 5:30AM.
If I’m not up by 5:45,
try again.
If my wife is home, wake
her at 6:30.
Unless it’s a weekend, then
let us both sleep until 8:00.
Start the coffee pot before I
go downstairs, and turn on
some lights if it’s still dark.
Bye

Turn everything off after
the last person leaves for
work.
Send me an email if
anything interesting
happens while I’m gone.
Turn on the yard lights a
few minutes after sunset.
And if nobody is home yet,
look occupied.
When I arrive, tell me how
many email messages I
have from friends.
And remind me that it’s
garbage night.
If the phone rings during
dinner, tell me who is
calling.
It’s time for bed. Tell me
tomorrow’s weather.
Tell me that I left the
garage door open. Close it
for me.
G’nite

Turn off the lights. Adjust
the thermostat. Be quiet
until morning.
The home of tomorrow, today.
Your house as the ultimate peripheral
Your computer needs to talk to
your house. To do this you need
to make your house smarter.
• But you don’t need a new house.
• You don’t need new lamps.
• What you need is…
•
Your house as the ultimate peripheral
Your computer needs to talk to
your house. To do this you need
to make your house smarter.
But you don’t need a new
house.
You don’t need new lamps.
What you need is…
Your house as the ultimate peripheral
Your computer needs to talk to
your house. To do this you need
to make your house smarter.
But you don’t need a new
house.
You don’t need new lamps.
What you need is…

X
X10 Technology
Powerline Carrier (PLC)
Sends data over household AC
Since 1978, now public domain
Dozens of brand names
Hundreds of devices
X10 Details
Serialized commands sent over the AC power line
• X10 modules are connected to power line and listen for commands
• All modules are always listening for commands
• Modules respond when they see a command with their X10 address
•

–
–
–

House codes: A-P
Unit codes: 1-16
Example X10 address: B5
A rose by any other name...
PLC (x10) label names

X-10 Powerhouse
The BSR System X-10
Magnavox
Leviton Manufacturing Co.
HomePro
Advanced Control Technologies
Stanley
GE Homeminder
PCS
Safety First

IBM
Heath Kit - Zenith
Wesclox
NuTone
RCA
HomeLink
SmartLinc
Universal Electronics
One-For-All
Sears
Radio Shack Plug 'n Power
Modules
Lamp & Appliance Modules
•

Modules let you control:
–
–
–
–

Lamps
Fans
Coffee Pots
Radios
Motion Detectors
•
•
•
•
•

Passive Infrared Detection
Battery-operated
Sends wireless signal to a nearby
transceiver
Transceiver relays signal to the
power line
Not exactly instantaneous
Sending X10 Commands
Mini-controllers let you manually
send X10 commands
• Turn lights on or off
• Dim lights
• Trigger a macro in your home
automation software
•
Can’t I just turn on a light like a
normal person?
control is not automation
Control
Automation
X10 to Computer Interface
Makes your house a peripheral
Serial device
• Plugs into wall socket
• Receives all X10 commands
• Sends X10 commands
• ActiveHome Pro CM15A
•

US$50
• SmartHome PowerLinc 1132U
US$40
The Zen of X10
q

It takes time
Transmission timing means it
takes 1.5 seconds to send
commands.
• Longer if you’re using wireless
devices, like motion detectors,
without a separate wireless
receiver.
•
F

Noise happens
•

Electrical noise blocks commands
–
–
–
–

power supplies
electric toothbrushes
fluorescent lights
your favorite gadget
!

Give it a hand
•

Normalize your electrical
environment
–
–
–

Use X10 filters
Use X10 signal boosters
Bridge your home’s phases
"

Keep perspective
•

Relax, take a deep breath
–
–

–

If a light doesn’t come on, you’re
no worse off than before, right?
Do you stop using WiFi because
the microwave knocks you
offline?
If you don’t like it, stop. Starting
small means you can.
X10 Alternatives
•
•
•

www.insteon.net

•
•

Backwards compatible with X10
Uses the powerline, but with a
modern protocol & repeaters
Wireless Bridging for reliability
SDK available
So far, software for Mac and
Windows only
•
•
•
•

www.zen-sys.com

•
•

Completely Wireless (900 mhz)
Each module is a repeater
Acknowledgment of commands
Several manufacturers
Costly buy-in for developers
Windows-only (so far)
The Brains
(software)
Four Building Blocks
1. Talks to your devices
–
–
–

turn on living room lamp
motion detected in garage
dim the bedroom lights
Four Building Blocks
2. Talks to groups of devices
–
–
–

turn on upstairs lights
motion detected outdoors
turn off the sprinklers
Four Building Blocks
3. Keeps track of states
–
–
–

The sun is up
Nobody is home
Today is a holiday
Four Building Blocks
4. Applies simple logic
–
–
–

If it is cold outside
When rain is forecast
The last person has left the house
Example
If today is a weekday and Gordon is home
turn on bedroom alarm clock
turn on all bedroom lamps
turn on all downstairs lights
wait 15 minutes
repeat if no motion in master bathroom
end
Misterhouse
www.misterhouse.com
Misterhouse

if (time_now ‘5:30am’) {
if (state_now $Gordon_home eq
ON){
set $bedroom_alarm ON;
set $bedroom_lights_all ON;
}
}
HomeSeer
www.homeseer.com
Three Fun Hacks

SMART
HOME
HACKS

TM

100 Industrial-Strength Tips & Tools

Gordon Meyer
Detect a Beer Thief
What it does
Keep an eye on the babysitter,
or your teenagers, while you’re
away from home.
Courtesy of Michael Ferguson
Motion detector
Mounted on inside of the door
• Opening door sends two signals:
•

–
–

motion
dusk-to-light

Silently write message to log
• Say “You’re busted!”
• Sound an alarm
•
In the liquor cabinet
Mounted on inside of the door
• Opening door sends two signals:
•

–
–

motion
dusk-to-light

Silently write message to log
• Say “You’re busted!”
• Sound an alarm
•
In the liquor cabinet
Mounted on inside of the door
• Opening door sends two signals:
•

–
–

motion
dusk-to-light

Silently write message to log
• Say “You’re busted!”
• Sound an alarm
•
Hacking the hack
•

Use this technique to monitor:
–
–
–
–

The fridge, for dieters.
The gun cabinet.
Your car, parked in the garage.
The furnace closet, to log when you last changed the air filter.
Simulate a Sunrise
What it does
Gently brightens the bedroom
lights so you wake up naturally.
Starting 15 minutes before the
time that you want to wake up,
raise the light level in the room.
SunRise clock
http://www.dreamessentials.com/a_clocks_sunrise.aspx

US$110.
XTension script
Scheduled to begin 15 minutes before your wake-up time
dim "Bedroom Lamp" to 10
dim "Bedroom Lamp" to 20 in 3 * minutes
dim "Bedroom Lamp" to 30 in 5 * minutes
dim "Bedroom Lamp" to 50 in 7 * minutes
dim "Bedroom Lamp" to 75 in 9 * minutes
dim "Bedroom Lamp" to 80 in 11 * minutes
dim "Bedroom Lamp" to 100 in 14 * minutes
Repeating event
Monday—Friday, 15 minutes Early
Hacking the hack
Make it smarter
•

If you’re not at home, because you’ve left earlier or are on vacation,
skip the whole process.
if (status of "Gordon Home”) is true then
dim "Bedroom Lamp" to 10
dim "Bedroom Lamp" to 20 in 3 * minutes
[...]
end if

•

Reverse the technique to dim the lights when you go to bed.
Hamster-Powered Night Light
What it does
Harness your hamster’s
nocturnal running to power a
night light.
Courtesy of Dan Fink
The specifications
A visit to the pet store showed that most rodents achieve between 40
and 60 RPM on their exercise wheels.
• Cheap exercise wheels are noisy, which means they’re wasting energy.
Use a ball-bearing mount instead. (Scavenged from a skateboard.)
•
The specifications
•

Build an alternator into the exercise wheel
–
–
–

mount the wheel on stand
add a circle of magnets around the outside perimeter
wind two coils of enamled magnet wire (connected in series)
The light
Two bright red LEDs.
• Wired backwards to each other, so
one is lit, depending on which
direction the wheel is spinning.
• Plenty bright for lighting the way
to the bathroom during the night.
•
Why stop there?
Calibrate the bicycle computer to
the circumference of the exercise
wheel.
• Skippy regularly achieved 2 to 3
MPH.
• The computer keeps track of peak
speeds, elapsed time, and how
many Hamster-Miles (hM) are run
each night.
•
Skippy the Hamster
In memoriam
Resources
Where to turn for help
XTension website and Discussion List
•

A treasure-trove of ideas, scripts, and an excellent mailing list
–

www.shed.com

HomeSeer
–

http://www.homeseer.com/

MisterHouse
–
–

http://misterhouse.sourceforge.net/
http://www.onlamp.com/pub/a/onlamp/2004/11/11/
smrthome_hks1.html
Best Deals
Hardware Package
Active Home Pro Starter Kit - US$99
Includes computer interface and modules
Interface supports both wireless and power-line commands
Works with MisterHouse and HomeSeer
Most importantly...
The Key to Home Automation Success

S. A. F.
Spousal Approval Factor
Gordon meyer
Technology, humanized.

www.gordonmeyer.com

More Related Content

Viewers also liked

Hacking Z-Wave Home Automation Systems
Hacking Z-Wave Home Automation SystemsHacking Z-Wave Home Automation Systems
Hacking Z-Wave Home Automation SystemsSensePost
 
Home Automation Products and Suppliers in UAE
Home Automation Products and Suppliers in UAEHome Automation Products and Suppliers in UAE
Home Automation Products and Suppliers in UAEBeatriz john
 
Home Automation with Asterisk - Astricon 2015 - Alberto Sagredo Castro
Home Automation with Asterisk - Astricon 2015 - Alberto Sagredo CastroHome Automation with Asterisk - Astricon 2015 - Alberto Sagredo Castro
Home Automation with Asterisk - Astricon 2015 - Alberto Sagredo CastroAlberto Sagredo Castro
 
Talk on Home Automation & IoT - PhaseShift 2016 - BMS - With QA & Event Pics
Talk on Home Automation & IoT - PhaseShift 2016 - BMS - With QA & Event PicsTalk on Home Automation & IoT - PhaseShift 2016 - BMS - With QA & Event Pics
Talk on Home Automation & IoT - PhaseShift 2016 - BMS - With QA & Event PicsRitesh Nagpal
 
Home automation
Home automationHome automation
Home automationahmkashwa
 
Smart Home Automation - An Overview
Smart Home Automation - An OverviewSmart Home Automation - An Overview
Smart Home Automation - An OverviewSmart Automation
 
Smart Home technologies
Smart Home technologiesSmart Home technologies
Smart Home technologiesloggcity
 
Home automation ppt-kamal lamichhane
Home automation ppt-kamal lamichhaneHome automation ppt-kamal lamichhane
Home automation ppt-kamal lamichhaneKamal Lamichhane
 
Presentation Smart Home With Home Automation
Presentation Smart Home With Home AutomationPresentation Smart Home With Home Automation
Presentation Smart Home With Home AutomationArifur Rahman
 
Home automation using android mobiles
Home automation using android mobilesHome automation using android mobiles
Home automation using android mobilesDurairaja
 

Viewers also liked (13)

make home automation
make home automationmake home automation
make home automation
 
Hacking Z-Wave Home Automation Systems
Hacking Z-Wave Home Automation SystemsHacking Z-Wave Home Automation Systems
Hacking Z-Wave Home Automation Systems
 
Home Automation Products and Suppliers in UAE
Home Automation Products and Suppliers in UAEHome Automation Products and Suppliers in UAE
Home Automation Products and Suppliers in UAE
 
Home Automation with Asterisk - Astricon 2015 - Alberto Sagredo Castro
Home Automation with Asterisk - Astricon 2015 - Alberto Sagredo CastroHome Automation with Asterisk - Astricon 2015 - Alberto Sagredo Castro
Home Automation with Asterisk - Astricon 2015 - Alberto Sagredo Castro
 
Talk on Home Automation & IoT - PhaseShift 2016 - BMS - With QA & Event Pics
Talk on Home Automation & IoT - PhaseShift 2016 - BMS - With QA & Event PicsTalk on Home Automation & IoT - PhaseShift 2016 - BMS - With QA & Event Pics
Talk on Home Automation & IoT - PhaseShift 2016 - BMS - With QA & Event Pics
 
Home automation
Home automationHome automation
Home automation
 
Smart Home Automation - An Overview
Smart Home Automation - An OverviewSmart Home Automation - An Overview
Smart Home Automation - An Overview
 
Presentation on home automation
Presentation on home automationPresentation on home automation
Presentation on home automation
 
Smart Home technologies
Smart Home technologiesSmart Home technologies
Smart Home technologies
 
Home automation ppt-kamal lamichhane
Home automation ppt-kamal lamichhaneHome automation ppt-kamal lamichhane
Home automation ppt-kamal lamichhane
 
Smart homes
Smart homesSmart homes
Smart homes
 
Presentation Smart Home With Home Automation
Presentation Smart Home With Home AutomationPresentation Smart Home With Home Automation
Presentation Smart Home With Home Automation
 
Home automation using android mobiles
Home automation using android mobilesHome automation using android mobiles
Home automation using android mobiles
 

Similar to Home automation for humans

Voice controlled home automation.pptx
Voice controlled home automation.pptxVoice controlled home automation.pptx
Voice controlled home automation.pptxTamil964528
 
SIGFOX Makers Tour - Barcelona
SIGFOX Makers Tour - BarcelonaSIGFOX Makers Tour - Barcelona
SIGFOX Makers Tour - BarcelonaNicolas Lesconnec
 
Home automation with Ninja Blocks
Home automation with Ninja BlocksHome automation with Ninja Blocks
Home automation with Ninja BlocksEugene Yew
 
CONTROLLED COMFORT
CONTROLLED COMFORTCONTROLLED COMFORT
CONTROLLED COMFORTexportasein
 
IoTMeetupGuildford#2: IOT Resin.io - Lorenzo Stoakes (Resin.io)
IoTMeetupGuildford#2: IOT Resin.io - Lorenzo Stoakes (Resin.io)IoTMeetupGuildford#2: IOT Resin.io - Lorenzo Stoakes (Resin.io)
IoTMeetupGuildford#2: IOT Resin.io - Lorenzo Stoakes (Resin.io)MicheleNati
 
Home automation - SMART HOME
Home automation - SMART HOME Home automation - SMART HOME
Home automation - SMART HOME Ankur Mehra
 
Caseta Presentation (9 18 14)--Womack
Caseta Presentation (9 18 14)--WomackCaseta Presentation (9 18 14)--Womack
Caseta Presentation (9 18 14)--WomackErik Feus
 
Oakter - Smart Home
Oakter - Smart HomeOakter - Smart Home
Oakter - Smart HomePraveen1587
 
tinkercad-arduino031921.pptx
tinkercad-arduino031921.pptxtinkercad-arduino031921.pptx
tinkercad-arduino031921.pptxssuserb3e5bb
 
PLC for Home Automation and How to Make It a Honeypot
PLC for Home Automation and How to Make It a HoneypotPLC for Home Automation and How to Make It a Honeypot
PLC for Home Automation and How to Make It a HoneypotPhilippe Lin
 
DTMF based Home Applicance System
DTMF based Home Applicance SystemDTMF based Home Applicance System
DTMF based Home Applicance SystemDaksh Raj Chopra
 

Similar to Home automation for humans (20)

Voice controlled home automation.pptx
Voice controlled home automation.pptxVoice controlled home automation.pptx
Voice controlled home automation.pptx
 
SIGFOX Makers Tour - Barcelona
SIGFOX Makers Tour - BarcelonaSIGFOX Makers Tour - Barcelona
SIGFOX Makers Tour - Barcelona
 
Home automation with Ninja Blocks
Home automation with Ninja BlocksHome automation with Ninja Blocks
Home automation with Ninja Blocks
 
CONTROLLED COMFORT
CONTROLLED COMFORTCONTROLLED COMFORT
CONTROLLED COMFORT
 
IoTMeetupGuildford#2: IOT Resin.io - Lorenzo Stoakes (Resin.io)
IoTMeetupGuildford#2: IOT Resin.io - Lorenzo Stoakes (Resin.io)IoTMeetupGuildford#2: IOT Resin.io - Lorenzo Stoakes (Resin.io)
IoTMeetupGuildford#2: IOT Resin.io - Lorenzo Stoakes (Resin.io)
 
SIGFOX Makers Tour - Madrid
SIGFOX Makers Tour - MadridSIGFOX Makers Tour - Madrid
SIGFOX Makers Tour - Madrid
 
Manan
MananManan
Manan
 
Home automation - SMART HOME
Home automation - SMART HOME Home automation - SMART HOME
Home automation - SMART HOME
 
Caseta Presentation (9 18 14)--Womack
Caseta Presentation (9 18 14)--WomackCaseta Presentation (9 18 14)--Womack
Caseta Presentation (9 18 14)--Womack
 
Oakter - Smart Home
Oakter - Smart HomeOakter - Smart Home
Oakter - Smart Home
 
tinkercad-arduino031921.pptx
tinkercad-arduino031921.pptxtinkercad-arduino031921.pptx
tinkercad-arduino031921.pptx
 
CITIB - EN
CITIB - ENCITIB - EN
CITIB - EN
 
Smart Homes
Smart HomesSmart Homes
Smart Homes
 
Smart buildings
Smart buildings Smart buildings
Smart buildings
 
AUTOMATIC SMART ENERGY MANAGEMENT SYSTEM
AUTOMATIC SMART ENERGY MANAGEMENT SYSTEMAUTOMATIC SMART ENERGY MANAGEMENT SYSTEM
AUTOMATIC SMART ENERGY MANAGEMENT SYSTEM
 
Smarthomes boboceanu
Smarthomes boboceanuSmarthomes boboceanu
Smarthomes boboceanu
 
PLC for Home Automation and How to Make It a Honeypot
PLC for Home Automation and How to Make It a HoneypotPLC for Home Automation and How to Make It a Honeypot
PLC for Home Automation and How to Make It a Honeypot
 
Anti Helmet Theft System
Anti Helmet Theft SystemAnti Helmet Theft System
Anti Helmet Theft System
 
Group project progree
Group project progreeGroup project progree
Group project progree
 
DTMF based Home Applicance System
DTMF based Home Applicance SystemDTMF based Home Applicance System
DTMF based Home Applicance System
 

Recently uploaded

The 5 sec rule - Mel Robins (Hindi Summary)
The 5 sec rule - Mel Robins (Hindi Summary)The 5 sec rule - Mel Robins (Hindi Summary)
The 5 sec rule - Mel Robins (Hindi Summary)Shakti Savarn
 
English basic for beginners Future tenses .pdf
English basic for beginners Future tenses .pdfEnglish basic for beginners Future tenses .pdf
English basic for beginners Future tenses .pdfbromerom1
 
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...JeylaisaManabat1
 
integrity in personal relationship (1).pdf
integrity in personal relationship (1).pdfintegrity in personal relationship (1).pdf
integrity in personal relationship (1).pdfAmitRout25
 
Call Girls Dubai O525547819 Favor Dubai Call Girls Agency
Call Girls Dubai O525547819 Favor Dubai Call Girls AgencyCall Girls Dubai O525547819 Favor Dubai Call Girls Agency
Call Girls Dubai O525547819 Favor Dubai Call Girls Agencykojalkojal131
 
ingrediendts needed in preparing dessert and sweet sauces
ingrediendts needed in preparing dessert and sweet saucesingrediendts needed in preparing dessert and sweet sauces
ingrediendts needed in preparing dessert and sweet saucesJessicaEscao
 
Spiritual Life Quote from Shiva Negi
Spiritual Life Quote from Shiva Negi Spiritual Life Quote from Shiva Negi
Spiritual Life Quote from Shiva Negi OneDay18
 
Benefits of Co working & Shared office space in India
Benefits of Co working & Shared office space in IndiaBenefits of Co working & Shared office space in India
Benefits of Co working & Shared office space in IndiaBrantfordIndia
 
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?Mikko Kangassalo
 

Recently uploaded (9)

The 5 sec rule - Mel Robins (Hindi Summary)
The 5 sec rule - Mel Robins (Hindi Summary)The 5 sec rule - Mel Robins (Hindi Summary)
The 5 sec rule - Mel Robins (Hindi Summary)
 
English basic for beginners Future tenses .pdf
English basic for beginners Future tenses .pdfEnglish basic for beginners Future tenses .pdf
English basic for beginners Future tenses .pdf
 
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
 
integrity in personal relationship (1).pdf
integrity in personal relationship (1).pdfintegrity in personal relationship (1).pdf
integrity in personal relationship (1).pdf
 
Call Girls Dubai O525547819 Favor Dubai Call Girls Agency
Call Girls Dubai O525547819 Favor Dubai Call Girls AgencyCall Girls Dubai O525547819 Favor Dubai Call Girls Agency
Call Girls Dubai O525547819 Favor Dubai Call Girls Agency
 
ingrediendts needed in preparing dessert and sweet sauces
ingrediendts needed in preparing dessert and sweet saucesingrediendts needed in preparing dessert and sweet sauces
ingrediendts needed in preparing dessert and sweet sauces
 
Spiritual Life Quote from Shiva Negi
Spiritual Life Quote from Shiva Negi Spiritual Life Quote from Shiva Negi
Spiritual Life Quote from Shiva Negi
 
Benefits of Co working & Shared office space in India
Benefits of Co working & Shared office space in IndiaBenefits of Co working & Shared office space in India
Benefits of Co working & Shared office space in India
 
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?
 

Home automation for humans

  • 1. Home Automation for Humans Gordon Meyer SEWWUG July 18, 2007 ©2007
  • 3. OK Wake me at 5:30AM. If I’m not up by 5:45, try again.
  • 4. If my wife is home, wake her at 6:30.
  • 5. Unless it’s a weekend, then let us both sleep until 8:00.
  • 6. Start the coffee pot before I go downstairs, and turn on some lights if it’s still dark.
  • 7. Bye Turn everything off after the last person leaves for work.
  • 8. Send me an email if anything interesting happens while I’m gone.
  • 9. Turn on the yard lights a few minutes after sunset.
  • 10. And if nobody is home yet, look occupied.
  • 11. When I arrive, tell me how many email messages I have from friends.
  • 12. And remind me that it’s garbage night.
  • 13. If the phone rings during dinner, tell me who is calling.
  • 14. It’s time for bed. Tell me tomorrow’s weather.
  • 15. Tell me that I left the garage door open. Close it for me.
  • 16. G’nite Turn off the lights. Adjust the thermostat. Be quiet until morning.
  • 17. The home of tomorrow, today.
  • 18. Your house as the ultimate peripheral Your computer needs to talk to your house. To do this you need to make your house smarter. • But you don’t need a new house. • You don’t need new lamps. • What you need is… •
  • 19. Your house as the ultimate peripheral Your computer needs to talk to your house. To do this you need to make your house smarter. But you don’t need a new house. You don’t need new lamps. What you need is…
  • 20. Your house as the ultimate peripheral Your computer needs to talk to your house. To do this you need to make your house smarter. But you don’t need a new house. You don’t need new lamps. What you need is… X
  • 21. X10 Technology Powerline Carrier (PLC) Sends data over household AC Since 1978, now public domain Dozens of brand names Hundreds of devices
  • 22. X10 Details Serialized commands sent over the AC power line • X10 modules are connected to power line and listen for commands • All modules are always listening for commands • Modules respond when they see a command with their X10 address • – – – House codes: A-P Unit codes: 1-16 Example X10 address: B5
  • 23. A rose by any other name... PLC (x10) label names X-10 Powerhouse The BSR System X-10 Magnavox Leviton Manufacturing Co. HomePro Advanced Control Technologies Stanley GE Homeminder PCS Safety First IBM Heath Kit - Zenith Wesclox NuTone RCA HomeLink SmartLinc Universal Electronics One-For-All Sears Radio Shack Plug 'n Power
  • 25. Lamp & Appliance Modules • Modules let you control: – – – – Lamps Fans Coffee Pots Radios
  • 26. Motion Detectors • • • • • Passive Infrared Detection Battery-operated Sends wireless signal to a nearby transceiver Transceiver relays signal to the power line Not exactly instantaneous
  • 27. Sending X10 Commands Mini-controllers let you manually send X10 commands • Turn lights on or off • Dim lights • Trigger a macro in your home automation software •
  • 28. Can’t I just turn on a light like a normal person?
  • 29.
  • 30. control is not automation
  • 33. X10 to Computer Interface Makes your house a peripheral Serial device • Plugs into wall socket • Receives all X10 commands • Sends X10 commands • ActiveHome Pro CM15A • US$50 • SmartHome PowerLinc 1132U US$40
  • 34. The Zen of X10
  • 35. q It takes time Transmission timing means it takes 1.5 seconds to send commands. • Longer if you’re using wireless devices, like motion detectors, without a separate wireless receiver. •
  • 36. F Noise happens • Electrical noise blocks commands – – – – power supplies electric toothbrushes fluorescent lights your favorite gadget
  • 37. ! Give it a hand • Normalize your electrical environment – – – Use X10 filters Use X10 signal boosters Bridge your home’s phases
  • 38. " Keep perspective • Relax, take a deep breath – – – If a light doesn’t come on, you’re no worse off than before, right? Do you stop using WiFi because the microwave knocks you offline? If you don’t like it, stop. Starting small means you can.
  • 40. • • • www.insteon.net • • Backwards compatible with X10 Uses the powerline, but with a modern protocol & repeaters Wireless Bridging for reliability SDK available So far, software for Mac and Windows only
  • 41. • • • • www.zen-sys.com • • Completely Wireless (900 mhz) Each module is a repeater Acknowledgment of commands Several manufacturers Costly buy-in for developers Windows-only (so far)
  • 43. Four Building Blocks 1. Talks to your devices – – – turn on living room lamp motion detected in garage dim the bedroom lights
  • 44. Four Building Blocks 2. Talks to groups of devices – – – turn on upstairs lights motion detected outdoors turn off the sprinklers
  • 45. Four Building Blocks 3. Keeps track of states – – – The sun is up Nobody is home Today is a holiday
  • 46. Four Building Blocks 4. Applies simple logic – – – If it is cold outside When rain is forecast The last person has left the house
  • 47. Example If today is a weekday and Gordon is home turn on bedroom alarm clock turn on all bedroom lamps turn on all downstairs lights wait 15 minutes repeat if no motion in master bathroom end
  • 49. Misterhouse if (time_now ‘5:30am’) { if (state_now $Gordon_home eq ON){ set $bedroom_alarm ON; set $bedroom_lights_all ON; } }
  • 51. Three Fun Hacks SMART HOME HACKS TM 100 Industrial-Strength Tips & Tools Gordon Meyer
  • 52. Detect a Beer Thief
  • 53. What it does Keep an eye on the babysitter, or your teenagers, while you’re away from home. Courtesy of Michael Ferguson
  • 54. Motion detector Mounted on inside of the door • Opening door sends two signals: • – – motion dusk-to-light Silently write message to log • Say “You’re busted!” • Sound an alarm •
  • 55. In the liquor cabinet Mounted on inside of the door • Opening door sends two signals: • – – motion dusk-to-light Silently write message to log • Say “You’re busted!” • Sound an alarm •
  • 56. In the liquor cabinet Mounted on inside of the door • Opening door sends two signals: • – – motion dusk-to-light Silently write message to log • Say “You’re busted!” • Sound an alarm •
  • 57. Hacking the hack • Use this technique to monitor: – – – – The fridge, for dieters. The gun cabinet. Your car, parked in the garage. The furnace closet, to log when you last changed the air filter.
  • 59. What it does Gently brightens the bedroom lights so you wake up naturally. Starting 15 minutes before the time that you want to wake up, raise the light level in the room.
  • 61. XTension script Scheduled to begin 15 minutes before your wake-up time dim "Bedroom Lamp" to 10 dim "Bedroom Lamp" to 20 in 3 * minutes dim "Bedroom Lamp" to 30 in 5 * minutes dim "Bedroom Lamp" to 50 in 7 * minutes dim "Bedroom Lamp" to 75 in 9 * minutes dim "Bedroom Lamp" to 80 in 11 * minutes dim "Bedroom Lamp" to 100 in 14 * minutes
  • 63. Hacking the hack Make it smarter • If you’re not at home, because you’ve left earlier or are on vacation, skip the whole process. if (status of "Gordon Home”) is true then dim "Bedroom Lamp" to 10 dim "Bedroom Lamp" to 20 in 3 * minutes [...] end if • Reverse the technique to dim the lights when you go to bed.
  • 65. What it does Harness your hamster’s nocturnal running to power a night light. Courtesy of Dan Fink
  • 66. The specifications A visit to the pet store showed that most rodents achieve between 40 and 60 RPM on their exercise wheels. • Cheap exercise wheels are noisy, which means they’re wasting energy. Use a ball-bearing mount instead. (Scavenged from a skateboard.) •
  • 67. The specifications • Build an alternator into the exercise wheel – – – mount the wheel on stand add a circle of magnets around the outside perimeter wind two coils of enamled magnet wire (connected in series)
  • 68. The light Two bright red LEDs. • Wired backwards to each other, so one is lit, depending on which direction the wheel is spinning. • Plenty bright for lighting the way to the bathroom during the night. •
  • 69. Why stop there? Calibrate the bicycle computer to the circumference of the exercise wheel. • Skippy regularly achieved 2 to 3 MPH. • The computer keeps track of peak speeds, elapsed time, and how many Hamster-Miles (hM) are run each night. •
  • 72. Where to turn for help XTension website and Discussion List • A treasure-trove of ideas, scripts, and an excellent mailing list – www.shed.com HomeSeer – http://www.homeseer.com/ MisterHouse – – http://misterhouse.sourceforge.net/ http://www.onlamp.com/pub/a/onlamp/2004/11/11/ smrthome_hks1.html
  • 73. Best Deals Hardware Package Active Home Pro Starter Kit - US$99 Includes computer interface and modules Interface supports both wireless and power-line commands Works with MisterHouse and HomeSeer
  • 75. The Key to Home Automation Success S. A. F. Spousal Approval Factor