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: Build a Real-Time Smart City Dashboard for 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: Build a Real-Time Smart City Dashboard for 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

Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime NagercoilNagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoilmeghakumariji156
 
Tadepalligudem Escorts Service Girl ^ 9332606886, WhatsApp Anytime Tadepallig...
Tadepalligudem Escorts Service Girl ^ 9332606886, WhatsApp Anytime Tadepallig...Tadepalligudem Escorts Service Girl ^ 9332606886, WhatsApp Anytime Tadepallig...
Tadepalligudem Escorts Service Girl ^ 9332606886, WhatsApp Anytime Tadepallig...meghakumariji156
 
一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理F
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge GraphsEleniIlkou
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样ayvbos
 
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdfMatthew Sinclair
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查ydyuyu
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"growthgrids
 
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...kajalverma014
 
Abu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu DhabiAbu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu DhabiMonica Sydney
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC
 
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdfMatthew Sinclair
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制pxcywzqs
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样ayvbos
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtrahman018755
 
Best SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency DallasBest SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency DallasDigicorns Technologies
 
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsMonica Sydney
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdfMatthew Sinclair
 

Recently uploaded (20)

Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime NagercoilNagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
 
Tadepalligudem Escorts Service Girl ^ 9332606886, WhatsApp Anytime Tadepallig...
Tadepalligudem Escorts Service Girl ^ 9332606886, WhatsApp Anytime Tadepallig...Tadepalligudem Escorts Service Girl ^ 9332606886, WhatsApp Anytime Tadepallig...
Tadepalligudem Escorts Service Girl ^ 9332606886, WhatsApp Anytime Tadepallig...
 
一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
 
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
 
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
 
Abu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu DhabiAbu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
 
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
 
call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7
call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7
call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 
Best SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency DallasBest SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency Dallas
 
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
 

Visualize Your Smart City: Build a Real-Time Smart City Dashboard for 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