Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

SensorThings API webinar-#4-Connect Your Sensor

1 053 vues

Publié le

OGC SensorThings API Get Started Webinar Series #4 of 4. (Dec 17 2015)

Title: Connecting Your Sensors (CRUD)

Our next Webinar: Our next webinar will be Eclipse Virtual IoT Meetup on January 27th. Register here: http://www.meetup.com/Virtual-IoT/events/227992854/

More information: http://www.sensorup.com

Publié dans : Internet
  • Hi there! Get Your Professional Job-Winning Resume Here - Check our website! http://bit.ly/resumpro
    Voulez-vous vraiment ?  Oui  Non
    Votre message apparaîtra ici

SensorThings API webinar-#4-Connect Your Sensor

  1. 1. OGC SensorThings API Tutorial #4 - Connecting Your Sensors uptime: 242 hours # of broken lights: 5 RH: 19 % Temp: -22 Celsius Dr. Steve Liang Chair, OGC SensorThings API Standard Working Group Founder and CEO, SensorUp Inc. Associate Professor, University of Calgary
  2. 2. sensorup.com@sensorup Agenda • Recap: OGC SensorThings Data Model and URL Patterns • CREATE, UPDATE and DELETE entities • Deep Insert • Arduino and SensorThings • Many Examples
  3. 3. sensorup.com@sensorup About Dr. Steve Liang • Associate Professor, Geomatics Engineering, Uni. Calgary • AITF-Microsoft Industry Chair on Open Sensor Web • Chair OGC SensorThings API Standard Working Group • Co-Chair OGC Sensor Web Enablement Domain Working Group • N.A. Chair, OGC University Domain Working Group • Rapporteur, ITU-T SG12/11 on Internet of Things Test Specifications • Founder and CEO, SensorUp Inc, a University of Calgary startup (http://www.sensorup.com)
  4. 4. sensorup.com@sensorup About SensorUp • We are a world leader in OGC Sensor Web and IoT • We are leading several international IoT standard development efforts (OGC and ITU-T) • We developed world’s first OGC SensorThings API implementation
  5. 5. sensorup.com@sensorup • Topic: Building an IoT Cloud Platform with Open Geospatial Standards • Presenter: Dr. Steve Liang • January 27th 2016 • http://www.meetup.com/Virtual-IoT/
  6. 6. sensorup.com@sensorup We will be in DC area from January 11~13 2016. Would love to meet! Beers on us! SensorUp will be in DC area January 11~13 ’16.
  7. 7. sensorup.com@sensorup We will be back to DC area in March. Would love to meet! Beers on us!
  8. 8. 8 Data Model
  9. 9. Prerequisites • Basic knowledge of REST (REpresentational State Transfer) • https://en.wikipedia.org/wiki/Representational_state_transfer • Basic knowledge of JSON (JavaScript Object Notation) • http://www.json.org/
  10. 10. HTTP Verbs • POST • create a new entity • PATCH • update partial resources • DELETE • remove an entity
  11. 11. Steps to Connect Your Sensors Create Contextual Information (the static data) Upload Readings (the dynamic data) 1 2 1.Thing 2.Location 3.ObservedProperty 4.Sensor 5.Datastream •Observation
  12. 12. Demo and GIST • https://gist.github.com/liangsteve/ 9bbc095c9e417af63a6e
  13. 13. Best Practice #1: Reuse Existing Entities 13 • Reuse existing entities if possible • If an [ObservedProperty, Sensor] exists, create a link instead of creating a new but redundant entity. • Benefit • Faster analysis, better discoverability, improved performance
  14. 14. Best Practice #2 14 • If you know your Sensors, ObservedProperties or even Locations already, create them first. • Then adding a new Thing just need one POST request.
  15. 15. For example, say you are building an IoT Platform for Wifi Weight Scales • Thing • serial number 98312 • ObservedProperty • Weight, http://dbpedia.org/page/Weight • Sensor • Load Sensor, https://www.sparkfun.com/products/13332
  16. 16. Integrity Constraints
  17. 17. Internet of Things Data Exchange Platform (SensorUp DEP) Internet of Things Devices Internet of Things Applications ISO/OGC Standards and Open Hardware Ecosystem smart home, connected buildings, networked sensors / cameras, etc.
  18. 18. Connect Your Arduino • Instruction and Source Code: • https://sensorup.atlassian.net/wiki/display/SPS/ 2015/12/02/SensorThings+API+-+Arduino+101
  19. 19. Useful Resources • SensorThings API Playground • http://pg.sensorup.com • API Documentation • http://www.sensorup.com/docs • GIST for today’s code • https://gist.github.com/liangsteve/9bbc095c9e417af63a6e
  20. 20. See you next year! • Upcoming Webinar Topics: • SensorThings for real-time applications (MQTT Extension) • SensorThings API and GIS integration • SensorThings and Spatial Data Infrastructure • SensorThings v.s. Sensor Observation Services
  21. 21. sensorup.com@sensorup Any Questions? See You Next Year!