Tingenes internett for finn.no tech day

645 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
645
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Tingenes internett for finn.no tech day

  1. 1. En realitetsorientering om Tingenes internett – og hvordan du kan komme i gang selv Simen Sommerfeldt til FINN Tech dag november 2014
  2. 2. Rådgiver og CTO, Bouvet Oslo Dataforeningen, HIOA, Lær Kidsa Koding! Oslo IoT meetup @sisomm
  3. 3. • Skandinavisk konsulentselskap • Leverer tjenester innenfor IT, digital kommunikasjon og rådgivning • 1000 ansatte • 14 kontorer i Norge og Sverige • Notert på Oslo Børs Marit behersker programmeringsspråk som Java og .net Men først og fremst behersker hun kav trøndersk
  4. 4. Intro Demo 1: Skallen snur seg og ler når du passerer en sonar http://www.youtube.com/watch? v=2eRPg_KQunU Demo 2: Skallen følger deg med blikket i minecraft, og du kan skru av lysene http://www.youtube.com/ watch?v=yu6P1Bz6P0c
  5. 5. Hva noen sier Tingenes Internett er
  6. 6. Hvordan det kan brukes i profesjonelt
  7. 7. Hva det kan være for forbrukere
  8. 8. Hva som må til
  9. 9. Hva leverandørene sier
  10. 10. Relevante standarder
  11. 11. Skremme barn på Halloween http://nspt4kids.com/wp-content/uploads/2011/10/scared-boy-on-halloween.jpg
  12. 12. Først: En Science-fiction historie!
  13. 13. • Intelligente hjem • Wearables • Sensorer i kroppen • Biler som kjører selv • Intelligente byer • Algoritmer -En større helhet
  14. 14. “En panelovn finner et hjem” ...en gang i 2030?
  15. 15. Ingrid buys a panel oven
  16. 16. Ingrid on the bus
  17. 17. Ingrid with family
  18. 18. Et forvirrende tema
  19. 19. So much information, so much happening!
  20. 20. http://na2.www.gartner.com/imagesrv/newsroom/images/HC_ET_2014.jpg
  21. 21. http://www.bishopmikelowry.com/wp-content/uploads/2013/03/drinking-from-the-firehose.jpg
  22. 22. http://blogg.bouvet.no/2014/03/07/the-internet-of-things-keiserens-nye-wearables/ http://sommerfeldt.co/2014/05/01/internet-of-things-or-should-we-call-it-the-emperors-new-wearables/
  23. 23. http://sommerfeldt.co/2014/05/01/internet-of-things-or-should-we-call-it-the-emperors-new-wearables/
  24. 24. “sier norsk ekspert” http://www.aftenposten.no/okonomi/De-lever-i-fremtiden-7552621.html http://e24.no/digital/slik-blir-tingenes-internett/22807160
  25. 25. Er jeg en luditt? http://dashingduchesses.com/wp-content/uploads/2013/04/presence-Luddites-textile-mill-2.jpg
  26. 26. “$8.9 trillion market in 2020, 212 billion connected things” Animation copied from http://channel9.msdn.com/Events/Build/2014/2-511 Store tall! - IDC, 2013
  27. 27. “There are actually two different internet of things” - Dionne Hinchcliffe http://www.zdnet.com/is-the-internet-of-things-strategic-to-the-enterprise-7000030068/
  28. 28. “One is the enterprise-grade version that has long been in place and is already helping us run our companies” - Dionne Hinchcliffe http://www.zdnet.com/is-the-internet-of-things-strategic-to-the-enterprise-7000030068/
  29. 29. I bedrifter...
  30. 30. Støtte forretningsproseser med sensorer og fysiske indikatorer
  31. 31. Microsoft & IBM: Enterprise-IoT
  32. 32. Cloud-connected Large Mobile Small Micro Azure M2M Device management Command & Control Data Analytics
  33. 33. Noen råd...
  34. 34. “Involve Customer experience people, Architects, Partners, Sales, CRM, Lawyers, Other Stakeholders” - Michele Pelino, Forrester Research
  35. 35. Sikkerhet, autentisering, personvern
  36. 36. Drift
  37. 37. “The other IoT is the emerging consumer-based cloud of connected products and services which has only been happening in a significant way in the last 2-3 years” - Dionne Hinchcliffe http://www.zdnet.com/is-the-internet-of-things-strategic-to-the-enterprise-7000030068/
  38. 38. I forbrukermarkedet
  39. 39. “Alt” får ip-adresse og logikk
  40. 40. Vi blir lovet å kunne få bedre oversikt og orkestrere
  41. 41. Smarte hus! 256-Nov-14 Energibesparende!
  42. 42. “Hva venter vi på?”
  43. 43. Hva er Tingenes internett for forbrukere?
  44. 44. “Does one vendor's product work with another's? Does a door lock by one vendor communicate with a light switch by another vendor, and do you want the thermostat to be part of the conversation?” - Patrick Thibodeau http://www.citeworld.com/article/2155401/internet-of-things/the-abcs-of-the-internet-of-things7.html?page=1
  45. 45. Eller er det “The internet AND things”?
  46. 46. Tilbake til Science-fiction historien..
  47. 47. Standarder for klassifisering og sam?sp ill ? ? ? ?
  48. 48. “On the internet, nobody knows that you are a toaster” - Ross Mason, Mulesoft
  49. 49. Protokoller • XMPP: Presence • MQTT: Collection • DDS: Distributed objects • AMQP: Large volume brokers • CoAP: REST Request/Response M2M • Allseen: M2M Mesh network/device bus
  50. 50. “There is no vendor large enough to control the IoT, but there are vendors large enough to make a mess of it.” - Patrick Thibodeau http://www.citeworld.com/article/2155401/internet-of-things/the-abcs-of-the-internet-of-things7.html?page=2
  51. 51. Standarder for klassifisering og samspill IP?V6 ? ? ?
  52. 52. Wifi, Mobile Data, Bluetooth Low Energy, ZigBee Z-wave Mesh Networks!
  53. 53. IPv4 går tomt! http://www.potaroo.net/tools/ipv4/plotvarcum.png
  54. 54. Standarder for klassifisering og samspill IPV6 ? Sikkerhet og personvern ? ?
  55. 55. http://zapmed.com/Downloads/TOAST.jpg
  56. 56. http://thehackernews.com/2011/12/cplc-chief-says-pakistan-safe-heaven.html
  57. 57. http://www.engadget.com/2014/01/17/internet-of-things-hacked-malicious-email-phishing/
  58. 58. http://berntolufsen.vg.no/2014/05/19/rapport-fra-staten-google/
  59. 59. I dag: En hotel-lobby. I morgen...
  60. 60. Cloud Computing
  61. 61. “Algorithmic regulation”
  62. 62. Big Data Machine Learning Internet of Things Vil vi ha dette?
  63. 63. Standarder for klassifisering og samspill IPV6 Sikkerhet og personvern Åpen forretningsmodell ? ?
  64. 64. Vendor lock-in
  65. 65. Standarder for klassifisering og samspill IPV6 Sikkerhet og personvern Brukeropplevelse Åpen forretningsmodell ?
  66. 66. “Usability is like a joke. It’s bad if it needs to be explained” - Jakob Nielsen(?)
  67. 67. 2020? 2030? Reaksjoner fra Linux Foundation, IBM, Microsoft, Altibox, Eye Networks og Forrester
  68. 68. “It is happening fast in vertical businesses or specific markets because they have regulatory bodies, protocols and standards” - Michele Pelino, Forrester Research
  69. 69. “The technology is there. The consumer version could be implemented quickly. But competition, privacy concerns and mindset makes it hard to implement” - Michele Pelino, Forrester Research
  70. 70. Forbrukermarkedet
  71. 71. Lyse Smartly: 130.000 hjem? https://www.smartly.no/hjem#
  72. 72. An open source IoT collaborative project 26 November 2014 AllSeen Alliance 98 stuff
  73. 73. Lighting C Cloud 99 NOW PLAYING: Artist: Flowers Song: Daisy Fridge Cloud Laundry Cloud Lighting B Cloud Speaker B Cloud Speaker A Cloud TV Cloud Lighting A Cloud Lighting C Cloud Slide source: Allseen Alliance
  74. 74. hello!% hello!% hello!% hello!% 100 hello% world!% Consumer Home Auto goods, appliances Industri al Mobiles, Tablets, PCs 당신은 내 말 들려?% Tem% alguém% aí?% 100010101 011% !"##$ %&!" Slide source: Allseen Alliance
  75. 75. 101 DISCOVER nearby friendly devices IDENTIFY services running on those devices ADAPT to devices coming and going MANAGE diverse transports INTEROPERATE across different OSes EXCHANGE information and services SECURE against bad actors
  76. 76. I can send notifications I have control panel 102 I have Lighting Interface I can send notifications. I have control panel I have a clock interface I display notifications. I have the clock interface! I display notifications. I display notifications. I have the clock interface! I can send notifications I can send and display notifications 72° 120 80 Slide source: Allseen Alliance
  77. 77. - “In an open interoperable way, cross brand, cross category, cross platform, cross-OS” - Joe Speed, Allseen
  78. 78. “Siri, skru på lyset i stua!”
  79. 79. http://mashable.com/2014/05/30/chill-bear/
  80. 80. Apple’s Home kit & Health kit
  81. 81. ?
  82. 82. MQTT & Node.red Tingenes internett hjemme og på jobben!
  83. 83. Demo
  84. 84. how to do reliable messaging over unreliable networks? ” “ - Dr. Andy Stanford-Clark
  85. 85. Background “MQTT was actually first designed for Real Time, Mission Critical, Command & Control, SCADA systems” - Arlen Nipper, Cirrus Link Solutions
  86. 86. Pub/Sub with topic paths /container/address/devicetype/unique/status <payload> /minecraft/world/skull/250,72,211/status IS_ALONE Wildcards: # entire subtree, + a single level http://m.eet.com/media/1171446/0912embmqtt01.png
  87. 87. Standard siden Oktober 2014
  88. 88. “Tricks” for tingenes internett • Last will & testament • Binary payload • 3 QoS levels • Retained messages • 2 byte overhead • Small footprint • Low bandwidth
  89. 89. Mobilkommunikajson: MQTT vs HTTPS “ http://mobilebit.wordpress.com/2013/05/03/rest-is-for-sleeping-mqtt-is-for-mobile/ ”
  90. 90. Du har antagelig MQTT i lomma
  91. 91. http://www.slideshare.net/kellogh/mqtt-kafka-33100776
  92. 92. MQTT er så enkelt at ungene mine kunne følge meldingene og foreslå endringer
  93. 93. Kan kombineres med REST for å gi beskjed om endringer
  94. 94. Node.red Et verktøy for rask prototyping av tingenes internett 126-Nov-14
  95. 95. http://www.infoq.com/resource/news/2014/05/ibm-node-red-qconlondon/en/resources/Node-RED-WS-Tweet-Demo-QCon-London-2014.png
  96. 96. “Wiring together hardware devices, APIs and online services in new and interesting ways [...] focus on the task at hand and not worry about the plumbing” - Nick O’Leary, IBM
  97. 97. Inputs
  98. 98. Functions & Social
  99. 99. Storage, Analysis, “Advanced”
  100. 100. Make your own
  101. 101. Users manual In your browser: 1. Add or select a node 2. Configure it 3. Combine it with others to form a flow 4. Deploy 5. Test
  102. 102. Kan bruke node.js pakker & bygges inn i andre systemer
  103. 103. Copy and paste med JSON
  104. 104. Bruksområder • Rask mockup av REST Services • Rask uttesting av integrasjonsscenarier • Internet of things protyping http://www.kongsbjergskolen.kolding.dk/Infoweb/Forsideavis/visnyhed.asp?AvisID=5&ID=12
  105. 105. Min Python Broker: ~20 timer Node Red: 1 time
  106. 106. Skal ikke brukes i produksjon - eller gjør på egen risk!
  107. 107. My wants: Mutex and aggregator pattern My wants: Mutex & Aggregator pattern http://huisdierencentrumhaarlem.nl/wp-content/uploads/2013/01/animals-cat-kitten-cute-begging-kitten-wallpaper.jpg
  108. 108. Mitt opplegg ...og hvordan du kan komme i gang 126-Nov-14
  109. 109. Avstandsmåler Fuktmåler Servoer Støymåler Termometer Video-kamera Lysmåler Vibrasjons- Reléer måler
  110. 110. Keith Richards Kjeve-Servo Pan/Tilt Servo
  111. 111. Servo Shield Arduberry Raspberry Pi
  112. 112. Servo Shield ArduBerry, Raspi Motstander for diodene i skallen Breadboard power supply Ardiuino 2 koblet til en sonar
  113. 113. “Devices” Hodeskalle som merker om sjeler er i nærheten Sonar som varsler avstand til spilleren Brytere som slås av og på Varsel om når blokker blir ødelagt Facetracker som angir vektoren til til spilleren
  114. 114. /arduino/1/incoming /arduino/2/sonar /raspberry/1/soundplayer /minecraft/world/lever/<pos> /minecraft/world/block/<pos> /minecraft/world/skull/<posi> /minecraft/world/facetracker<pos>
  115. 115. ' /arduino/2/sonar/Ping: 29 ' /minecraft/world/sonar/250,72,211 Ping: 9 ' /minecraft/world/skull/250,72,211/status HAS_COMPANY ( /arduino/1/incoming LEDS_ON ' /minecraft/world/facetracker/250,72,211/status 0.038844700742, -0.100218465107 ( /arduino/1/incoming SERVOS_MOVE,54,69 ' /minecraft/world/lever/-251,71,210/status 0 ( /arduino/1/incoming LED,1,0 ' /minecraft/world/lever/-249,71,210/status 1 ( /arduino/1/incoming LED,1,1 ' /minecraft/world/skull/250,72,211/status IS_ALONE ( /arduino/1/incoming LEDS_OFF ' /minecraft/world/sonar/250,72,211 Ping: 20 ' /minecraft/world/block/-251,70,183/status BROKEN 26-Nov-14
  116. 116. Jonas Olsson ½ time før min demo: Node-RED, MQTT og TI sensordata!
  117. 117. Kode: Få skallen til å bevege seg
  118. 118. “Gjør leksene, gutt!”
  119. 119. http://blogg.bouvet.no/2014/03/10/an-internet-of-things-demo-using-raspberry- pi-arduino-minecraft-and-mqtt/
  120. 120. github.com/sisomm/iot-concepts 126-Nov-14
  121. 121. Spørsmål?
  122. 122. Fortsett dialogen! @bouvet 162 Facebook.com/bouvet Utbrudd.bouvet.no
  123. 123. Takk!
  124. 124. Noen linker Andy S-C on IoT @TED: http://www.youtube.com/watch?v=s9nrm8q5eGg http://mobilebit.wordpress.com/2013/05/03/rest-is-for-sleeping-mqtt-is-for-mobile http://www.slideshare.net/nivertech/zvi-mqtts-foreuc2013 http://jpmens.net/2013/02/25/lots-of-messages-mqtt-pub-sub-and-the-mosquitto-broker/ http://embeddedtek.blogspot.no/2013/02/internet-of-things-sous-vide-cooker.html http://nrkbeta.no/2013/09/18/uendelige-muligheter-med-internett-i-alt/ http://mqtt.org/wiki/doku.php/history http://public.dhe.ibm.com/software/dw/webservices/ws-mqtt/mqtt-v3r1. html#appendix-https:// www.eclipsecon.org/na2014/session/securing-internet-things-and-mqtt http://server.dzone.com/articles/controlling-house-50-miles
  125. 125. MQTT servere • IBM MQ Series • Mosquitto • Eclipse Paho • Eurotech Everywhere Device Cloud • Xively • eMQTT • m2m.io • RabbitMQ • Apache ActiveMQ • Apache Apollo • Moquette • HiveMQ • Mosca • Litmus Automation Loop
  126. 126. ESB’er • Mule • Fuse ESB • WSO2 • IBM Websphere ESB • Talend
  127. 127. MQTT sikkerhet • Username/Password • SSL connections • ACL for topics • Client authentication (Certificates) • Encrypt messages

×