FOSDEM "XMPP and the IoT" talk by joachim_lindborg 20140202
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

FOSDEM "XMPP and the IoT" talk by joachim_lindborg 20140202

  • 1,311 views
Uploaded on

XMPP standard is a perfect match to leverage and secure the IoT world by letting devices behave just as your friends we can control which devices that can talk to each other and with a defined xml......

XMPP standard is a perfect match to leverage and secure the IoT world by letting devices behave just as your friends we can control which devices that can talk to each other and with a defined xml language the device get interoperable over domain borders.

More in: Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
  • thanks for liking my presentation it is also avialable as video http://lsys.se/2014/02/10/my-speach-at-fosdem-2014/
    Are you sure you want to
    Your message goes here
No Downloads

Views

Total Views
1,311
On Slideshare
1,135
From Embeds
176
Number of Embeds
4

Actions

Shares
Downloads
19
Comments
1
Likes
2

Embeds 176

http://www.iotworld.com 145
https://twitter.com 26
http://staging.iotworld.com 4
http://translate.googleusercontent.com 1

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. SUST Develops sustainable energy solutions with leading companies, entrepreneurs and scientists Bridging business silos with chatty things 2014-02-02 Fosdem Joachim Lindborg @joachimlindborg linkedin 2014-­‐02-­‐02   ©  Sustainable  Innova0on  2012   1  
  • 2. About Sust Founded in 2008 by leading Swedish companies and the Swedish Energy Agency. Holds a unique position to realise sustainable energy solutions with leading companies, entrepreneurs and scientists thanks to its cross-sector/ private-public ownership structure. Key areas of activity are Intelligent Energy Usage, Intelligent Energy Storage, Nearly Zero Energy Buildings, Transport/Logistics, Sustainable cities and Electric vehicles. Direct results are environmental gains, financial savings and efficient energy usage achieved through Demonstration projects, Opinion forming activities, Networking and cooperation and Innovation Clusters for entrepreneurs. ©  Sustainable  Innova0on  2012  
  • 3. Unique cross-sector structure LEADING     COMPANIES:       SCIENTISTS:       ENTREPRENEURS:   ©  Sustainable  Innova0on  2012  
  • 4. Device explosion “The  vision  of  more  than   50  billion  connected  devices  by  2020  may   seem  ambi8ous  today,  but  with  the  right   approach,  it  is  within  reach”   Ericsson  whitepaper,  February  2011   How many IP addresses can you have at home? ©  Sustainable  Innova0on  2012  
  • 5. Connect it to clouds 2014-­‐02-­‐02   ©  Sustainable  Innova0on  2012   5  
  • 6. Free or Service Included ©  Sustainable  Innova0on  2012  
  • 7. Business silos Service   Tjänst   APIx   API1   APIn   API  Complexity   Alarm   2014-­‐02-­‐02   ©  Sustainable  Innova0on  2012   Power   Heat   7  
  • 8. Customer view Securitas   Verisure   Enertech   Viessmann   Riksbyggen   Ngenic   VaUenfall   2014-­‐02-­‐02   ©  Sustainable  Innova0on  2012   8  
  • 9. Chat  Charing  informa0on     newf ri stude end@ nt.or g   grandma@ old.com   Make friends You in charge Block friends Join groups Language is crusial oldfriend @me.com   ©  Sustainable  Innova0on  2012  
  • 10. iea.sust.se Bridging Business models for smart energy services 2014-­‐02-­‐02   ©  Sustainable  Innova0on  2012   10  
  • 11. Intelligent Energy Usage, iea.sust.se •  VINNOVA – funded project –  –  –  –  –  –  –  –  –  –  Project  management  and  research  –  SUST  &  SICS   Hea0ng  system  –  Enertech,  Viessman   Ven0la0on  system  -­‐  Systemair   Alarm  system  –  Securitas,  Verisure   Energy,  services,  u0lity    -­‐  VaUenfall   Real  estates  –  Riksbyggen   Technology  &  integra0on  -­‐  Maingate   Communica0ons  technology  –  H&D  Wireless   Energy  service  –  Ngenic  (op0miza0on  of  hea0ng  systems)       ©  Sustainable  Innova0on  2012  
  • 12. SMTP   XMPP   •  •  •  •  •  •  Proven messaging for 30 years Adressing scheme “name@domain” Any SMTP to any SMTP server SPAM The operator was the closest server More and more SMTP traffic cloudbased •  •  •  •  •  •  2014-­‐02-­‐02   ©  Sustainable  Innova0on  2012   Proven messaging over 10 years JID “name@domain/resource” Only federated servers Defined process for trust and revoke Prone to Spam The HGI the closest server/gateway? 12  
  • 13. XMPP open, any klient XMPP to solve , sensor data transport smart metering large systems distributed control fine granulated access authentication efficient transport indisputably proven technology 2014-­‐02-­‐02   ©  Sustainable  Innova0on  2012   13  
  • 14. Generic  XMPP  servers,  clients   Many languages Combine server with any client Servers Ejabberd   Student.org   OpenFire   Me.com   Prosody   Old.com   grandma @old.com   newf r tuden iend@s t.org   Python,  SleekXMPP   Java,  smack   ©  Sustainable  Innova0on  2012   Clients Xabber android Talkanout Ios Psi,pidgin, oldfriend@ me.com   Plain  C,  
  • 15. Bridging domain silos service   Service   Visualisa0on   XMPP  client   Domain  specific   standard  content   XMPP  server   ngenic.se   Views   XMPP  federated  transport   XMPP  server   Verisure.se   Ext  API   XMPP  server   Maingate.se   XMPP  server   Ctc.se   Ext  API   Xmpp   infrastructure   Alarm   XMPP  server   Systemair.se   Power   Heat   Xmpp   infrastructure   Vent   modbus,  lonworks,  zigbee,  z-­‐wave  proprietary  protocols   ©  Sustainable  Innova0on  2012   15  
  • 16. Standardisation Xeps (xmpp.org/extensions/) No standard without implementaions ISO/IEC/ IEEE P21 1-1-4 45 Coordinating standard with proposed XEP’s openADR.org, Stanford, Berkley, cisco 2014-­‐02-­‐02   ©  Sustainable  Innova0on  2012   16  
  • 17. Chat  XMPP  for  devices   newf ri stude end@ nt.or g   c grandmaPubli @old.com   te grandmaPriva @old.com   et grandmaSecr @old.com   Ask  for   permissions   Parent@ provision ing.com   ©  Sustainable  Innova0on  2012   oldfriend @me.com   Precense Make friends Needs a best friend (parent)to trust Different personalities Publish subscribe Provisionning
  • 18. IEA.sust.se services over XMPP service   Service   Service6545@ngenic.se   XMPP  client   jocke@xx.se   XMPP  server   ngenic.se   Views   Internet   smoke4567@verisure.se   XMPP  server   Verisure.se   Ext  API   XMPP  server   Maingate.se   Ext  API   XMPP  server   Ctc.se   heater6823@ctc.se   Xmpp   infrastructure   Alarm   ©  Sustainable  Innova0on  2012   Power   XMPP  server   Company.com   Heat   Xmpp   infrastructure   Any   device   18  
  • 19. XEP  323  IoT  sensor  data   Readout data from device Need to be friends More granularity on security Big readouts XMPP  federated   transport   XMPP  server   Verisure.se   Ext  API   Alarm   ©  Sustainable  Innova0on  2012   XMPP  server   Maingate.se   Ext  API   Power  
  • 20. Example XEP 323 <iq  type='get'                from='master@clayster.com/amr'                to='device@clayster.com'                id='1'>              <req  xmlns='urn:xmpp:sn'  seqnr='1'  momentary='true'/>        </iq>          <iq  type='result'                from='device@clayster.com'                to='master@clayster.com/amr'                id='1'>              <accepted  xmlns='urn:xmpp:sn'  seqnr='1'/>        </iq>     <message  from='device@clayster.com'                          to='master@clayster.com/amr'>              <fields  xmlns='urn:xmpp:sn'  seqnr='1'  done='true'>                    <node  nodeId='Device01'>                          <0mestamp  value='2013-­‐03-­‐07T16:24:30'>                                <numeric  name='Temperature'  momentary='true'  automa0cReadout='true'  value='23.4'  unit='°C'/>                          </0mestamp>                    </node>              </fields>        </message>     2014-­‐02-­‐02   ©  Sustainable  Innova0on  2012   20  
  • 21. XEP  325  IoT  control   Configuration Updating parameters Controlling commands XMPP  federated   transport   XMPP  server   Verisure.se   Ext  API   Alarm   ©  Sustainable  Innova0on  2012   XMPP  server   Maingate.se   Ext  API   Power  
  • 22. Example XEP 325 <iq  type='set'                from='master@clayster.com/amr'                to='digital.output@clayster.com'                id='1'>              <set  xmlns='urn:xmpp:sn:control'  xml:lang='en'>                    <boolean  name='Output'  value='true'/>              </set>   <iq  type='result'                from='digital.output@clayster.com'                to='master@clayster.com/amr'                id='1'>              <setResponse  xmlns='urn:xmpp:sn:control'  responseCode='OK'/>        </iq>     2014-­‐02-­‐02   ©  Sustainable  Innova0on  2012   22  
  • 23. XEP  324  IoT  Provisioning   My Bestfriend Unfriending Recommend friend Detail field control Leaf control instead of central control besoriend@ security.com   XMPP  federated   transport   XMPP  server   Verisure.se   Ext  API   Alarm   ©  Sustainable  Innova0on  2012   XMPP  server   Maingate.se   Ext  API   Power  
  • 24. The gateways to heaven •  •  •  •  •  •  •  •  •  •  •  •  •  •  Some google search home work to do IP gateway knx IP gateway modbus IP gateway metasys IP gateway i2c IP gateway profibus IP gateway mbus IP gateway can bus IP gateway Lonworks IP gateway ZigBee IP gateway z-wave IP gateway WirelessHART IP gateway RS485 IP gateway RS232 ©  Sustainable  Innova0on  2012  
  • 25. XEP  326  IoT  concentrator   Hide any system Easy integration ©  Sustainable  Innova0on  2012  
  • 26. More in XMPP lounge in K Xmpp.org Wiki.xmpp.org Iea.sust.se 2014-­‐02-­‐02   ©  Sustainable  Innova0on  2012   26  
  • 27. XEP  326  IoT  concentrator  example    <iq  type='get'                from='client@clayster.com/client'                to='concentrator@clayster.com'                id='4'>              <getAllDataSources  xmlns='urn:xmpp:sn:concentrators'  xml:lang='en'/>        </iq>           <iq  type='result'                from='concentrator@clayster.com'                to='client@clayster.com/client'                id='4'>              <getAllDataSourcesResponse  xmlns='urn:xmpp:sn:concentrators'   result='OK'>                      <dataSource  id='Applica0ons'  name='Applica0ons'  hasChildren='false'   lastChanged='2013-­‐03-­‐19T17:58:01'/>                      <dataSource  id='Cer0ficates'  name='Cer0ficates'  hasChildren='false'   lastChanged='2013-­‐02-­‐20T12:31:54'/>                      <dataSource  id='Clayster.EventSink.Programmable'  name='Programmable   Event  Log'  hasChildren='false'  lastChanged='2012-­‐10-­‐25T09:31:12'/>                      ...              </getAllDataSourcesResponse>        </iq>     ©  Sustainable  Innova0on  2012  
  • 28. Bridging domain silos service   Service   Visualisa0on   XMPP  client   Domain  specific   standard  content   XMPP  server   ngenic.se   Views   XMPP  federated  transport   XMPP  server   Verisure.se   Ext  API   XMPP  server   Maingate.se   XMPP  server   Ctc.se   Ext  API   Xmpp   infrastructure   Alarm   XMPP  server   Systemair.se   Power   Heat   Xmpp   infrastructure   Vent   modbus,  lonworks,  zigbee,  z-­‐wave  proprietary  protocols   ©  Sustainable  Innova0on  2012   28