Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Smarter Home Automation without the Cloud

Aaron Parecki
November 07, 2019

Smarter Home Automation without the Cloud

Video: https://vimeo.com/371873292

Most off-the shelf home automation systems rely on cloud services, and are limited to simple rules like "turn on this light when there is motion". It's extremely limiting, and usually results in failures in more complicated settings like when multiple people live at a house, or if you don't have a regular 9-5 schedule. These cloud-enabled devices also fail when your internet connection is down.

In this talk we'll look at how to set up a home automation system that runs entirely locally, and takes into account additional context-aware inputs so that you don't accidentally turn on the lights in the middle of the night.

Aaron Parecki

November 07, 2019
Tweet

More Decks by Aaron Parecki

Other Decks in Technology

Transcript

  1. @aaronpk "It's amazing how much you miss a simple old

    light switch when you have to pull out your phone, fumble through a poorly designed app, and then wait half a second for the light to turn on." - Adam Clark Estes, Gizmodo https://gizmodo.com/why-is-my-smart-home-so-fucking-dumb-1684949715
  2. @aaronpk Turn the lights on when someone gets home You

    get home after other 
 people are already asleep,
 waking them up with the lights Phone wifi reconnects / GPS glitches and it thinks you got home at 4am and turns on all the lights
  3. @aaronpk Close the shades when the sun shines through the

    window ☀ (ranges from 1pm-4pm seasonally)
  4. @aaronpk Turn on the A/C when it's over 22°C inside

    ❄ Takes longer to cool down
 once it's already warm inside
  5. @aaronpk Turn on the A/C 
 when it will be

    over 22°C outside in an hour ❄ ☀
  6. @aaronpk Turn the lights on when someone gets out of

    bed Wakes up the other person too early Too bright when you get up at 4am
  7. @aaronpk Turn the lights on when 
 everyone at home

    
 gets out of bed Turn the lights on dim 
 when someone gets up 
 and it's still dark outside
  8. @aaronpk Turn the lights off when someone gets in bed

    Turns off the lights when someone else is still awake
  9. @aaronpk Turn the lights off when 
 everyone at home

    
 gets into bed Turn the bedroom lights off 
 when someone gets into bed
  10. @aaronpk Set the lights to "TV Mode" when TV is

    turned on Too dark to watch TV while cooking dinner Too dark if you pause
 to get up to get a drink
  11. @aaronpk Set the lights to "TV Mode" when TV is

    turned on only if someone is sitting on the couch
  12. @aaronpk Bring up the lights a little 
 when someone

    gets off the couch 
 when the TV is on ⏸
  13. @aaronpk Zigbee to its own hub No internet required or

    Bluetooth only, no hub Philips Hue
  14. @aaronpk 1 Person at Home? 1 person 
 gets in

    bed Lights off 1 person gets
 out of bed Lights on Lights dim red dark 
 outside? no yes
  15. @aaronpk 2 People at Home? 1 person 
 gets in

    bed Bedroom 
 lights off 2 people 
 get in bed All 
 lights off
  16. @aaronpk 2 People at Home? 2 people 
 get out

    of bed All 
 lights on 1 person 
 gets out of bed Lights on
 dim red
  17. @aaronpk Pressure sensor under couch Audio level sensor Local voice

    assistant (mycroft.ai) Cat presence detector? FUTURE EXPERIMENTS