SlideShare uma empresa Scribd logo
1 de 31
Baixar para ler offline
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
ABOUT
Independent Open
Source Geospatial
Professional
justobjects.nl
Member of the
OpenGeoGroep (NL)
www.opengeogroep.nl
Chair 

OSGeo.nl
1. Intro
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
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
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
Smart Emission Nijmegen
Smart Emission
Platform
Smart Emission
Platform
WMS WFS SOS STA
Client
Apps/Viewers
web-APIs
sensors
Collector APIs
SE Platform - The Big Picture
Dataflow
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
Viewers talk to (OGC) APIs
https://data.smartemission.nl (data platform)
Heron
Viewer
Smart
App
52North
SOS Viewer
Grafana
Extern
Viewers
https://data.smartemission.nl/waalkade/
Thoughts
All Data 

is 

Spatio-Temporal
Spatial Temporal
Geo IoT
Internet
of
Silos
Convenience
over 

Freedom
Open APIs & Tech
for Spatio-temporal
to the Rescue?
Spatio-temporal DB:
PostgreSQL with

PostGIS+TimescaleDB
OGC SensorThings
API
Other Talk
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
SensorThings API - Model
SensorThings API - Example SE Entity Mapping
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
Geodan GOST - Open Source STA in GoLang
https://github.com/gost
Fun PoC 

Bridging IoT with Geo:
TheThingsNetwork to
SensorThings API
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
Steps
• Install ThingsNode as TTN App and Device as usual
• Test MQTT uplink: 

$ mosquitto_sub -h eu.thethings.network -t ‘+/devices/+/ up'-u
'mythingsnode1' -P ‘ttn-account-v2.*****’ -v
• Install SensorThings Geodan GOST Stack

$ wget https://raw.githubusercontent.com/gost/

docker-compose/master/docker-compose.yml

$ docker-compose up
• Postman: provision STA Entities, Examples: 

https://github.com/gost/workshops/tree/master/
2017_foss4g_boston
• Node-Red (or regular Python): develop MQTT Bridge

MQTT from TTN: 

https://www.thethingsnetwork.org/docs/applications/mqtt/

MQTT to STA: see “GOST FOSS4G Boston” workshop above

ttn2sta: copy TTN Payload data to STA result and 

result- and/or phenomenonTime

TTN to STA Mapping
All the Code needed!
STA Observations
▪ 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
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!

Mais conteúdo relacionado

Mais procurados

Essentials of enterprise architecture tools
Essentials of enterprise architecture toolsEssentials of enterprise architecture tools
Essentials of enterprise architecture tools
iasaglobal
 
Understanding and Applying The Open Group Architecture Framework (TOGAF)
Understanding and Applying The Open Group Architecture Framework (TOGAF)Understanding and Applying The Open Group Architecture Framework (TOGAF)
Understanding and Applying The Open Group Architecture Framework (TOGAF)
Nathaniel Palmer
 

Mais procurados (20)

Essentials of enterprise architecture tools
Essentials of enterprise architecture toolsEssentials of enterprise architecture tools
Essentials of enterprise architecture tools
 
Understanding and Applying The Open Group Architecture Framework (TOGAF)
Understanding and Applying The Open Group Architecture Framework (TOGAF)Understanding and Applying The Open Group Architecture Framework (TOGAF)
Understanding and Applying The Open Group Architecture Framework (TOGAF)
 
TOGAF 9.2 - ADM - Preliminary Phase
TOGAF 9.2 - ADM - Preliminary PhaseTOGAF 9.2 - ADM - Preliminary Phase
TOGAF 9.2 - ADM - Preliminary Phase
 
Using the TOGAF® 9.1 Architecture Content Framework with the ArchiMate® 2.0 M...
Using the TOGAF® 9.1 Architecture Content Framework with the ArchiMate® 2.0 M...Using the TOGAF® 9.1 Architecture Content Framework with the ArchiMate® 2.0 M...
Using the TOGAF® 9.1 Architecture Content Framework with the ArchiMate® 2.0 M...
 
A Summary of TOGAF's Architecture Capability Framework
A Summary of TOGAF's Architecture Capability FrameworkA Summary of TOGAF's Architecture Capability Framework
A Summary of TOGAF's Architecture Capability Framework
 
Modeling TOGAF with ArchiMate
Modeling TOGAF with ArchiMateModeling TOGAF with ArchiMate
Modeling TOGAF with ArchiMate
 
Modelování procesů - notace BPMN2, CMMN a DMN
Modelování procesů - notace BPMN2, CMMN a DMNModelování procesů - notace BPMN2, CMMN a DMN
Modelování procesů - notace BPMN2, CMMN a DMN
 
Enterprise Architecture
Enterprise ArchitectureEnterprise Architecture
Enterprise Architecture
 
Togaf 9.2 Introduction
Togaf 9.2 IntroductionTogaf 9.2 Introduction
Togaf 9.2 Introduction
 
What is the Value of Mature Enterprise Architecture TOGAF
What is the Value of Mature Enterprise Architecture TOGAFWhat is the Value of Mature Enterprise Architecture TOGAF
What is the Value of Mature Enterprise Architecture TOGAF
 
Enterprise architecture assessment guide v2.2
Enterprise architecture assessment guide v2.2Enterprise architecture assessment guide v2.2
Enterprise architecture assessment guide v2.2
 
A tailored enterprise architecture maturity model
A tailored enterprise architecture maturity modelA tailored enterprise architecture maturity model
A tailored enterprise architecture maturity model
 
Practical Enterprise Architecture in Medium-size Corporation using TOGAF
Practical Enterprise Architecture in Medium-size Corporation using TOGAFPractical Enterprise Architecture in Medium-size Corporation using TOGAF
Practical Enterprise Architecture in Medium-size Corporation using TOGAF
 
Ea skills presentation
Ea skills presentationEa skills presentation
Ea skills presentation
 
What is Enterprise Architecture?
What is Enterprise Architecture?What is Enterprise Architecture?
What is Enterprise Architecture?
 
Transformation organisationnelle - Plan de transformation basé sur l’architec...
Transformation organisationnelle - Plan de transformation basé sur l’architec...Transformation organisationnelle - Plan de transformation basé sur l’architec...
Transformation organisationnelle - Plan de transformation basé sur l’architec...
 
Enterprise architecture framework business case
Enterprise architecture framework business caseEnterprise architecture framework business case
Enterprise architecture framework business case
 
はじめてのソフトウェアテスト2019
はじめてのソフトウェアテスト2019はじめてのソフトウェアテスト2019
はじめてのソフトウェアテスト2019
 
Intro to Enterprise Architecture (EA)
Intro to Enterprise Architecture (EA)Intro to Enterprise Architecture (EA)
Intro to Enterprise Architecture (EA)
 
Innovation ecosystem potential & performance in Africa (abstract)
Innovation ecosystem potential & performance in Africa (abstract)Innovation ecosystem potential & performance in Africa (abstract)
Innovation ecosystem potential & performance in Africa (abstract)
 

Semelhante a Open Sensor Networks with LoRa TTN and SensorThings API

Open IoT Made Easy - Introduction to OGC SensorThings API
Open IoT Made Easy - Introduction to OGC SensorThings APIOpen IoT Made Easy - Introduction to OGC SensorThings API
Open IoT Made Easy - Introduction to OGC SensorThings API
SensorUp
 
The Road to Internet of Things
The Road to Internet of ThingsThe Road to Internet of Things
The Road to Internet of Things
Daeyoung Kim
 

Semelhante a Open Sensor Networks with LoRa TTN and SensorThings API (20)

Open Sensor Networks
Open Sensor NetworksOpen Sensor Networks
Open Sensor Networks
 
Just's Career Highlights - Version 2
Just's Career Highlights - Version 2Just's Career Highlights - Version 2
Just's Career Highlights - Version 2
 
Sensor SDI in PDOK with Smart Emission Platform
Sensor SDI in PDOK with Smart Emission PlatformSensor SDI in PDOK with Smart Emission Platform
Sensor SDI in PDOK with Smart Emission Platform
 
Open IoT Made Easy - Introduction to OGC SensorThings API
Open IoT Made Easy - Introduction to OGC SensorThings APIOpen IoT Made Easy - Introduction to OGC SensorThings API
Open IoT Made Easy - Introduction to OGC SensorThings API
 
Smart Emission Data Platform
Smart Emission Data PlatformSmart Emission Data Platform
Smart Emission Data Platform
 
SenseBox
SenseBoxSenseBox
SenseBox
 
Sensor Web and IoT and the role of Geography (English translation)
Sensor Web and IoT and the role of Geography (English translation)Sensor Web and IoT and the role of Geography (English translation)
Sensor Web and IoT and the role of Geography (English translation)
 
X-GSN in OpenIoT SummerSchool
X-GSN in OpenIoT SummerSchoolX-GSN in OpenIoT SummerSchool
X-GSN in OpenIoT SummerSchool
 
Node-RED Interoperability Test
Node-RED Interoperability TestNode-RED Interoperability Test
Node-RED Interoperability Test
 
OVERVIEW OF ICT LAB RESEARCH
OVERVIEW OF ICT LAB RESEARCHOVERVIEW OF ICT LAB RESEARCH
OVERVIEW OF ICT LAB RESEARCH
 
Global Azure Bootcamp 2016 - Real-world Internet of Things Backend with Azure...
Global Azure Bootcamp 2016 - Real-world Internet of Things Backend with Azure...Global Azure Bootcamp 2016 - Real-world Internet of Things Backend with Azure...
Global Azure Bootcamp 2016 - Real-world Internet of Things Backend with Azure...
 
FIWARE IoT Proposal & Community
FIWARE IoT Proposal & CommunityFIWARE IoT Proposal & Community
FIWARE IoT Proposal & Community
 
Athens IoT meetup #7 - Create the Internet of your Things - Laurent Ellerbach...
Athens IoT meetup #7 - Create the Internet of your Things - Laurent Ellerbach...Athens IoT meetup #7 - Create the Internet of your Things - Laurent Ellerbach...
Athens IoT meetup #7 - Create the Internet of your Things - Laurent Ellerbach...
 
SensorWeb SOS Pilot RIVM/Geonovum - Status
SensorWeb SOS Pilot RIVM/Geonovum - StatusSensorWeb SOS Pilot RIVM/Geonovum - Status
SensorWeb SOS Pilot RIVM/Geonovum - Status
 
TDC2016POA | Trilha Pyhton - Python para Internet of Things
TDC2016POA | Trilha Pyhton -  Python para Internet of ThingsTDC2016POA | Trilha Pyhton -  Python para Internet of Things
TDC2016POA | Trilha Pyhton - Python para Internet of Things
 
20180227 international elevator & escalator expo 2018 mumbai fujitec tomooka ...
20180227 international elevator & escalator expo 2018 mumbai fujitec tomooka ...20180227 international elevator & escalator expo 2018 mumbai fujitec tomooka ...
20180227 international elevator & escalator expo 2018 mumbai fujitec tomooka ...
 
Sense Your Smart City: Connect Environmental Sensors to SensorThings API
Sense Your Smart City: Connect Environmental Sensors to SensorThings APISense Your Smart City: Connect Environmental Sensors to SensorThings API
Sense Your Smart City: Connect Environmental Sensors to SensorThings API
 
The Road to Internet of Things
The Road to Internet of ThingsThe Road to Internet of Things
The Road to Internet of Things
 
20131031 giis 2013 keynote r.giaffreda
20131031 giis 2013 keynote r.giaffreda20131031 giis 2013 keynote r.giaffreda
20131031 giis 2013 keynote r.giaffreda
 
IoT Standardisatie werkgroepbijeenkomst 4 juni 2014
IoT Standardisatie werkgroepbijeenkomst 4 juni 2014IoT Standardisatie werkgroepbijeenkomst 4 juni 2014
IoT Standardisatie werkgroepbijeenkomst 4 juni 2014
 

Mais de Just van den Broecke

Mais de Just van den Broecke (20)

Just's Career Highlights - Version 1
Just's Career Highlights - Version 1Just's Career Highlights - Version 1
Just's Career Highlights - Version 1
 
osgeonl-opening-foss4gnl-2018
osgeonl-opening-foss4gnl-2018osgeonl-opening-foss4gnl-2018
osgeonl-opening-foss4gnl-2018
 
Stetl-engine-nlextract-smartem
Stetl-engine-nlextract-smartemStetl-engine-nlextract-smartem
Stetl-engine-nlextract-smartem
 
OSGeo.nl-NewYearsParty-2018-Opening
OSGeo.nl-NewYearsParty-2018-OpeningOSGeo.nl-NewYearsParty-2018-Opening
OSGeo.nl-NewYearsParty-2018-Opening
 
Opening OSGeo.nl Day 2017
Opening OSGeo.nl Day 2017Opening OSGeo.nl Day 2017
Opening OSGeo.nl Day 2017
 
De Levenscyclus van Open Geodata met Open Source Tools
De Levenscyclus van Open Geodata met Open Source ToolsDe Levenscyclus van Open Geodata met Open Source Tools
De Levenscyclus van Open Geodata met Open Source Tools
 
NLExtract Project - OGT Award Pitch GeoBuzz 2016
NLExtract Project - OGT Award Pitch GeoBuzz 2016NLExtract Project - OGT Award Pitch GeoBuzz 2016
NLExtract Project - OGT Award Pitch GeoBuzz 2016
 
Smart Emission - Citizens measuring Air Quality - Overview
Smart Emission - Citizens measuring Air Quality - OverviewSmart Emission - Citizens measuring Air Quality - Overview
Smart Emission - Citizens measuring Air Quality - Overview
 
Smart Emission - Data - Viewers - Standards
Smart Emission - Data - Viewers - StandardsSmart Emission - Data - Viewers - Standards
Smart Emission - Data - Viewers - Standards
 
NLExtract voor BAG - overview
NLExtract voor BAG - overviewNLExtract voor BAG - overview
NLExtract voor BAG - overview
 
3D Breakthrough Meeting - 3D Standards progress
3D Breakthrough Meeting - 3D Standards progress3D Breakthrough Meeting - 3D Standards progress
3D Breakthrough Meeting - 3D Standards progress
 
Wandelen met GPS en De Evolutie van Navigatie
Wandelen met GPS en De Evolutie van NavigatieWandelen met GPS en De Evolutie van Navigatie
Wandelen met GPS en De Evolutie van Navigatie
 
OSGeo.nl - Year 2014 Highlights
OSGeo.nl - Year 2014 HighlightsOSGeo.nl - Year 2014 Highlights
OSGeo.nl - Year 2014 Highlights
 
Nederland Ontsloten! OSGeo.nl Dag 2014
Nederland Ontsloten! OSGeo.nl Dag 2014Nederland Ontsloten! OSGeo.nl Dag 2014
Nederland Ontsloten! OSGeo.nl Dag 2014
 
Big Data - Introduction and Research Topics - for Dutch Kadaster
Big Data - Introduction and Research Topics - for Dutch KadasterBig Data - Introduction and Research Topics - for Dutch Kadaster
Big Data - Introduction and Research Topics - for Dutch Kadaster
 
Stetl for INSPIRE Data Transformation
Stetl for INSPIRE Data TransformationStetl for INSPIRE Data Transformation
Stetl for INSPIRE Data Transformation
 
XSLT for INSPIRE Transformation by Dutch Kadaster in ESDIN
XSLT for INSPIRE Transformation by Dutch Kadaster in ESDINXSLT for INSPIRE Transformation by Dutch Kadaster in ESDIN
XSLT for INSPIRE Transformation by Dutch Kadaster in ESDIN
 
Taming Rich GML with Stetl - FOSS4G 2013 Nottingham
Taming Rich GML with Stetl - FOSS4G 2013 NottinghamTaming Rich GML with Stetl - FOSS4G 2013 Nottingham
Taming Rich GML with Stetl - FOSS4G 2013 Nottingham
 
The Heron Mapping Client - Overview, Functions, Concepts
The Heron Mapping Client - Overview, Functions, Concepts The Heron Mapping Client - Overview, Functions, Concepts
The Heron Mapping Client - Overview, Functions, Concepts
 
Geospatial ETL with Stetl
Geospatial ETL with StetlGeospatial ETL with Stetl
Geospatial ETL with Stetl
 

Último

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 

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
  • 2. ABOUT Independent Open Source Geospatial Professional justobjects.nl Member of the OpenGeoGroep (NL) www.opengeogroep.nl Chair 
 OSGeo.nl 1. Intro
  • 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
  • 13. All Data 
 is 
 Spatio-Temporal Spatial Temporal Geo IoT
  • 14.
  • 16.
  • 17. Open APIs & Tech for Spatio-temporal to the Rescue?
  • 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
  • 21. SensorThings API - Example SE Entity Mapping
  • 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
  • 26. Steps • Install ThingsNode as TTN App and Device as usual • Test MQTT uplink: 
 $ mosquitto_sub -h eu.thethings.network -t ‘+/devices/+/ up'-u 'mythingsnode1' -P ‘ttn-account-v2.*****’ -v • Install SensorThings Geodan GOST Stack
 $ wget https://raw.githubusercontent.com/gost/
 docker-compose/master/docker-compose.yml
 $ docker-compose up • Postman: provision STA Entities, Examples: 
 https://github.com/gost/workshops/tree/master/ 2017_foss4g_boston • Node-Red (or regular Python): develop MQTT Bridge
 MQTT from TTN: 
 https://www.thethingsnetwork.org/docs/applications/mqtt/
 MQTT to STA: see “GOST FOSS4G Boston” workshop above
 ttn2sta: copy TTN Payload data to STA result and 
 result- and/or phenomenonTime

  • 27. TTN to STA Mapping
  • 28. All the Code needed!
  • 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!