20
From CSVs to SensorThings An Environmental Monitoring Example sensorweb.geomatics.ucalgary.caw ww.sensorup.com 0.23 litre/minute 0.25 litre/minute 0.27 litre/minute RH: 85 % Temp: 18 Celsius Dr. Steve Liang, Ph.D., P.Eng. Associate Professor, University of Calgary Founder and CEO, SensorUp Inc.

From CSVs to SensorThings in 10 minutes

Embed Size (px)

Citation preview

Page 1: From CSVs to SensorThings in 10 minutes

From CSVs to SensorThingsAn Environmental Monitoring Example

sensorweb.geomatics.ucalgary.cawww.sensorup.com

0.23 litre/minute

0.25 litre/minute0.27 litre/minuteRH: 85 %

Temp: 18 Celsius

Dr. Steve Liang, Ph.D., P.Eng.Associate Professor, University of CalgaryFounder and CEO, SensorUp Inc.

Page 2: From CSVs to SensorThings in 10 minutes

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

๏Calgary’s Top 40 Under 40

Page 3: From CSVs to SensorThings in 10 minutes

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

Page 4: From CSVs to SensorThings in 10 minutes

News - NEST Bricked Revolv๏ “companies can

potentially disconnect your smart devices and leave them essentially useless at any time.” CBC

Page 5: From CSVs to SensorThings in 10 minutes

What will be covered

๏Environmental Monitoring

๏ Lots environmental monitoring data are still shared in CSV format

๏Transform CSVs into actionable SensorThings in 10 minutes

Page 6: From CSVs to SensorThings in 10 minutes

Water Level Monitoring System with SensorThings

http://www.environment.alberta.ca/apps/basins/default.aspx

Page 7: From CSVs to SensorThings in 10 minutes

Steps

Configure the monitoring stations in

SensorThings

Download the CSVs of the

sensor readings

Parse the CSVs and Load to

SensorThings

1 2 3

Page 8: From CSVs to SensorThings in 10 minutes

Step 1

Configure the monitoring stations in

SensorThings

Download the CSVs of the

sensor readings

Parse the CSVs and Load to

SensorThings

1 2 3

Page 9: From CSVs to SensorThings in 10 minutes

prepare the data model

Water monitoring station

Barrier Lake

Water level sensorWater level

Simple geometry

Page 10: From CSVs to SensorThings in 10 minutes

POST ThingsThing

Location

Deep Insert: check out our first webinar series for details

Page 11: From CSVs to SensorThings in 10 minutes

POST Datastreams

Change the id to the Thing you just created

Page 12: From CSVs to SensorThings in 10 minutes

POST FeatureOfInterest

Page 13: From CSVs to SensorThings in 10 minutes

Station Location and Feature of Interest??

Location of the Thing (a point)

Feature of Interest (a polygon)

Page 14: From CSVs to SensorThings in 10 minutes

Step 2

Configure the monitoring stations in

SensorThings

Download the CSVs of the

sensor readings

Parse the CSVs and Load to

SensorThings

1 2 3

Page 15: From CSVs to SensorThings in 10 minutes

Download the CSV file

Page 16: From CSVs to SensorThings in 10 minutes

Shell script to upload the observations

Page 17: From CSVs to SensorThings in 10 minutes

Let’s load it in our dashboard

Page 18: From CSVs to SensorThings in 10 minutes

GIST

https://gist.github.com/liangsteve/d26a96c02108210a89991470ec1d1fb0

Page 19: From CSVs to SensorThings in 10 minutes

Summary๏SensorThings API provides great developer

experience.

๏minimum coding

๏ Interoperability - supports OGC/ISO O&M

๏ Location and Feature of Interest can be different

๏ e.g., station is the location, lake is the FoI

Page 20: From CSVs to SensorThings in 10 minutes

We will start our next webinar series soon!

Let us know what topics interest you!!

Email: [email protected]