Smarter Home Automation without the Cloud

11954e59b49809173d48133ec4047fce?s=47 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.

11954e59b49809173d48133ec4047fce?s=128

Aaron Parecki

November 07, 2019
Tweet

Transcript

  1. 4.
  2. 6.
  3. 7.
  4. 8.
  5. 15.

    @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
  6. 16.
  7. 19.

    @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
  8. 23.

    @aaronpk Close the shades when the sun shines through the

    window ☀ (ranges from 1pm-4pm seasonally)
  9. 24.

    @aaronpk Turn on the A/C when it's over 22°C inside

    ❄ Takes longer to cool down
 once it's already warm inside
  10. 25.

    @aaronpk Turn on the A/C 
 when it will be

    over 22°C outside in an hour ❄ ☀
  11. 26.

    @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
  12. 27.

    @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
  13. 28.

    @aaronpk Turn the lights off when someone gets in bed

    Turns off the lights when someone else is still awake
  14. 29.

    @aaronpk Turn the lights off when 
 everyone at home

    
 gets into bed Turn the bedroom lights off 
 when someone gets into bed
  15. 30.

    @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
  16. 31.

    @aaronpk Set the lights to "TV Mode" when TV is

    turned on only if someone is sitting on the couch
  17. 33.

    @aaronpk Bring up the lights a little 
 when someone

    gets off the couch 
 when the TV is on ⏸
  18. 37.
  19. 44.

    @aaronpk Zigbee to its own hub No internet required or

    Bluetooth only, no hub Philips Hue
  20. 46.
  21. 57.
  22. 58.
  23. 61.
  24. 65.
  25. 67.
  26. 68.
  27. 69.
  28. 70.
  29. 71.

    @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
  30. 72.

    @aaronpk 2 People at Home? 1 person 
 gets in

    bed Bedroom 
 lights off 2 people 
 get in bed All 
 lights off
  31. 73.

    @aaronpk 2 People at Home? 2 people 
 get out

    of bed All 
 lights on 1 person 
 gets out of bed Lights on
 dim red
  32. 74.
  33. 76.
  34. 77.
  35. 78.
  36. 79.

    @aaronpk Pressure sensor under couch Audio level sensor Local voice

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