Successfully reported this slideshow.
Your SlideShare is downloading. ×

Open Sensor Networks

Loading in …3

Check these out next

1 of 41 Ad

Open Sensor Networks

Download to read offline

Presentation on Open Sensor Networks, Smart Emission, SensorThings API, TheThingsNetwork,
etc. Presented at SenseMakersAms Meetup:

Presentation on Open Sensor Networks, Smart Emission, SensorThings API, TheThingsNetwork,
etc. Presented at SenseMakersAms Meetup:


More Related Content

Similar to Open Sensor Networks (20)

More from Just van den Broecke (20)


Recently uploaded (20)

Open Sensor Networks

  1. 1. Open Sensor 
 Networks Just van den Broecke Just Objects B.V. IoT SenseMakers Ams Meetup Amsterdam - 18 sept, 2019 Met dank aan
  2. 2. ABOUT Independent Open Source Geospatial Professional Member of the OpenGeoGroep (NL) Chair 1. Intro
  3. 3. Air Quality Sensor Projects • 2014/2015 - SOSPilot - Geonovum en RIVM
 RIVM LML Data via OGC Sensor Observation Service (SOS) 
 • 2015-2017 - Smart Emission Nijmegen - Consortium
 Burgers meten zelf luchtkwaliteit en geluid, building the SE Platform 
 • 2017-2018 - Smart Emission - Consolidation en Scaling
 Smart City Living Lab (multiple cities),
 Green Challenge Nijmegen, AirSensEUR (EU JRC) Integration
 SE Platform Migration to PDOK - Kadaster 
 • 2018- AirSensEUR - Open HW Sensor Box - European Commission JRC
 deploy 5 AirSensEUR Boxes, connect to Smart Emission Platform
  4. 4. Smart Emission Nijmegen Project Participants
  5. 5. Inclusive Citizen Sensing ▪ Citizen-sensor-networks for fine-grained measurements, with new low-cost sensing devices ▪ Transparency and democracy of pollution monitoring, ‘making the externalities (e.g. noise, air pollution) visible’ ▪ Cost-effective environmental monitoring with 
 Open Source, Open Data, Open Standards (APIs) Smart Emission Nijmegen
  6. 6. Which type of low cost sensors to deploy? Quality and Price Number of sensors applied in a city Smart Emission “Jose” Aireas “Airbox” “Smart Citizen Kit” RIVM National AQ Stations Smart Emission Nijmegen
  7. 7. Smart Emission Nijmegen
  8. 8. Smart Emission Platform Resulting from the
 Smart Emission Nijmegen project and subsequent integration into the Dutch Kadaster PDOK Kubernetes Cloud
  9. 9. Smart Emission Platform WMS WFS SOS STA Client Apps/Viewers web-APIs sensors Collector APIs SE Platform - The Big Picture Dataflow
  10. 10. Smart 
 Emission Platform WMS WFS SOS STA Intemo Data Collector InfluxDB Data Collector RIVM LML SOSInfluxDB HTTP Luftdaten API Harvesters ETL LML Influx HTTP Sensors API API Outbound Inbound Dataflow SE Platform - Dataflow and APIs Whale API Decoupling
 Data Collectors +Harvesters MQTT
  11. 11. Viewers talk to (OGC) APIs (data platform) Heron Viewer Smart App 52North SOS Viewer Grafana Extern
  12. 12. Viewers Example Viewer
  13. 13. Thoughts
  14. 14. All Data 
 Spatio-Temporal Spatial Temporal Geo IoT
  15. 15.
  16. 16. All Data 
 Spatio-Temporal Spatial Temporal Geo IoT
  17. 17. Internet of Silos Convenience over 
  18. 18. Open APIs & Tech for Spatio-temporal to the Rescue?
  19. 19. Spatio-temporal DB: PostgreSQL with
 PostGIS+TimescaleDB OGC SensorThings API Other Talk
  20. 20. OGC SensorThings API Showcase Modern Standard (REST) API-based: HTTP Verbs Data Model is First Class Citizen Multiple FOSS Implementations Linked Data, Paging, OData Pub/Sub via MQTT GOST SOS-Killer? (Geo)JSON Encoding
  21. 21. SensorThings API - Model
  22. 22.
  23. 23. STA Entity Real World Entity Instance Thing Thermostaat Honeywell Lyric T6 #234 Location Locatie Thermostaat Building 9, Kamer 14 Sensor Temperatuur Sensor DHT11 #12 ObservedProperty Temperatuur Graden Celsius Observation Waarde + Tijd 21C op 2018-12-11T18:09:05 Datastream (Verbindt T, S, OP en O) FeatureOfInterest Kamer Building 9, Kamer 14 SensorThings API - Not just Sensor Devices
  24. 24. SensorThings API - Example SE Entity Mapping
  25. 25. STA Entity Real World Entity Instance Thing Vogelhut Natuurmon. Vogelhut #234 Location Plaats Vogelhut Mosselseweg 64, 1245AF Otterlo Sensor Verrekijker Swarovski Swarovision 1900 10x40 ObservedProperty Diersoort Vogels Observation Aantal + Tijd 1 op 2018-12-11T18:09:05 Datastream (Verbindt T, S, OP en O) FeatureOfInterest Soort en Locatie Vogel Merel op 4.9344, 52.567 SensorThings API - Example Mapping
  26. 26. Geodan GOST - Open Source STA in GoLang
  27. 27.
  28. 28. RIVM SensorThings API
  29. 29. IoT Platform met STA SensorThings API Server API Dataflow MQTT STA Dashboards/ Viewers Sensors
  30. 30. Fun PoC 
 Bridging IoT with Geo: TheThingsNetwork to SensorThings API
  31. 31. Demo Setup GOST API Dataflow GOST Dashboard Node-Red ThingsNode MQTT MQTT STA Process MQTTBridge ttn2sta PySense + LoPy Docker 
 Postman ProvisioningAny LoRa/TTN Device Docker Containers
  32. 32. Steps • Install ThingsNode as TTN App and Device as usual • Test MQTT uplink: 
 $ mosquitto_sub -h -t ‘+/devices/+/ up'-u 'mythingsnode1' -P ‘ttn-account-v2.*****’ -v • Install SensorThings Geodan GOST Stack
 $ wget
 $ docker-compose up • Postman: provision STA Entities, Examples: 2017_foss4g_boston • Node-Red (or regular Python): develop MQTT Bridge
 MQTT from TTN:
 MQTT to STA: see “GOST FOSS4G Boston” workshop above
 ttn2sta: copy TTN Payload data to STA result and 
 result- and/or phenomenonTime

  33. 33. TTN to STA Mapping
  34. 34. All the Code needed!
  35. 35. STA Observations
  36. 36. ▪ All Entities (root)
 http://localhost:8080/v1.0 ▪ All Observations from all Things (paged)
 http://localhost:8080/v1.0/Observations ▪ All Observations Thing with id=3
 http://localhost:8080/v1.0/Things(3)?$expand=Datastreams/Observations ▪ Last Observation Thing(3)
 http://localhost:8080/v1.0/Things(3)?$expand=Datastreams/Observations($top=1) ▪ All Observations after Dec 11, 2018 20:57 UTC
 http://localhost:8080/v1.0/Observations?$filter=resultTime%20gt %20%272018-12-11T20:57:00.000Z%27 ▪ Etc, more examples: STA REST/OData Queries
  37. 37. Links (data platform) (source code) (documentation) (SensorSDI) (support and comms) (SensorThings API, STA) (Geodan STA Open Source Implementation) (Just’s Blog on sensor stuff) (EU AirSensEUR) hackaton-sensorthings-api-eind-oktober (STA Hackathon) 
 We would like to acknowledge for their valuable input: All partners of the Smart Emission Consortium Thank You! This Presentation: