Presentation at LoRaWAN TheThingsNetwork makers event (make a Pet-Tracker with LoRa) organized by Ruimteschepper at Warehouse of Innovation Eindhoven (also home to IoT Eindhoven Meetup Group). Summarizes Smart Emission architecture, thoughts on tech for Spatio-Temporal Data, Internet of Things sorry Internet of Silos. Ending with a demo on LoRaWAN TheThingsNetwork integration with the OGC SensorThings API using MQTT Bridging.
Open Sensor Networks with LoRa TTN and SensorThings API
1. Open Sensor
Networks
Just van den Broecke
Just Objects B.V.
https://justobjects.nl
Info Kenniskring - Ruimteschepper
Warehouse of Innovation
Eindhoven 11 dec, 2018
Met dank aan
3. Air Quality Sensor Projects
• 2014/2015 - SOSPilot - Geonovum en RIVM
RIVM LML Data via OGC Sensor Observation Service (SOS)
http://sensors.geonovum.nl
• 2015-2017 - Smart Emission Nijmegen - Consortium
Burgers meten zelf luchtkwaliteit en geluid, opbouw SE Platform
http://smartemission.ruhosting.nl
• 2017-2018 - Smart Emission - Consolidatie en Opschaling
Smart City Living Lab (meerdere steden),
Green Challenge Nijmegen, AirSensEUR (EU JRC)
SE Platform Migratie naar PDOK - Kadaster
https://data.smartemission.nl
• 2018- AirSensEUR - Open HW Sensor Box - European Commission JRC
deploy 5 AirSensEUR Boxes, connect to Smart Emission Platform
https://justobjects.nl/emit-5
4. 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
5. 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
8. Smart Emission
Platform
WMS WFS SOS STA
Client
Apps/Viewers
web-APIs
sensors
Collector APIs
SE Platform - The Big Picture
Dataflow
9. Smart
Emission
Platform
WMS WFS SOS STA
CityGIS Data
Collector
Intemo Data
Collector
InfluxDB Data
Collector
RIVM LML
SOSInfluxDB
HTTP
Whale
API
Harvesters
ETL
LML
Influx
HTTP
Sensors
API
API
Outbound
Inbound
Dataflow
SE Platform - Dataflow and APIs
Whale
API
Decoupling
Push/Pull:
Data Collectors
+Harvesters
MQTTMQTT
10. Viewers talk to (OGC) APIs
https://data.smartemission.nl (data platform)
Heron
Viewer
Smart
App
52North
SOS Viewer
Grafana
Extern
19. 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
22. 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 - Not just Sensor Devices
23. Geodan GOST - Open Source STA in GoLang
https://github.com/gost
24. Fun PoC
Bridging IoT with Geo:
TheThingsNetwork to
SensorThings API
30. ▪ 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:
https://smartplatform.readthedocs.io/en/latest/cookbook.html
STA REST/OData Queries
31. Links
https://data.smartemission.nl (data platform)
https://github.com/smartemission (source code)
https://smartplatform.readthedocs.io (documentation)
https://smartplatform.readthedocs.io/en/latest/evolution.html (SensorSDI)
https://geoforum.nl/c/datasets/sensordata (support and comms)
https://en.wikipedia.org/wiki/SensorThings_API (SensorThings API, STA)
https://www.gostserver.xyz/ (Geodan STA Open Source Implementation)
https://justobjects.nl/category/smartemission/ (Just’s Blog)
https://airsenseur.org/ (EU AirSensEUR)
We would like to acknowledge for their valuable input:
All partners of the Smart Emission Consortium
Dank U!