Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Smart Homes made smarter with Javascript

93 views

Published on

Slides from my "Smart Homes Made Smarter with Javascript" presentation that was help during Dev Teach Montreal on July 6th.

Published in: Internet
  • Be the first to comment

  • Be the first to like this

Smart Homes made smarter with Javascript

  1. 1. SMART HOMES MADE SMARTER WITH JAVASCRIPT DevTeach Mtl July 2016 Joel Lord - Spiria
  2. 2. ABOUT ME Javascript Junkie Tinkerer Technology Enthusiast 7/9/2016 3 @joel__lord
  3. 3. ABOUT ME I <3 Gadgets 7/9/2016 4 @joel__lord
  4. 4. THE HOME AUTOMATION MARKET There are many options out there ! 7/9/2016 5 @joel__lord
  5. 5. THE HOME AUTOMATION MARKET There are many options out there ! Nest 7/9/2016 6 @joel__lord
  6. 6. THE HOME AUTOMATION MARKET There are many options out there ! Nest GE 7/9/2016 7 @joel__lord
  7. 7. THE HOME AUTOMATION MARKET There are many options out there ! Nest GE Philips 7/9/2016 8 @joel__lord
  8. 8. THE HOME AUTOMATION MARKET There are many options out there ! Nest GE Philips Insteon 7/9/2016 9 @joel__lord
  9. 9. THE HOME AUTOMATION MARKET There are many options out there ! Nest GE Philips Insteon Samsung SmartThings 7/9/2016 10 @joel__lord
  10. 10. THE HOME AUTOMATION MARKET There are many options out there ! Nest GE Philips Insteon Samsung SmartThings Belkin Wemo 7/9/2016 11 @joel__lord
  11. 11. THE HOME AUTOMATION MARKET There are many options out there ! Nest GE Philips Insteon Samsung SmartThings Belkin Wemo iRobot 7/9/2016 12 @joel__lord
  12. 12. THE HOME AUTOMATION MARKET There are many options out there ! Nest GE Philips Insteon Samsung SmartThings Belkin Wemo iRobot Schlage 7/9/2016 13 @joel__lord
  13. 13. THE HOME AUTOMATION MARKET There are many options out there ! Nest GE Philips Insteon Samsung SmartThings Belkin Wemo iRobot Schlage Lutron 7/9/2016 14 @joel__lord
  14. 14. THE HOME AUTOMATION MARKET There are many options out there ! Nest GE Philips Insteon Samsung SmartThings Belkin Wemo iRobot Schlage Lutron Zigbee 7/9/2016 15 @joel__lord
  15. 15. THE HOME AUTOMATION MARKET There are many options out there ! Nest GE Philips Insteon Samsung SmartThings Belkin Wemo iRobot Schlage Lutron Zigbee Z-wave 7/9/2016 16 @joel__lord
  16. 16. THE HOME AUTOMATION MARKET There are many options out there ! Nest GE Philips Insteon Samsung SmartThings Belkin Wemo iRobot Schlage Lutron Zigbee Z-wave X10 7/9/2016 17 @joel__lord
  17. 17. THE HOME AUTOMATION MARKET There are many options out there ! Nest GE Philips Insteon Samsung SmartThings Belking Wemo iRobot Schlage Lutron Zigbee Z-wave X10 7/9/2016 18 @joel__lord
  18. 18. THE HOME AUTOMATION MARKET Each device has it’s own app Soon, your phone is a mess and you can’t control your devices 7/9/2016 19 @joel__lord
  19. 19. WINK ECOSYSTEM Connect various devices from various providers within a single application 7/9/2016 20 @joel__lord
  20. 20. WINK ECOSYSTEM Connect various devices from various providers within a single application But even better… They have an API 7/9/2016 21 @joel__lord
  21. 21. WINK ECOSYSTEM Connect various devices from various providers within a single application But even better… They have an API It’s not what you do with it that counts, it’s what you can do 7/9/2016 22 @joel__lord
  22. 22. WINK ECOSYSTEM 7/9/2016 23 @joel__lord
  23. 23. WINK ECOSYSTEM 7/9/2016 24 @joel__lord
  24. 24. WINK ECOSYSTEM 7/9/2016 25 @joel__lord
  25. 25. WINK DEMO 7/9/2016 26 @joel__lord
  26. 26. WINK DEMO 7/9/2016 27 @joel__lord Pretty limited
  27. 27. WINK DEMO 7/9/2016 28 @joel__lord Pretty limited Robots are the Wink equivalent to macros
  28. 28. WINK DEMO 7/9/2016 29 @joel__lord
  29. 29. WINK DEMO 7/9/2016 30 @joel__lord
  30. 30. WINK DEMO 7/9/2016 31 @joel__lord
  31. 31. WINK DEMO 7/9/2016 32 @joel__lord
  32. 32. WINK DEMO 7/9/2016 33 @joel__lord
  33. 33. WINK DEMO 7/9/2016 34 @joel__lord
  34. 34. WINK DEMO 7/9/2016 35 @joel__lord
  35. 35. LET’S MAKE IT SMARTER 7/9/2016 36 @joel__lord Integration with Amazon Echo
  36. 36. LET’S MAKE IT SMARTER 7/9/2016 37 @joel__lord Integration with Amazon Echo Integration with IFTTT  Either using the Maker Channel  Or using a third party
  37. 37. INTRODUCING IFTTT 7/9/2016 38 @joel__lord IFTTT is a free web-based service that allows users to create chains of simple conditional statements, called "recipes", which are triggered based on changes to other web services such as Gmail, Facebook, Instagram, and Pinterest. IFTTT is an abbreviation of "If This Then That" -Wikipedia
  38. 38. IFTTT DEMO 7/9/2016 39 @joel__lord http://cl.ly/300R1310191F
  39. 39. AND EVEN MORE SMART ! 7/9/2016 40 @joel__lord Let’s make it even smarter We need more control over our things
  40. 40. AND EVEN MORE SMART ! 7/9/2016 41 @joel__lord We need :  Variables  Functions  More third party integrations
  41. 41. INTRODUCING WINKJS 7/9/2016 42 @joel__lord REST API Uses OAUTH More or less standard API objects
  42. 42. INTRODUCING WINKJS 7/9/2016 43 @joel__lord Door Lock object { last_reading: { locked: true }, desired_state: { } }
  43. 43. INTRODUCING WINKJS 7/9/2016 44 @joel__lord Thermostat object { last_reading: { temperature: "18.5", units: "C" }, desired_state: { } }
  44. 44. INTRODUCING WINKJS 7/9/2016 45 @joel__lord Light Bulb object { last_reading: { brightness: 0.5, powered: true }, desired_state: { } }
  45. 45. INTRODUCING WINKJS 7/9/2016 46 @joel__lord
  46. 46. INTRODUCING WINKJS 7/9/2016 47 @joel__lord
  47. 47. INTRODUCING WINKJS 7/9/2016 48 @joel__lord A simple Hello World var Wink = require("wink"); var apiCredentials = require("./credentials"); var wink = new Wink(apiCredentials); wink.on("ready", function() { var light = wink.getDeviceByName("Light1"); light.off(); });
  48. 48. INTRODUCING WINKJS 7/9/2016 49 @joel__lord A Twitter integration //Web server var express = require("express"); var app = express(); var server = require("http").createServer(app); var twit = require("twit"); var keyword = "#devteach"; var Wink = require("../lib"); var apiCredentials = require("./credentials"); var twitterCredentials = require("./twitterCredentials"); var wink = new Wink(apiCredentials); //Web socket var port = 3333; //Start server server.listen(port, function () { console.log("Server started on port " + port); }); //Twitter Stream listener var t =
  49. 49. HOW ABOUT SECURITY? 7/9/2016 50 @joel__lord You have to be intentional
  50. 50. HOW ABOUT SECURITY? 7/9/2016 51 @joel__lord You have to be intentional Keep in mind that you are exposing your home lights to hackers
  51. 51. HOW ABOUT SECURITY? 7/9/2016 52 @joel__lord You have to be intentional Keep in mind that you are exposing your home lights to hackers Or worse… your front door lock.
  52. 52. HOW ABOUT SECURITY? 7/9/2016 53 @joel__lord Killing a Jeep on the highway: https://www.wired.com/2015/07/hackers- remotely-kill-jeep-highway/ Hacking smart door bells: http://thehackernews.com/2016/01/doorbell- hacking-wifi-pasword.html
  53. 53. THANK YOU 7/9/2016 54 @joel__lord Questions? Follow me on Twitter for the full slides @joel__lord ^- Yup, two underscores

×