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.

Sense Your Smart City: Connect Environmental Sensors to SensorThings API

637 views

Published on

This webinar is a hands-on tutorial showing you the steps connecting environmental sensors for your smart city application using the OGC SensorThings API standard specifications.

Source code available here: https://gist.github.com/liangsteve/16ec7e024d2eff0c266e9c5e8495dbaa

Youtube video available here: https://www.youtube.com/watch?v=GMrnerjOqYs

Published in: Internet
  • Be the first to comment

Sense Your Smart City: Connect Environmental Sensors to SensorThings API

  1. 1. #1: Sense Your Smart City - Connect Environmental Sensors to SensorThings API Dr. Steve Liang, Ph.D., P.Eng. Founder and CEO, SensorUp Inc. Associate Professor, University of Calgary Click here for webinar recording
  2. 2. About Dr. Steve Liang ๏ Associate Professor, Geomatics Engineering, Uni. Calgary ๏ AITF-Microsoft Industry Research Chair on Open Sensor Web (2011~2014) ๏ Chair OGC SensorThings API Standard Working Group ๏ Rapporteur, ITU-T SG12/11 on Internet of Things Test Specifications ๏ Founder and CEO, SensorUp Inc
  3. 3. About SensorUp ๏ We are a leader in Sensor Web and IoT Platforms. ๏ We offer innovative and comprehensive SensorThings solutions. ๏ We are proud member of Eclipse and Open Geospatial Consortium
  4. 4. News - SensorThings API Published by OGC http://docs.opengeospatial.org/is/15-078r6/15-078r6.html
  5. 5. News - SensorThings API Compliance Test Published https://github.com/opengeospatial/ets-sta10
  6. 6. News - SensorUp is the Official SensorThings Reference Implementation
  7. 7. News - SensorUp joins ESRI Startup Programme
  8. 8. News - We are working with the LASS community in Taiwan
  9. 9. What will be covered in this webinar series Sense Your Smart City: Connect Environmental Sensors to SensorThings API Visualize Your Smart City: Build a Real-Time Smart City Dashboard for SensorThings API Analyze Your Smart City: Build Sensor Analytics with SensorThings API Build Interoperable Smart City Applications Effortlessly
  10. 10. Today’s learning outcomes ๏ Review of SensorThings entities (ISO 19156 O&M) ๏ Register an environmental sensing device ๏ Publish real-time readings to SensorThings ๏ Arduino environment ๏ LinkIt ONE IoT board ๏ using both HTTP and MQTT
  11. 11. Why build your IoT application with open standards?
  12. 12. DISCLAIMER Today’s webinar is about the underlying API and data model. Today’s is NOT about an end-to-end solution.
  13. 13. Let’s say we want to monitor how warm (or cold) is a certain section of a river. so we know when will be a good time to go rafting.
  14. 14. What do you need? Postman - sending HTTP requests + Hive MQ - receive MQTT notifications Arduino IDE + LinkIt ONE board
  15. 15. Steps Register the monitoring device Device publish observation readings 1 2 Receive notifications Receive latest observations
  16. 16. prepare the data model LinkIt ONE A section of a river Water Temperature Probe Water Temperature A section of a river
  17. 17. How to know a new Thing joining… Let’s subscribe Thing entities first, so that we can receive notifications when a new Thing is created. Host: scratchpad.sensorup.com
 Port: 1883 or 9001
 Subscription topic: v1.0/Things
  18. 18. Register a Thing Deep Insert: check out our first webinar series for details Thing Location
  19. 19. Create a Datastream Change the id to the Thing you just created
  20. 20. Device Location and Feature of Interest Feature of Interest (a polygon) The target of this sensor is this section of the river.
  21. 21. Step 2 Register the monitoring device Device publish observation readings 1 2 Receive notifications Receive latest observations
  22. 22. Hardware you need $59 USD $8.9 USD $14.9 USD Swiss army knife of IoT (wifi, GPRS, Bluetooth, battery) Save your time. No need to solder. Linkit ONE Grove shield for Arduino Temperature and Humidity sensor
  23. 23. Prepare your dev environment https://labs.mediatek.com/site/global/developer_tools/mediatek_linkit/ sdk_intro/index.gsp
  24. 24. Let’s take a look at the Arduino code Click here to GIST
  25. 25. Some useful dev tools SensorThings Scratchpad (for connecting your IoT device) https://scratchpad.sensorup.com/scratchpad-register.html http://scratchpad.sensorup.com/OGCSensorThings/display/v1.0 SensorThings Example (for app development) http://example.sensorup.com/v1.0
  26. 26. Our Arduino SDK available soon
  27. 27. GIST https://gist.github.com/liangsteve/ 16ec7e024d2eff0c266e9c5e8495dbaa
  28. 28. Next Week Visualize Your Smart City: Build a Real-Time Smart City Dashboard for SensorThings API

×