SlideShare a Scribd company logo
1 of 39
Download to read offline
#2: Visualize Your Smart City
- Build a Real-Time Smart City Dashboard for SensorThings API
Dr. Steve Liang, Ph.D., P.Eng.
Founder and CEO, SensorUp Inc.
Associate Professor, University of Calgary
Click here for webinar recording
Click here for source codes
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
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
News - SensorThings API Press Release
News - We are setting up a
SensorThings for Taiwan’s LASS, a very
large air quality monitoring network.
News - Calgary air quality update
http://example.sensorup.com/display/v1.0/Datastreams(4207)/Observations?
$expand=Datastream&$filter=phenomenonTime%20lt%202016-08-09T02:00:00Z
Hailstorm
What’s going
on here?
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
Today’s learning outcomes
๏ Review of SensorThings entities (ISO 19156 O&M)
๏ Creating a Chart for a Datastream with multiple requests
๏ Creating a Chart for a Datastream with a single request
๏ Create a Map showing the Location of the Thing/Datastream
๏ Create a simple dashboard
๏ Putting them all together into a single page
Why build your IoT application
with open standards?
IoT System
#1
IoT System
#2
IoT System
#3
IoT System
#N…
Write N times different
but similar codes!!
Wait.. how about
version updates?
Write N x M times,
where M is the average
number of updatesWrite an application for
proprietary IoT APIs
Why build your IoT application
with open standards?
IoT System
#1
IoT System
#2
IoT System
#3
IoT System
#N…
Write 1 time and use N
times.
Wait.. how about
version updates?
OGC standards are
stable and future proof.Write an application for
open standard IoT API
Today we will use SensorUp’s air quality
monitoring system in Calgary as an example.
http://example.sensorup.com/v1.0
What do you need?
Any text editor
A modern browser
(Chrome in this webinar)
A JSON viewer plugin
(JSONView in this
webinar)
IMPORTANT
We are using Highstock.js today.
Highstock/Highchart is open source
and free for non-commercial uses. But
it is NOT free for commercial uses.
Acknowledgement
Thanks to James Badger
for preparing today’s
tutorials’ source codes.
James and I are writing a
book on SensorThings API
and IoT/Smart Cities.
Please stay tuned!
The data model
AirBox
The Air in My
Backyard
• Plant Tower G3
• DHT22
• Particulate Matter 2.5
• Relative Humidity
• Air Temperature
My Backyard
#1 Create a Chart for a Datastream
๏ What information do we need to create a chart?
time series
(observations)
chart title
y-axis label
tooltip
#1 Create a Chart for a Datastream
๏ What do we need from SensorThings?
๏ Chart title
๏ Datastream’s description
๏ Time series
๏ Observations’ result and phenomenonTime
๏ Y-axis label
๏ unitOfMeasurement - symbol and name
#1 Create a Chart for a Datastream
๏ Chart title - Datastream’s description
๏ Datastreams(id)/description
๏ Time series - Observations’ result and phenomenonTime
๏ Datastreams(id)/Observations
๏ Y-axis label - unitOfMeasurement - symbol and name
๏ Datastreams(id)/unitOfMeasurement
#1 Create a Chart for a Datastream
๏ Send the first request for Datastream
๏ Datastreams(id)/description
#1 Create a Chart for a Datastream
๏ Send the second request for the time series -
Observations’ result and phenomenonTime
๏ Datastreams(id)/Observations
๏ $orderby and $top
#1 Create a Chart for a Datastream
๏ Y-axis label - unitOfMeasurement - symbol and name
๏ Datastreams(id)/unitOfMeasurement
#2 Create a Chart for a Datastream
with a single request
๏ Get all the required information with a single request
๏ Datastreams(id)?$expand=Observations
#3 Create a map showing the Thing/
Location
๏ Get a Datastream’s Thing’s Location
๏ Datastreams(id)?$expand=Thing/Locations
๏ Oh, we also need the Observations
๏ Datastreams(id)?
$expand=Observations,Thing/Locations
#3 Create a map showing the Thing/
Location
Prepare the map
#3 Create a map showing the Thing/
Location
๏ Datastreams(id)?
$expand=Observations,Thing/Locations
#4 Create a simple dashboard
๏ Display two widgets, one with the latest Observation and
the other one with the previous Observation
#4 Create a simple dashboard
๏ Display two widgets, one with the latest Observation and the other
one with the previous Observation
๏ What information do we need in this case?
๏ result
๏ phenomenonTime
๏ and we only need the latest result!
๏ Datastreams(id)/Observations?$top=1&$select=
result,phenomenonTime,id
#4 Create a simple dashboard
๏ Display two widgets, one with the latest Observation and
the other one with the previous Observation
#5 Putting everything together
Many of you just want a Charting
API that works….
Available here, Free for non-commercial uses
Display a Thing’s Datastreams
Which dashboard widget you like?
One line of code to switch between chart, table, gauge
, speedometer, and NVD3 chart.
Data Table for SensorThings
Display a Datastream from t1 to t2
SensorThings HCDT
๏ Available before August 18th 2016.
๏ Library/SDK
๏ Developer Documentation
๏ Interactive Tutorials
๏ Examples
If you think it’s good….
We have something even better!!
To Be Announced soon!
GIST
https://github.com/SensorUp/Webinars/
tree/master/2016-08-11-Visualize-Your-
Smart-Cities
Next Week
Analyze Your Smart City: Build Sensor
Analytics with SensorThings API

More Related Content

What's hot

Challenges and Opportunities of the IoT Data and Service Interoperability
Challenges and Opportunities of the IoT Data and Service InteroperabilityChallenges and Opportunities of the IoT Data and Service Interoperability
Challenges and Opportunities of the IoT Data and Service InteroperabilitySensorUp
 
Arctic Web Map, PolarMap.js, Arctic Sensor Web, and Arctic Citizen Sensors
Arctic Web Map, PolarMap.js, Arctic Sensor Web, and Arctic Citizen SensorsArctic Web Map, PolarMap.js, Arctic Sensor Web, and Arctic Citizen Sensors
Arctic Web Map, PolarMap.js, Arctic Sensor Web, and Arctic Citizen SensorsSensorUp
 
Sensor thingsapi webinar-#3-rest-for-iot-api-20151210
Sensor thingsapi webinar-#3-rest-for-iot-api-20151210Sensor thingsapi webinar-#3-rest-for-iot-api-20151210
Sensor thingsapi webinar-#3-rest-for-iot-api-20151210SensorUp
 
OGC SensorThings API - a very short introduction for ITU-T
OGC SensorThings API - a very short introduction for ITU-TOGC SensorThings API - a very short introduction for ITU-T
OGC SensorThings API - a very short introduction for ITU-TSensorUp
 
MQTT and SensorThings API MQTT Extension
MQTT and SensorThings API MQTT ExtensionMQTT and SensorThings API MQTT Extension
MQTT and SensorThings API MQTT ExtensionSensorUp
 
Discussion materials for the Internet of Things and Blockchain
Discussion materials for the Internet of Things and BlockchainDiscussion materials for the Internet of Things and Blockchain
Discussion materials for the Internet of Things and BlockchainSensorUp
 
OGC SensorThings API for Location Aware Sensing System (LASS) 2017 User Confe...
OGC SensorThings API for Location Aware Sensing System (LASS) 2017 User Confe...OGC SensorThings API for Location Aware Sensing System (LASS) 2017 User Confe...
OGC SensorThings API for Location Aware Sensing System (LASS) 2017 User Confe...SensorUp
 
Discussion materials for Internet of Things and Smart Cities - Vespucci 2016 ...
Discussion materials for Internet of Things and Smart Cities - Vespucci 2016 ...Discussion materials for Internet of Things and Smart Cities - Vespucci 2016 ...
Discussion materials for Internet of Things and Smart Cities - Vespucci 2016 ...SensorUp
 
Edge Computing and OGC SensorThings API
Edge Computing and OGC SensorThings APIEdge Computing and OGC SensorThings API
Edge Computing and OGC SensorThings APISensorUp
 
Actionable Insights from Multi-sensor IoT Systems using the OGC SensorThings ...
Actionable Insights from Multi-sensor IoT Systems using the OGC SensorThings ...Actionable Insights from Multi-sensor IoT Systems using the OGC SensorThings ...
Actionable Insights from Multi-sensor IoT Systems using the OGC SensorThings ...SensorUp
 
Resume - technical - template 3_27_16
Resume - technical - template 3_27_16Resume - technical - template 3_27_16
Resume - technical - template 3_27_16Gary Arzumanyan, PE
 
A Standardized Encoding to Exchange Citizen Science Data - ESCA 2015
A Standardized Encoding to Exchange Citizen Science Data - ESCA 2015A Standardized Encoding to Exchange Citizen Science Data - ESCA 2015
A Standardized Encoding to Exchange Citizen Science Data - ESCA 2015COBWEB Project
 
Using Enterprise Search at the city of Antibes
Using Enterprise Search at the city of AntibesUsing Enterprise Search at the city of Antibes
Using Enterprise Search at the city of Antibesfrancelabs
 
Scripting Things - Creating the Internet of Things with Perl
Scripting Things - Creating the Internet of Things with PerlScripting Things - Creating the Internet of Things with Perl
Scripting Things - Creating the Internet of Things with PerlHans Scharler
 
Open Cloud -- Future of Cloud Computing
Open Cloud -- Future of Cloud ComputingOpen Cloud -- Future of Cloud Computing
Open Cloud -- Future of Cloud ComputingAtul Jha
 
Top-Down Approach to Monitoring
Top-Down Approach to MonitoringTop-Down Approach to Monitoring
Top-Down Approach to MonitoringBigPanda
 
Building an Artificial Intelligence mobile application with GeneXus - Angelo ...
Building an Artificial Intelligence mobile application with GeneXus - Angelo ...Building an Artificial Intelligence mobile application with GeneXus - Angelo ...
Building an Artificial Intelligence mobile application with GeneXus - Angelo ...GeneXus
 
Using R for the internet of things
Using R for the internet of thingsUsing R for the internet of things
Using R for the internet of thingscdhowe
 

What's hot (20)

Challenges and Opportunities of the IoT Data and Service Interoperability
Challenges and Opportunities of the IoT Data and Service InteroperabilityChallenges and Opportunities of the IoT Data and Service Interoperability
Challenges and Opportunities of the IoT Data and Service Interoperability
 
Arctic Web Map, PolarMap.js, Arctic Sensor Web, and Arctic Citizen Sensors
Arctic Web Map, PolarMap.js, Arctic Sensor Web, and Arctic Citizen SensorsArctic Web Map, PolarMap.js, Arctic Sensor Web, and Arctic Citizen Sensors
Arctic Web Map, PolarMap.js, Arctic Sensor Web, and Arctic Citizen Sensors
 
Sensor thingsapi webinar-#3-rest-for-iot-api-20151210
Sensor thingsapi webinar-#3-rest-for-iot-api-20151210Sensor thingsapi webinar-#3-rest-for-iot-api-20151210
Sensor thingsapi webinar-#3-rest-for-iot-api-20151210
 
OGC SensorThings API - a very short introduction for ITU-T
OGC SensorThings API - a very short introduction for ITU-TOGC SensorThings API - a very short introduction for ITU-T
OGC SensorThings API - a very short introduction for ITU-T
 
MQTT and SensorThings API MQTT Extension
MQTT and SensorThings API MQTT ExtensionMQTT and SensorThings API MQTT Extension
MQTT and SensorThings API MQTT Extension
 
Discussion materials for the Internet of Things and Blockchain
Discussion materials for the Internet of Things and BlockchainDiscussion materials for the Internet of Things and Blockchain
Discussion materials for the Internet of Things and Blockchain
 
OGC SensorThings API for Location Aware Sensing System (LASS) 2017 User Confe...
OGC SensorThings API for Location Aware Sensing System (LASS) 2017 User Confe...OGC SensorThings API for Location Aware Sensing System (LASS) 2017 User Confe...
OGC SensorThings API for Location Aware Sensing System (LASS) 2017 User Confe...
 
Discussion materials for Internet of Things and Smart Cities - Vespucci 2016 ...
Discussion materials for Internet of Things and Smart Cities - Vespucci 2016 ...Discussion materials for Internet of Things and Smart Cities - Vespucci 2016 ...
Discussion materials for Internet of Things and Smart Cities - Vespucci 2016 ...
 
Edge Computing and OGC SensorThings API
Edge Computing and OGC SensorThings APIEdge Computing and OGC SensorThings API
Edge Computing and OGC SensorThings API
 
Actionable Insights from Multi-sensor IoT Systems using the OGC SensorThings ...
Actionable Insights from Multi-sensor IoT Systems using the OGC SensorThings ...Actionable Insights from Multi-sensor IoT Systems using the OGC SensorThings ...
Actionable Insights from Multi-sensor IoT Systems using the OGC SensorThings ...
 
Resume - technical - template 3_27_16
Resume - technical - template 3_27_16Resume - technical - template 3_27_16
Resume - technical - template 3_27_16
 
Open Stack and SDN
Open Stack and SDNOpen Stack and SDN
Open Stack and SDN
 
A Standardized Encoding to Exchange Citizen Science Data - ESCA 2015
A Standardized Encoding to Exchange Citizen Science Data - ESCA 2015A Standardized Encoding to Exchange Citizen Science Data - ESCA 2015
A Standardized Encoding to Exchange Citizen Science Data - ESCA 2015
 
Using Enterprise Search at the city of Antibes
Using Enterprise Search at the city of AntibesUsing Enterprise Search at the city of Antibes
Using Enterprise Search at the city of Antibes
 
Scripting Things - Creating the Internet of Things with Perl
Scripting Things - Creating the Internet of Things with PerlScripting Things - Creating the Internet of Things with Perl
Scripting Things - Creating the Internet of Things with Perl
 
Open Cloud -- Future of Cloud Computing
Open Cloud -- Future of Cloud ComputingOpen Cloud -- Future of Cloud Computing
Open Cloud -- Future of Cloud Computing
 
Top-Down Approach to Monitoring
Top-Down Approach to MonitoringTop-Down Approach to Monitoring
Top-Down Approach to Monitoring
 
Building an Artificial Intelligence mobile application with GeneXus - Angelo ...
Building an Artificial Intelligence mobile application with GeneXus - Angelo ...Building an Artificial Intelligence mobile application with GeneXus - Angelo ...
Building an Artificial Intelligence mobile application with GeneXus - Angelo ...
 
IoT and Big data with R
IoT and Big data with RIoT and Big data with R
IoT and Big data with R
 
Using R for the internet of things
Using R for the internet of thingsUsing R for the internet of things
Using R for the internet of things
 

Viewers also liked

ISO Smart City Infrastucture Frameworkv2
ISO Smart City Infrastucture Frameworkv2ISO Smart City Infrastucture Frameworkv2
ISO Smart City Infrastucture Frameworkv2Jonathan L. Tan, M.B.A.
 
Rapid Response Linked Data
Rapid Response Linked DataRapid Response Linked Data
Rapid Response Linked DataEugene Siow
 
Work on Linked Data for the Internet of Things
Work on Linked Data for the Internet of ThingsWork on Linked Data for the Internet of Things
Work on Linked Data for the Internet of ThingsEugene Siow
 
How autonomous vehicles work
How autonomous vehicles workHow autonomous vehicles work
How autonomous vehicles workTorben Haagh
 
Smart gym 360º presentación
Smart gym 360º presentaciónSmart gym 360º presentación
Smart gym 360º presentaciónhylennegonzalez
 
Presentación Comercial Zino3
Presentación Comercial Zino3Presentación Comercial Zino3
Presentación Comercial Zino3guest84028b
 
Citizen Sensing with the SenosrThings API
Citizen Sensing with the SenosrThings APICitizen Sensing with the SenosrThings API
Citizen Sensing with the SenosrThings APISensorUp
 
Hotel always open to guests' needs: the complete access control solutions wit...
Hotel always open to guests' needs: the complete access control solutions wit...Hotel always open to guests' needs: the complete access control solutions wit...
Hotel always open to guests' needs: the complete access control solutions wit...Smart_Technology_Group
 
City Next for Partners
City Next for PartnersCity Next for Partners
City Next for PartnersLe Cuong
 
project report on FITNESS HUB
project report on FITNESS HUBproject report on FITNESS HUB
project report on FITNESS HUBShwetanshu Gupta
 
Riku Oja - Crowdsourcing smart city data in Helsinki - Mindtrek 2016
Riku Oja - Crowdsourcing smart city data in Helsinki - Mindtrek 2016Riku Oja - Crowdsourcing smart city data in Helsinki - Mindtrek 2016
Riku Oja - Crowdsourcing smart city data in Helsinki - Mindtrek 2016Mindtrek
 
Torri Martin - SmartATL: Smart City Strategy - GCS16
Torri Martin - SmartATL: Smart City Strategy - GCS16Torri Martin - SmartATL: Smart City Strategy - GCS16
Torri Martin - SmartATL: Smart City Strategy - GCS16KC Digital Drive
 
The Smart City in 3 questions: Why, What  and How to succeed its implementat...
The Smart City in 3 questions:  Why, What  and How to succeed its implementat...The Smart City in 3 questions:  Why, What  and How to succeed its implementat...
The Smart City in 3 questions: Why, What  and How to succeed its implementat...Isam Shahrour
 

Viewers also liked (17)

ISO Smart City Infrastucture Frameworkv2
ISO Smart City Infrastucture Frameworkv2ISO Smart City Infrastucture Frameworkv2
ISO Smart City Infrastucture Frameworkv2
 
Disability and Smart Cities
Disability and Smart CitiesDisability and Smart Cities
Disability and Smart Cities
 
Rapid Response Linked Data
Rapid Response Linked DataRapid Response Linked Data
Rapid Response Linked Data
 
Work on Linked Data for the Internet of Things
Work on Linked Data for the Internet of ThingsWork on Linked Data for the Internet of Things
Work on Linked Data for the Internet of Things
 
How autonomous vehicles work
How autonomous vehicles workHow autonomous vehicles work
How autonomous vehicles work
 
Smart gym 360º presentación
Smart gym 360º presentaciónSmart gym 360º presentación
Smart gym 360º presentación
 
Presentación Comercial Zino3
Presentación Comercial Zino3Presentación Comercial Zino3
Presentación Comercial Zino3
 
Citizen Sensing with the SenosrThings API
Citizen Sensing with the SenosrThings APICitizen Sensing with the SenosrThings API
Citizen Sensing with the SenosrThings API
 
Smart Hotel
Smart HotelSmart Hotel
Smart Hotel
 
Hotel always open to guests' needs: the complete access control solutions wit...
Hotel always open to guests' needs: the complete access control solutions wit...Hotel always open to guests' needs: the complete access control solutions wit...
Hotel always open to guests' needs: the complete access control solutions wit...
 
City Next for Partners
City Next for PartnersCity Next for Partners
City Next for Partners
 
project report on FITNESS HUB
project report on FITNESS HUBproject report on FITNESS HUB
project report on FITNESS HUB
 
Riku Oja - Crowdsourcing smart city data in Helsinki - Mindtrek 2016
Riku Oja - Crowdsourcing smart city data in Helsinki - Mindtrek 2016Riku Oja - Crowdsourcing smart city data in Helsinki - Mindtrek 2016
Riku Oja - Crowdsourcing smart city data in Helsinki - Mindtrek 2016
 
Torri Martin - SmartATL: Smart City Strategy - GCS16
Torri Martin - SmartATL: Smart City Strategy - GCS16Torri Martin - SmartATL: Smart City Strategy - GCS16
Torri Martin - SmartATL: Smart City Strategy - GCS16
 
The Smart City in 3 questions: Why, What  and How to succeed its implementat...
The Smart City in 3 questions:  Why, What  and How to succeed its implementat...The Smart City in 3 questions:  Why, What  and How to succeed its implementat...
The Smart City in 3 questions: Why, What  and How to succeed its implementat...
 
EU FP7 CityPulse Project
EU FP7 CityPulse ProjectEU FP7 CityPulse Project
EU FP7 CityPulse Project
 
Smart Cities, Urban Development & Strategic Road Development Plan
Smart Cities, Urban Development & Strategic Road Development PlanSmart Cities, Urban Development & Strategic Road Development Plan
Smart Cities, Urban Development & Strategic Road Development Plan
 

Similar to Visualize Your Smart City Dashboard with SensorThings API

Azure tales: a real world CQRS and ES Deep Dive - Andrea Saltarello
Azure tales: a real world CQRS and ES Deep Dive - Andrea SaltarelloAzure tales: a real world CQRS and ES Deep Dive - Andrea Saltarello
Azure tales: a real world CQRS and ES Deep Dive - Andrea SaltarelloITCamp
 
Testing Big in JavaScript
Testing Big in JavaScriptTesting Big in JavaScript
Testing Big in JavaScriptRobert DeLuca
 
The Internet of Things: Patterns for building real world applications
The Internet of Things:  Patterns for building real world applicationsThe Internet of Things:  Patterns for building real world applications
The Internet of Things: Patterns for building real world applicationsIron.io
 
AppSec Pipelines and Event based Security
AppSec Pipelines and Event based SecurityAppSec Pipelines and Event based Security
AppSec Pipelines and Event based SecurityMatt Tesauro
 
The Fine Art of Time Travelling - Implementing Event Sourcing - Andrea Saltar...
The Fine Art of Time Travelling - Implementing Event Sourcing - Andrea Saltar...The Fine Art of Time Travelling - Implementing Event Sourcing - Andrea Saltar...
The Fine Art of Time Travelling - Implementing Event Sourcing - Andrea Saltar...ITCamp
 
Internet of Things: Patterns For Building Real World Applications
Internet of Things: Patterns For Building Real World ApplicationsInternet of Things: Patterns For Building Real World Applications
Internet of Things: Patterns For Building Real World ApplicationsIvan Dwyer
 
Daniel Egan Msdn Tech Days Oc Day2
Daniel Egan Msdn Tech Days Oc Day2Daniel Egan Msdn Tech Days Oc Day2
Daniel Egan Msdn Tech Days Oc Day2Daniel Egan
 
IRJET- Machine Learning for Weather Prediction and Forecasting for Local Weat...
IRJET- Machine Learning for Weather Prediction and Forecasting for Local Weat...IRJET- Machine Learning for Weather Prediction and Forecasting for Local Weat...
IRJET- Machine Learning for Weather Prediction and Forecasting for Local Weat...IRJET Journal
 
The what why and how of web analytics testing
The what why and how of web analytics testingThe what why and how of web analytics testing
The what why and how of web analytics testingVodqaBLR
 
OpenTelemetry Introduction
OpenTelemetry Introduction OpenTelemetry Introduction
OpenTelemetry Introduction DimitrisFinas1
 
Full-stack Web Development with MongoDB, Node.js and AWS
Full-stack Web Development with MongoDB, Node.js and AWSFull-stack Web Development with MongoDB, Node.js and AWS
Full-stack Web Development with MongoDB, Node.js and AWSMongoDB
 
Corey.Berry.Portfolio.2016
Corey.Berry.Portfolio.2016Corey.Berry.Portfolio.2016
Corey.Berry.Portfolio.2016Corey Berry
 
INTERFACE, by apidays - The Evolution of Data Movement.pdf
INTERFACE, by apidays - The Evolution of Data Movement.pdfINTERFACE, by apidays - The Evolution of Data Movement.pdf
INTERFACE, by apidays - The Evolution of Data Movement.pdfapidays
 
Cytoscape: Now and Future
Cytoscape: Now and FutureCytoscape: Now and Future
Cytoscape: Now and FutureKeiichiro Ono
 
Analysing Water Quality of an Area - II
Analysing Water Quality of an Area - IIAnalysing Water Quality of an Area - II
Analysing Water Quality of an Area - IIIRJET Journal
 
PredictionIO - Building Applications That Predict User Behavior Through Big D...
PredictionIO - Building Applications That Predict User Behavior Through Big D...PredictionIO - Building Applications That Predict User Behavior Through Big D...
PredictionIO - Building Applications That Predict User Behavior Through Big D...predictionio
 
Performance trends and alerts with ThingSpeak IoT
Performance trends and alerts with ThingSpeak IoTPerformance trends and alerts with ThingSpeak IoT
Performance trends and alerts with ThingSpeak IoTAnoush Najarian
 
Io t technologies_ppt-2
Io t technologies_ppt-2Io t technologies_ppt-2
Io t technologies_ppt-2achakracu
 
Anaconda and PyData Solutions
Anaconda and PyData SolutionsAnaconda and PyData Solutions
Anaconda and PyData SolutionsTravis Oliphant
 

Similar to Visualize Your Smart City Dashboard with SensorThings API (20)

Geo-Django Python
Geo-Django PythonGeo-Django Python
Geo-Django Python
 
Azure tales: a real world CQRS and ES Deep Dive - Andrea Saltarello
Azure tales: a real world CQRS and ES Deep Dive - Andrea SaltarelloAzure tales: a real world CQRS and ES Deep Dive - Andrea Saltarello
Azure tales: a real world CQRS and ES Deep Dive - Andrea Saltarello
 
Testing Big in JavaScript
Testing Big in JavaScriptTesting Big in JavaScript
Testing Big in JavaScript
 
The Internet of Things: Patterns for building real world applications
The Internet of Things:  Patterns for building real world applicationsThe Internet of Things:  Patterns for building real world applications
The Internet of Things: Patterns for building real world applications
 
AppSec Pipelines and Event based Security
AppSec Pipelines and Event based SecurityAppSec Pipelines and Event based Security
AppSec Pipelines and Event based Security
 
The Fine Art of Time Travelling - Implementing Event Sourcing - Andrea Saltar...
The Fine Art of Time Travelling - Implementing Event Sourcing - Andrea Saltar...The Fine Art of Time Travelling - Implementing Event Sourcing - Andrea Saltar...
The Fine Art of Time Travelling - Implementing Event Sourcing - Andrea Saltar...
 
Internet of Things: Patterns For Building Real World Applications
Internet of Things: Patterns For Building Real World ApplicationsInternet of Things: Patterns For Building Real World Applications
Internet of Things: Patterns For Building Real World Applications
 
Daniel Egan Msdn Tech Days Oc Day2
Daniel Egan Msdn Tech Days Oc Day2Daniel Egan Msdn Tech Days Oc Day2
Daniel Egan Msdn Tech Days Oc Day2
 
IRJET- Machine Learning for Weather Prediction and Forecasting for Local Weat...
IRJET- Machine Learning for Weather Prediction and Forecasting for Local Weat...IRJET- Machine Learning for Weather Prediction and Forecasting for Local Weat...
IRJET- Machine Learning for Weather Prediction and Forecasting for Local Weat...
 
The what why and how of web analytics testing
The what why and how of web analytics testingThe what why and how of web analytics testing
The what why and how of web analytics testing
 
OpenTelemetry Introduction
OpenTelemetry Introduction OpenTelemetry Introduction
OpenTelemetry Introduction
 
Full-stack Web Development with MongoDB, Node.js and AWS
Full-stack Web Development with MongoDB, Node.js and AWSFull-stack Web Development with MongoDB, Node.js and AWS
Full-stack Web Development with MongoDB, Node.js and AWS
 
Corey.Berry.Portfolio.2016
Corey.Berry.Portfolio.2016Corey.Berry.Portfolio.2016
Corey.Berry.Portfolio.2016
 
INTERFACE, by apidays - The Evolution of Data Movement.pdf
INTERFACE, by apidays - The Evolution of Data Movement.pdfINTERFACE, by apidays - The Evolution of Data Movement.pdf
INTERFACE, by apidays - The Evolution of Data Movement.pdf
 
Cytoscape: Now and Future
Cytoscape: Now and FutureCytoscape: Now and Future
Cytoscape: Now and Future
 
Analysing Water Quality of an Area - II
Analysing Water Quality of an Area - IIAnalysing Water Quality of an Area - II
Analysing Water Quality of an Area - II
 
PredictionIO - Building Applications That Predict User Behavior Through Big D...
PredictionIO - Building Applications That Predict User Behavior Through Big D...PredictionIO - Building Applications That Predict User Behavior Through Big D...
PredictionIO - Building Applications That Predict User Behavior Through Big D...
 
Performance trends and alerts with ThingSpeak IoT
Performance trends and alerts with ThingSpeak IoTPerformance trends and alerts with ThingSpeak IoT
Performance trends and alerts with ThingSpeak IoT
 
Io t technologies_ppt-2
Io t technologies_ppt-2Io t technologies_ppt-2
Io t technologies_ppt-2
 
Anaconda and PyData Solutions
Anaconda and PyData SolutionsAnaconda and PyData Solutions
Anaconda and PyData Solutions
 

Recently uploaded

Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作ys8omjxb
 
Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Sonam Pathan
 
SCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is prediSCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is predieusebiomeyer
 
Film cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasaFilm cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasa494f574xmv
 
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxTop 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxDyna Gilbert
 
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书rnrncn29
 
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Sonam Pathan
 
Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Paul Calvano
 
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书zdzoqco
 
PHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationPHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationLinaWolf1
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一z xss
 
NSX-T and Service Interfaces presentation
NSX-T and Service Interfaces presentationNSX-T and Service Interfaces presentation
NSX-T and Service Interfaces presentationMarko4394
 
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书rnrncn29
 
Contact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New DelhiContact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New Delhimiss dipika
 
Q4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptxQ4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptxeditsforyah
 

Recently uploaded (17)

Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
 
Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170
 
SCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is prediSCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is predi
 
Film cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasaFilm cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasa
 
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxTop 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptx
 
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
 
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
 
Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24
 
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
 
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
 
PHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationPHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 Documentation
 
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
 
NSX-T and Service Interfaces presentation
NSX-T and Service Interfaces presentationNSX-T and Service Interfaces presentation
NSX-T and Service Interfaces presentation
 
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
 
Contact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New DelhiContact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New Delhi
 
Q4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptxQ4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptx
 

Visualize Your Smart City Dashboard with SensorThings API

  • 1. #2: Visualize Your Smart City - Build a Real-Time Smart City Dashboard for SensorThings API Dr. Steve Liang, Ph.D., P.Eng. Founder and CEO, SensorUp Inc. Associate Professor, University of Calgary Click here for webinar recording Click here for source codes
  • 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. 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. News - SensorThings API Press Release
  • 5. News - We are setting up a SensorThings for Taiwan’s LASS, a very large air quality monitoring network.
  • 6. News - Calgary air quality update http://example.sensorup.com/display/v1.0/Datastreams(4207)/Observations? $expand=Datastream&$filter=phenomenonTime%20lt%202016-08-09T02:00:00Z Hailstorm What’s going on here?
  • 7. 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
  • 8. Today’s learning outcomes ๏ Review of SensorThings entities (ISO 19156 O&M) ๏ Creating a Chart for a Datastream with multiple requests ๏ Creating a Chart for a Datastream with a single request ๏ Create a Map showing the Location of the Thing/Datastream ๏ Create a simple dashboard ๏ Putting them all together into a single page
  • 9. Why build your IoT application with open standards? IoT System #1 IoT System #2 IoT System #3 IoT System #N… Write N times different but similar codes!! Wait.. how about version updates? Write N x M times, where M is the average number of updatesWrite an application for proprietary IoT APIs
  • 10. Why build your IoT application with open standards? IoT System #1 IoT System #2 IoT System #3 IoT System #N… Write 1 time and use N times. Wait.. how about version updates? OGC standards are stable and future proof.Write an application for open standard IoT API
  • 11. Today we will use SensorUp’s air quality monitoring system in Calgary as an example. http://example.sensorup.com/v1.0
  • 12. What do you need? Any text editor A modern browser (Chrome in this webinar) A JSON viewer plugin (JSONView in this webinar)
  • 13. IMPORTANT We are using Highstock.js today. Highstock/Highchart is open source and free for non-commercial uses. But it is NOT free for commercial uses.
  • 14. Acknowledgement Thanks to James Badger for preparing today’s tutorials’ source codes. James and I are writing a book on SensorThings API and IoT/Smart Cities. Please stay tuned!
  • 15. The data model AirBox The Air in My Backyard • Plant Tower G3 • DHT22 • Particulate Matter 2.5 • Relative Humidity • Air Temperature My Backyard
  • 16. #1 Create a Chart for a Datastream ๏ What information do we need to create a chart? time series (observations) chart title y-axis label tooltip
  • 17. #1 Create a Chart for a Datastream ๏ What do we need from SensorThings? ๏ Chart title ๏ Datastream’s description ๏ Time series ๏ Observations’ result and phenomenonTime ๏ Y-axis label ๏ unitOfMeasurement - symbol and name
  • 18. #1 Create a Chart for a Datastream ๏ Chart title - Datastream’s description ๏ Datastreams(id)/description ๏ Time series - Observations’ result and phenomenonTime ๏ Datastreams(id)/Observations ๏ Y-axis label - unitOfMeasurement - symbol and name ๏ Datastreams(id)/unitOfMeasurement
  • 19. #1 Create a Chart for a Datastream ๏ Send the first request for Datastream ๏ Datastreams(id)/description
  • 20. #1 Create a Chart for a Datastream ๏ Send the second request for the time series - Observations’ result and phenomenonTime ๏ Datastreams(id)/Observations ๏ $orderby and $top
  • 21. #1 Create a Chart for a Datastream ๏ Y-axis label - unitOfMeasurement - symbol and name ๏ Datastreams(id)/unitOfMeasurement
  • 22. #2 Create a Chart for a Datastream with a single request ๏ Get all the required information with a single request ๏ Datastreams(id)?$expand=Observations
  • 23. #3 Create a map showing the Thing/ Location ๏ Get a Datastream’s Thing’s Location ๏ Datastreams(id)?$expand=Thing/Locations ๏ Oh, we also need the Observations ๏ Datastreams(id)? $expand=Observations,Thing/Locations
  • 24. #3 Create a map showing the Thing/ Location Prepare the map
  • 25. #3 Create a map showing the Thing/ Location ๏ Datastreams(id)? $expand=Observations,Thing/Locations
  • 26. #4 Create a simple dashboard ๏ Display two widgets, one with the latest Observation and the other one with the previous Observation
  • 27. #4 Create a simple dashboard ๏ Display two widgets, one with the latest Observation and the other one with the previous Observation ๏ What information do we need in this case? ๏ result ๏ phenomenonTime ๏ and we only need the latest result! ๏ Datastreams(id)/Observations?$top=1&$select= result,phenomenonTime,id
  • 28. #4 Create a simple dashboard ๏ Display two widgets, one with the latest Observation and the other one with the previous Observation
  • 30.
  • 31. Many of you just want a Charting API that works…. Available here, Free for non-commercial uses
  • 32. Display a Thing’s Datastreams
  • 33. Which dashboard widget you like? One line of code to switch between chart, table, gauge , speedometer, and NVD3 chart.
  • 34. Data Table for SensorThings
  • 35. Display a Datastream from t1 to t2
  • 36. SensorThings HCDT ๏ Available before August 18th 2016. ๏ Library/SDK ๏ Developer Documentation ๏ Interactive Tutorials ๏ Examples
  • 37. If you think it’s good…. We have something even better!! To Be Announced soon!
  • 39. Next Week Analyze Your Smart City: Build Sensor Analytics with SensorThings API