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

Build Your Own Smart Home

Build Your Own Smart Home

Do you wish your home was smarter? It's okay to admit that your home is dumb, no one will judge you. Are you interested in possibly making your home smarter, but you've only gotten as far as a free Nest Thermostat from the electric company and a couple of Phillips Hue lightbulbs that you insist on using your phone to turn off and on? Are you in the market for a connected home hub but you aren't quite sure which one to bet on and which device communication protocols it does (and doesn't) support. In this session, Brandon will survey the latest and greatest in so called "Smart Home" technology before outright dismissing all off the shelf systems as total crap. With that out of the way, he'll walk through some of the ins and outs of building your own damn connected home, just as he's doing himself in a old and very dumb home that he just talked himself into buying. If you'd love to see Brandon try, fail and sometimes succeed in building his own home of the future, this is the session for you. Because, really, if Brandon can build his own Smart Home, you can too.

Brandon Satrom

August 10, 2016
Tweet

More Decks by Brandon Satrom

Other Decks in Technology

Transcript

  1. BUILD
    B R A N D O N S AT R O M
    Y O U R O W N S M A R T H O M E

    View Slide

  2. View Slide

  3. “A COMMUNITY OF TOMORROW…

    View Slide

  4. “A COMMUNITY OF TOMORROW…
    …THAT WILL NEVER BE COMPLETED.”

    View Slide

  5. View Slide

  6. View Slide

  7. View Slide

  8. View Slide

  9. View Slide

  10. A 100 YEAR-OLD LIGHTBULB
    VS.
    PLANNED OBSOLESCENCE

    View Slide

  11. View Slide

  12. THE
    CENTENNIAL
    BULB

    View Slide

  13. View Slide

  14. PHOEBUS CARTEL, 1924

    View Slide

  15. View Slide

  16. View Slide

  17. View Slide

  18. View Slide

  19. SMART HOME
    Smart Home, Dumb Home, Ignorant Home
    1
    BUILD YOUR OWN
    2Commercial Hubs & False
    Prophets
    3 B.Y.O. Smart Home

    View Slide

  20. 1SMART HOME
    DUMB HOME
    IGNORANT HOME

    View Slide

  21. “DUMB HOME”
    D
    A home that is neither automated, nor connected to the cloud or a local
    home controller
    A home with purely “analog” control mechanisms (thermostat, security, etc)

    View Slide

  22. “IGNORANT HOME”
    I
    A home with two or more “connected” devices that are unaware of each
    other
    A home that is overly cloud-dependent
    A home with connected devices that are insecure

    View Slide

  23. View Slide

  24. View Slide

  25. View Slide

  26. View Slide

  27. View Slide

  28. View Slide

  29. View Slide

  30. View Slide

  31. View Slide

  32. View Slide

  33. View Slide

  34. View Slide

  35. View Slide

  36. View Slide

  37. View Slide

  38. View Slide

  39. View Slide

  40. View Slide

  41. View Slide

  42. View Slide

  43. ENTER THE HUB

    View Slide

  44. 2COMMERCIAL HUBS
    &
    FALSE PROPHETS

    View Slide

  45. View Slide

  46. View Slide

  47. View Slide

  48. View Slide

  49. View Slide

  50. View Slide

  51. View Slide

  52. View Slide

  53. View Slide

  54. View Slide

  55. View Slide

  56. View Slide

  57. View Slide

  58. CHALLENGES
    HOME CONTROLLER
    Security
    DRM
    Cloud Services

    View Slide

  59. Security
    1

    View Slide

  60. MOST POPULAR
    TARGETS AT
    BLACK HAT

    View Slide

  61. 1997 - Microsoft Windows
    MOST POPULAR
    TARGETS AT
    BLACK HAT

    View Slide

  62. 1997 - Microsoft Windows
    2008 - Apple iPhone
    MOST POPULAR
    TARGETS AT
    BLACK HAT

    View Slide

  63. 1997 - Microsoft Windows
    2008 - Apple iPhone
    2016 - Smart Homes and The Internet of Things
    MOST POPULAR
    TARGETS AT
    BLACK HAT

    View Slide

  64. View Slide

  65. 1.
    Minimizes cloud
    communicaLons
    2.
    Secures
    communicaLon
    channels and
    messages
    4.
    Ensures that
    privilege matches
    funcLon
    3.
    Manages all
    integraLons through
    the hub
    A SECURE
    SMART HOME

    View Slide

  66. Digital Rights Management
    2

    View Slide

  67. View Slide

  68. View Slide

  69. View Slide

  70. View Slide

  71. “WE ARE HUXLEYING OURSELVES
    INTO THE FULL ORWELL.”
    - CORY DOCTOROW

    View Slide

  72. Cloud Services
    3

    View Slide

  73. View Slide

  74. View Slide

  75. View Slide

  76. THE HOME CONTROLLER YOU PURCHASED IS INSECURE
    1. Independent security researchers cannot tell you about the flaw without breaking the law
    2. You cannot inspect the device to determine or fix the flaw without breaking the law

    View Slide

  77. THE HOME CONTROLLER DOES NOT SUPPORT YOUR DEVICES
    You cannot add support for your devices in unapproved ways without breaking the law

    View Slide

  78. THE HOME CONTROLLER YOU PURCHASED IS BEING SHUTTERED BY THE VENDOR
    You cannot open the device to remove the cloud dependency and/or make the device
    functional again without breaking the law

    View Slide

  79. View Slide

  80. ETERNAL RETURNS?

    View Slide

  81. 3B.Y.O
    SMART HOME

    View Slide

  82. OPTIONS
    Buy Open Hardware, Install Open Controller Software
    1
    SMART HOME
    2 Buy Open Hardware, Build Your Own Controller

    View Slide

  83. HOME ASSISTANT OPENHAB
    RASPBERRY PI 3

    View Slide

  84. SMART HOME ARCHITECTURE

    View Slide

  85. - RPI 3
    - 128 GB SD Card
    - Samsung Artik 5 (Beta)
    - Supports WiFi, BLE, ZigBee, ZWave and
    SigFox communication

    View Slide

  86. GATEWAY
    - RPI 3
    - 128 GB SD Card
    - Samsung Artik 5 (Beta)
    - Supports WiFi, BLE, ZigBee, ZWave and
    SigFox communication

    View Slide

  87. GATEWAY
    REPOSITORY
    - RPI 3
    - 128 GB SD Card
    - Samsung Artik 5 (Beta)
    - Supports WiFi, BLE, ZigBee, ZWave and
    SigFox communication

    View Slide

  88. REPOSITORY &
    DASHBOARDS
    SOFTWARE
    SETUP
    GATEWAY
    • Node-Red
    • MosquiXo
    • Telegraf
    SENSORS &
    DEVICES
    3RD PARTY AND CUSTOM
    MOBILE
    CROSS-PLATFORM NATIVE
    • NaLveScript
    • Angular 2
    • Firebase
    • Nest
    • Ring
    • Hue
    • ParLcle
    • Arduino
    • InfluxDB
    • Grafana
    • Telegraf

    View Slide

  89. Visualize key informaLon from smart home
    systems, sensors and devices
    VISUALIZATION
    Control home devices in a single way from a
    single app
    CONTROL
    Collect and aggregate smart home data in a
    single place
    COLLECTION
    Analyze data across home devices, document
    trends and alert homeowners
    INSIGHT
    B
    C
    D
    USES FOR A SMART HOME CONTROLLER
    B

    View Slide

  90. MEASURE & LOG
    ENVIRONMENT
    READINGS IN MY
    OFFICE

    View Slide

  91. MEASURE & LOG
    ENVIRONMENT
    READINGS IN MY
    OFFICE

    View Slide

  92. MEASURE & LOG ENVIRONMENT
    READINGS IN MY OFFICE

    View Slide

  93. VISUALIZE AND TRACK
    OFFICE READINGS

    View Slide

  94. RESPOND TO OFFICE
    READINGS

    View Slide

  95. RESPOND TO OFFICE
    READINGS

    View Slide

  96. LOGS TEMP FROM A 3RD
    PARTY DEVICE (NEST)

    View Slide

  97. LOGS TEMP
    FROM A 3RD
    PARTY DEVICE
    (NEST)

    View Slide

  98. VISUALIZE AND TRACK
    NEST READINGS

    View Slide

  99. LOGS EVENTS FROM
    CONNECTED CAMERAS (NEST)

    View Slide

  100. SEND NOTIFICATIONS FOR
    CONNECTED CAMERAS (NEST)

    View Slide

  101. HOMIE

    View Slide

  102. HOMIE

    View Slide

  103. STRATEGIES
    SECURITY
    HUB-ONLY
    COMMUNICATION
    Ways to ensure your homegrown smart home controller stays secure
    ENCRYPTED
    MESSAGES
    NO CLOUD
    DEPENDENCY

    View Slide

  104. View Slide

  105. A
    ROSIE
    Our goal with Rosie
    is to create an
    open, extensible
    smarter home
    controller for the
    homes of now and
    the future. No
    proprietary
    hardware and no
    DRM.
    THE SMARTER, OPEN
    HOME CONTROLLER
    GITHUB.COM/ROSIE-HOME

    View Slide

  106. View Slide

  107. A HOME FOR TOMORROW…

    View Slide

  108. A HOME FOR TOMORROW…
    …OPEN, SAFE AND CONNECTED.

    View Slide

  109. THANK YOU
    B S AT R O M @ G M A I L . C O M | B R E A K I N G T H I N G S . I O
    @ B R A N D O N S A T R O M

    View Slide