SlideShare a Scribd company logo
1 of 27
Download to read offline
Roberto Falconi
Sapienza – University of Rome
House temperature monitoring using AWS IoT and Raspberry
Individual Presentation for Pervasive Systems (AY 2017/18)
Internet of Things
Internet of Things refers to the
connection of devices to the Internet; as
the Internet of Things surges in the
coming years, more devices will join it
Cloud Computing
Software as a Service (Saas):
Cloud-based applications run on
computers in the cloud
Platform as a service (PaaS): Cloud
houses everything necessary to
build and deliver cloud-based
applications
Infrastructure as a service (IaaS):
provides companies with servers,
networking and data centers on a
per-use basis
Internet of Things vs
Cloud Computing
• Both serve to increase efficiency
in our everyday tasks, and the
two have a complimentary
relationship
• IoT generates massive amounts
of data, cloud computing
provides a pathway for that data
to travel to its destination
Amazon Web Services
AWS is a
growing global
network
As of 2017, AWS owns a dominant 34% of
all cloud and web services while the next
three competitors, Microsoft, Google, and
IBM have 11%, 8%, 6% respectively
Region of Availability
New Region (Coming Soon)
AWS IoT
AWS IoT is a managed
cloud platform that
lets connected devices
- cars, light bulbs,
sensor grids, etc. -
easily and securely
interact with cloud
applications and other
devices
AWS FreeRTOS
Amazon FreeRTOS is a IoT OS
that provides everything you
need to easily program
connected microcontroller-based
devices and collect data from
them for IoT applications
AWS Greengrass
AWS Greengrass works like a middleware and lets you build IoT solutions that connect different
types of devices with the cloud and each other – even when not connected to the internet
AWS IoT Device
Management
AWS IoT Device Management
makes it easy to securely
onboard, organize, monitor, and
remotely manage IoT devices at
scale
AWS IoT 1-Click
• AWS IoT 1-Click is a service that makes it
easy for simple devices to trigger AWS
Lambda functions that execute a specific
action
• AWS IoT Button is a device that uses AWS
IoT 1-Click
AWS IoT Button
• Based on the Amazon Dash Button
hardware, the AWS IoT Button is a
programmable Wi-Fi button, which is
perfect as a developer kit that can be
programmed to control internet-connected
devices and services like AWS IoT, AWS
Lambda, DynamoDB, Simple Notification
Service and other Amazon Web Services
• Eliminate the hassle of writing device-
specific code; code in the cloud to configure
your button’s single, double, and long clicks
AWS
IoT
Button
AWS Lambda
AWS Lambda lets you run code without provisioning or managing servers
AWS IoT in action
AWS IoT
Dashboard
• Monitor allows you to view
metrics from your devices
• Onboard shows tutorials
• Manage (things); things are
representations of devices
• Secure communication
between devices and AWS IoT
are guaranteed through the
use of X.509 certificates
• Act tells AWS IoT what to do
• Test can simulate things
AWS Lambda
Dashboard
• Dashboard shows a summary of your
account's functions and related metrics
in the current region
• The functions view lists all your
functions in the current region
AWS Simple
Notification Service
(SNS) Dashboard
Amazon Simple Notification Service (SNS)
is a flexible, fully managed pub/sub
messaging and mobile notifications service
for coordinating the delivery of messages
to subscribing endpoints and clients
E-mail notification
• Manage the AWS IoT Button by linking it to AWS
Account and creating secure certificate, policy,
action rule and permission role
• Write the Lambda Function in a supported language
(Go, C#, Java, Python or Node.js)
• Create and subscribe an SNS Topic
Node.js Lambda Function
It sends the e-mail and starts Callbacks to AWS IoT
Raspberry Pi 3
• Small and affordable
single-board computer
developed in the UK by
Raspberry Pi Foundation
• Supports Raspbian official
OS and many third parties
(Ubuntu Mate, Snappy
Ubuntu, Windows 10 IoT,
OSMC, Libreelec, Pinet,
Risc OS and IchigoJam)
IoT Communication Protocols
• HTTP: with AWS it’s possible to write
a proper Lambda function in a
supported language that calls require
and GET functions (or methods) to
perform an HTTP request to a server
• MQTT let user to wait for a
connection to be established with the
server and creates a link between the
nodes. Publish returns immediately to
the application thread after passing
the request to the MQTT client
Connect a device
to AWS IoT
• A device must be connected to a
Wi-Fi network to install required
files and send messages to AWS IoT
• All devices must install a device
certificate, private key and root CA
certificate in order to communicate
with AWS IoT
MQTT client
When a device is connected to
AWS IoT it becomes a “thing”, and
it doesn’t matter what type of
thing it is, because they are all
equal under AWS IoT: they can
communicate with each other and
can be emulated by another thing
Python code
Raspberry Pi 3 receive Callbacks from AWS IoT and executes functions
Full code available on GitHub
Hands-on Example
• Single-click on AWS IoT
Button to send an alert to
your housemates
• Double-click on AWS IoT
Button to switch on RPi’s
TMP102, allowing it to
gather information about
your house’s temperature
and send these info to all
connected devices via AWS
IoT; double-click again to
switch off the sensor
Watch the working demo in the next slide
• “As the Internet of things advances, the very
notion of a clear dividing line between reality
and virtual reality becomes blurred,
sometimes in creative ways” – Geoff Mulgan
Thank You!

More Related Content

What's hot

The Current and Future State of Internet of Things: Unveiling the Opportunities
The Current and Future State of Internet of Things: Unveiling the OpportunitiesThe Current and Future State of Internet of Things: Unveiling the Opportunities
The Current and Future State of Internet of Things: Unveiling the OpportunitiesGoutama Bachtiar
 
Internet of things
Internet of thingsInternet of things
Internet of thingsNaiyer Khan
 
Online Privacy
Online PrivacyOnline Privacy
Online PrivacyIWMW
 
Internet of Things (Iot) Based Smart Environment and its Applications
Internet of Things (Iot) Based Smart Environment and its ApplicationsInternet of Things (Iot) Based Smart Environment and its Applications
Internet of Things (Iot) Based Smart Environment and its Applicationsijtsrd
 
Smart home solution
Smart home solutionSmart home solution
Smart home solutiontipo-lab
 
Blockchain & the IoT
Blockchain & the IoTBlockchain & the IoT
Blockchain & the IoTMat Keep
 
Introduction to Internet of Things (IoT)
Introduction to Internet of Things (IoT) Introduction to Internet of Things (IoT)
Introduction to Internet of Things (IoT) Francesco Felicetta
 
FSI - Digital Transformation.pdf
FSI - Digital Transformation.pdfFSI - Digital Transformation.pdf
FSI - Digital Transformation.pdfYasmineBoudhina
 
Internet of things (iot)
Internet of things (iot)Internet of things (iot)
Internet of things (iot)shubhamyadav613
 
Internet of Things(IoT) - Introduction and Research Areas for Thesis
Internet of Things(IoT) - Introduction and Research Areas for ThesisInternet of Things(IoT) - Introduction and Research Areas for Thesis
Internet of Things(IoT) - Introduction and Research Areas for ThesisWriteMyThesis
 
Internet of Things (IOT) - Technology and Applications
Internet of Things (IOT) - Technology and ApplicationsInternet of Things (IOT) - Technology and Applications
Internet of Things (IOT) - Technology and ApplicationsDr. Mazlan Abbas
 
Internet of Things
Internet of ThingsInternet of Things
Internet of ThingsMphasis
 
Smart home applications in daily life
Smart home applications in daily lifeSmart home applications in daily life
Smart home applications in daily lifeSugata Mondal
 
Blockchain for IoT - Smart Home
Blockchain for IoT - Smart HomeBlockchain for IoT - Smart Home
Blockchain for IoT - Smart HomeBiagio Botticelli
 

What's hot (20)

The Current and Future State of Internet of Things: Unveiling the Opportunities
The Current and Future State of Internet of Things: Unveiling the OpportunitiesThe Current and Future State of Internet of Things: Unveiling the Opportunities
The Current and Future State of Internet of Things: Unveiling the Opportunities
 
Internet of things
Internet of thingsInternet of things
Internet of things
 
Online Privacy
Online PrivacyOnline Privacy
Online Privacy
 
Internet of things(IoT)
Internet of things(IoT)Internet of things(IoT)
Internet of things(IoT)
 
Internet of Things (Iot) Based Smart Environment and its Applications
Internet of Things (Iot) Based Smart Environment and its ApplicationsInternet of Things (Iot) Based Smart Environment and its Applications
Internet of Things (Iot) Based Smart Environment and its Applications
 
The IoT Advantage
The IoT AdvantageThe IoT Advantage
The IoT Advantage
 
Smart home solution
Smart home solutionSmart home solution
Smart home solution
 
Blockchain & the IoT
Blockchain & the IoTBlockchain & the IoT
Blockchain & the IoT
 
Introduction to Internet of Things (IoT)
Introduction to Internet of Things (IoT) Introduction to Internet of Things (IoT)
Introduction to Internet of Things (IoT)
 
Introduction to Internet of Things (IoT)
Introduction to Internet of Things (IoT)Introduction to Internet of Things (IoT)
Introduction to Internet of Things (IoT)
 
FSI - Digital Transformation.pdf
FSI - Digital Transformation.pdfFSI - Digital Transformation.pdf
FSI - Digital Transformation.pdf
 
Internet of things (iot)
Internet of things (iot)Internet of things (iot)
Internet of things (iot)
 
Iot - Internet of Things
Iot - Internet of ThingsIot - Internet of Things
Iot - Internet of Things
 
Internet of Things(IoT) - Introduction and Research Areas for Thesis
Internet of Things(IoT) - Introduction and Research Areas for ThesisInternet of Things(IoT) - Introduction and Research Areas for Thesis
Internet of Things(IoT) - Introduction and Research Areas for Thesis
 
Iot
IotIot
Iot
 
Internet of Things (IOT) - Technology and Applications
Internet of Things (IOT) - Technology and ApplicationsInternet of Things (IOT) - Technology and Applications
Internet of Things (IOT) - Technology and Applications
 
Internet of Things
Internet of ThingsInternet of Things
Internet of Things
 
Smart home applications in daily life
Smart home applications in daily lifeSmart home applications in daily life
Smart home applications in daily life
 
Blockchain for IoT - Smart Home
Blockchain for IoT - Smart HomeBlockchain for IoT - Smart Home
Blockchain for IoT - Smart Home
 
IoT security (Internet of Things)
IoT security (Internet of Things)IoT security (Internet of Things)
IoT security (Internet of Things)
 

Similar to House Temperature Monitoring using AWS IoT And Raspberry Pi

Alfresco Process Services (APS) and the Internet of Things
Alfresco Process Services (APS) and the Internet of ThingsAlfresco Process Services (APS) and the Internet of Things
Alfresco Process Services (APS) and the Internet of ThingsNathan McMinn
 
AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법 (김무현 솔루션즈 아키텍트)
AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법  (김무현 솔루션즈 아키텍트)AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법  (김무현 솔루션즈 아키텍트)
AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법 (김무현 솔루션즈 아키텍트)Amazon Web Services Korea
 
AWS物聯網基礎架構及連線概覽
AWS物聯網基礎架構及連線概覽AWS物聯網基礎架構及連線概覽
AWS物聯網基礎架構及連線概覽Amazon Web Services
 
(MBL205) New! Everything You Want to Know About AWS IoT
(MBL205) New! Everything You Want to Know About AWS IoT(MBL205) New! Everything You Want to Know About AWS IoT
(MBL205) New! Everything You Want to Know About AWS IoTAmazon Web Services
 
Building End to end IoT solutions
Building End to end IoT solutionsBuilding End to end IoT solutions
Building End to end IoT solutionsAmazon Web Services
 
Intro to AWS IoT - Pop-up Loft London
Intro to AWS IoT - Pop-up Loft LondonIntro to AWS IoT - Pop-up Loft London
Intro to AWS IoT - Pop-up Loft LondonBoaz Ziniman
 
Getting Started with AWS Internet of Things - AWS Summit Cape Town 2017
Getting Started with AWS Internet of Things - AWS Summit Cape Town 2017Getting Started with AWS Internet of Things - AWS Summit Cape Town 2017
Getting Started with AWS Internet of Things - AWS Summit Cape Town 2017Amazon Web Services
 
AWS March 2016 Webinar Series - AWS IoT Real Time Stream Processing with AWS ...
AWS March 2016 Webinar Series - AWS IoT Real Time Stream Processing with AWS ...AWS March 2016 Webinar Series - AWS IoT Real Time Stream Processing with AWS ...
AWS March 2016 Webinar Series - AWS IoT Real Time Stream Processing with AWS ...Amazon Web Services
 
IOT Based Smart City: Weather, Traffic and Pollution Monitoring System
IOT Based Smart City: Weather, Traffic and Pollution Monitoring System      IOT Based Smart City: Weather, Traffic and Pollution Monitoring System
IOT Based Smart City: Weather, Traffic and Pollution Monitoring System IRJET Journal
 
Connecting the Unconnected using AWS IoT - AWS Summit Tel Aviv 2017
Connecting the Unconnected using AWS IoT - AWS Summit Tel Aviv 2017Connecting the Unconnected using AWS IoT - AWS Summit Tel Aviv 2017
Connecting the Unconnected using AWS IoT - AWS Summit Tel Aviv 2017Amazon Web Services
 
Connecting your devices at scale, ft. Discovery - SVC205 - New York AWS Summit
Connecting your devices at scale, ft. Discovery - SVC205 - New York AWS SummitConnecting your devices at scale, ft. Discovery - SVC205 - New York AWS Summit
Connecting your devices at scale, ft. Discovery - SVC205 - New York AWS SummitAmazon Web Services
 

Similar to House Temperature Monitoring using AWS IoT And Raspberry Pi (20)

Alfresco Process Services (APS) and the Internet of Things
Alfresco Process Services (APS) and the Internet of ThingsAlfresco Process Services (APS) and the Internet of Things
Alfresco Process Services (APS) and the Internet of Things
 
Unit 6.pptx
Unit 6.pptxUnit 6.pptx
Unit 6.pptx
 
UNIT V.pdf
UNIT V.pdfUNIT V.pdf
UNIT V.pdf
 
iNTRODUCTION TO AWS IOT
iNTRODUCTION TO AWS IOTiNTRODUCTION TO AWS IOT
iNTRODUCTION TO AWS IOT
 
Internet of Things on AWS
Internet of Things on AWSInternet of Things on AWS
Internet of Things on AWS
 
KNoT Manifesto
KNoT ManifestoKNoT Manifesto
KNoT Manifesto
 
AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법 (김무현 솔루션즈 아키텍트)
AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법  (김무현 솔루션즈 아키텍트)AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법  (김무현 솔루션즈 아키텍트)
AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법 (김무현 솔루션즈 아키텍트)
 
AWS物聯網基礎架構及連線概覽
AWS物聯網基礎架構及連線概覽AWS物聯網基礎架構及連線概覽
AWS物聯網基礎架構及連線概覽
 
(MBL205) New! Everything You Want to Know About AWS IoT
(MBL205) New! Everything You Want to Know About AWS IoT(MBL205) New! Everything You Want to Know About AWS IoT
(MBL205) New! Everything You Want to Know About AWS IoT
 
Building End to end IoT solutions
Building End to end IoT solutionsBuilding End to end IoT solutions
Building End to end IoT solutions
 
Intro to AWS IoT - Pop-up Loft London
Intro to AWS IoT - Pop-up Loft LondonIntro to AWS IoT - Pop-up Loft London
Intro to AWS IoT - Pop-up Loft London
 
Intro to AWS IoT
Intro to AWS IoTIntro to AWS IoT
Intro to AWS IoT
 
Getting Started with AWS Internet of Things - AWS Summit Cape Town 2017
Getting Started with AWS Internet of Things - AWS Summit Cape Town 2017Getting Started with AWS Internet of Things - AWS Summit Cape Town 2017
Getting Started with AWS Internet of Things - AWS Summit Cape Town 2017
 
Getting Started with AWS IoT
Getting Started with AWS IoTGetting Started with AWS IoT
Getting Started with AWS IoT
 
AWS March 2016 Webinar Series - AWS IoT Real Time Stream Processing with AWS ...
AWS March 2016 Webinar Series - AWS IoT Real Time Stream Processing with AWS ...AWS March 2016 Webinar Series - AWS IoT Real Time Stream Processing with AWS ...
AWS March 2016 Webinar Series - AWS IoT Real Time Stream Processing with AWS ...
 
IOT Based Smart City: Weather, Traffic and Pollution Monitoring System
IOT Based Smart City: Weather, Traffic and Pollution Monitoring System      IOT Based Smart City: Weather, Traffic and Pollution Monitoring System
IOT Based Smart City: Weather, Traffic and Pollution Monitoring System
 
Connecting the Unconnected using AWS IoT - AWS Summit Tel Aviv 2017
Connecting the Unconnected using AWS IoT - AWS Summit Tel Aviv 2017Connecting the Unconnected using AWS IoT - AWS Summit Tel Aviv 2017
Connecting the Unconnected using AWS IoT - AWS Summit Tel Aviv 2017
 
AWS IoT Webinar
AWS IoT WebinarAWS IoT Webinar
AWS IoT Webinar
 
Getting Started with AWS IoT
Getting Started with AWS IoTGetting Started with AWS IoT
Getting Started with AWS IoT
 
Connecting your devices at scale, ft. Discovery - SVC205 - New York AWS Summit
Connecting your devices at scale, ft. Discovery - SVC205 - New York AWS SummitConnecting your devices at scale, ft. Discovery - SVC205 - New York AWS Summit
Connecting your devices at scale, ft. Discovery - SVC205 - New York AWS Summit
 

More from Roberto Falconi

River Trail: A Path to Parallelism in JavaScript
River Trail: A Path to Parallelism in JavaScriptRiver Trail: A Path to Parallelism in JavaScript
River Trail: A Path to Parallelism in JavaScriptRoberto Falconi
 
Biometric Systems - Automate Video Streaming Analysis with Azure and AWS
Biometric Systems - Automate Video Streaming Analysis with Azure and AWSBiometric Systems - Automate Video Streaming Analysis with Azure and AWS
Biometric Systems - Automate Video Streaming Analysis with Azure and AWSRoberto Falconi
 
Biometric Systems - Automate Video Streaming Analysis with Azure and AWS
Biometric Systems - Automate Video Streaming Analysis with Azure and AWSBiometric Systems - Automate Video Streaming Analysis with Azure and AWS
Biometric Systems - Automate Video Streaming Analysis with Azure and AWSRoberto Falconi
 
Black-Box attacks against Neural Networks - technical project presentation
Black-Box attacks against Neural Networks - technical project presentationBlack-Box attacks against Neural Networks - technical project presentation
Black-Box attacks against Neural Networks - technical project presentationRoberto Falconi
 
Black-Box attacks against Neural Networks - technical project report
Black-Box attacks against Neural Networks - technical project reportBlack-Box attacks against Neural Networks - technical project report
Black-Box attacks against Neural Networks - technical project reportRoberto Falconi
 
SUOMI - UCD approach to build an IoT smart guide for spa
SUOMI - UCD approach to build an IoT smart guide for spaSUOMI - UCD approach to build an IoT smart guide for spa
SUOMI - UCD approach to build an IoT smart guide for spaRoberto Falconi
 
Kalypso: She who hides. Encryption and decryption web app.
Kalypso: She who hides. Encryption and decryption web app.Kalypso: She who hides. Encryption and decryption web app.
Kalypso: She who hides. Encryption and decryption web app.Roberto Falconi
 
Bb 8 run - a star wars video game
Bb 8 run - a star wars video gameBb 8 run - a star wars video game
Bb 8 run - a star wars video gameRoberto Falconi
 
Venice boats classification
Venice boats classificationVenice boats classification
Venice boats classificationRoberto Falconi
 
Visual Analytics: Traffic Collisions in Italy
Visual Analytics: Traffic Collisions in ItalyVisual Analytics: Traffic Collisions in Italy
Visual Analytics: Traffic Collisions in ItalyRoberto Falconi
 
Visual Analytics: Traffic Collisions in Italy
Visual Analytics: Traffic Collisions in ItalyVisual Analytics: Traffic Collisions in Italy
Visual Analytics: Traffic Collisions in ItalyRoberto Falconi
 
SUOMI - Web and mobile app for spa users, using STM32 IoT, Microsoft Azure Cl...
SUOMI - Web and mobile app for spa users, using STM32 IoT, Microsoft Azure Cl...SUOMI - Web and mobile app for spa users, using STM32 IoT, Microsoft Azure Cl...
SUOMI - Web and mobile app for spa users, using STM32 IoT, Microsoft Azure Cl...Roberto Falconi
 
BB8 RUN - A Star Wars video game
BB8 RUN - A Star Wars video gameBB8 RUN - A Star Wars video game
BB8 RUN - A Star Wars video gameRoberto Falconi
 
Game Ratings Predictor - machine learning software to predict video games co...
Game Ratings Predictor  - machine learning software to predict video games co...Game Ratings Predictor  - machine learning software to predict video games co...
Game Ratings Predictor - machine learning software to predict video games co...Roberto Falconi
 

More from Roberto Falconi (16)

River Trail: A Path to Parallelism in JavaScript
River Trail: A Path to Parallelism in JavaScriptRiver Trail: A Path to Parallelism in JavaScript
River Trail: A Path to Parallelism in JavaScript
 
Biometric Systems - Automate Video Streaming Analysis with Azure and AWS
Biometric Systems - Automate Video Streaming Analysis with Azure and AWSBiometric Systems - Automate Video Streaming Analysis with Azure and AWS
Biometric Systems - Automate Video Streaming Analysis with Azure and AWS
 
Biometric Systems - Automate Video Streaming Analysis with Azure and AWS
Biometric Systems - Automate Video Streaming Analysis with Azure and AWSBiometric Systems - Automate Video Streaming Analysis with Azure and AWS
Biometric Systems - Automate Video Streaming Analysis with Azure and AWS
 
Black-Box attacks against Neural Networks - technical project presentation
Black-Box attacks against Neural Networks - technical project presentationBlack-Box attacks against Neural Networks - technical project presentation
Black-Box attacks against Neural Networks - technical project presentation
 
Black-Box attacks against Neural Networks - technical project report
Black-Box attacks against Neural Networks - technical project reportBlack-Box attacks against Neural Networks - technical project report
Black-Box attacks against Neural Networks - technical project report
 
SUOMI - UCD approach to build an IoT smart guide for spa
SUOMI - UCD approach to build an IoT smart guide for spaSUOMI - UCD approach to build an IoT smart guide for spa
SUOMI - UCD approach to build an IoT smart guide for spa
 
Kalypso: She who hides. Encryption and decryption web app.
Kalypso: She who hides. Encryption and decryption web app.Kalypso: She who hides. Encryption and decryption web app.
Kalypso: She who hides. Encryption and decryption web app.
 
Game ratings predictor
Game ratings predictorGame ratings predictor
Game ratings predictor
 
Bb 8 run - a star wars video game
Bb 8 run - a star wars video gameBb 8 run - a star wars video game
Bb 8 run - a star wars video game
 
Malware analysis
Malware analysisMalware analysis
Malware analysis
 
Venice boats classification
Venice boats classificationVenice boats classification
Venice boats classification
 
Visual Analytics: Traffic Collisions in Italy
Visual Analytics: Traffic Collisions in ItalyVisual Analytics: Traffic Collisions in Italy
Visual Analytics: Traffic Collisions in Italy
 
Visual Analytics: Traffic Collisions in Italy
Visual Analytics: Traffic Collisions in ItalyVisual Analytics: Traffic Collisions in Italy
Visual Analytics: Traffic Collisions in Italy
 
SUOMI - Web and mobile app for spa users, using STM32 IoT, Microsoft Azure Cl...
SUOMI - Web and mobile app for spa users, using STM32 IoT, Microsoft Azure Cl...SUOMI - Web and mobile app for spa users, using STM32 IoT, Microsoft Azure Cl...
SUOMI - Web and mobile app for spa users, using STM32 IoT, Microsoft Azure Cl...
 
BB8 RUN - A Star Wars video game
BB8 RUN - A Star Wars video gameBB8 RUN - A Star Wars video game
BB8 RUN - A Star Wars video game
 
Game Ratings Predictor - machine learning software to predict video games co...
Game Ratings Predictor  - machine learning software to predict video games co...Game Ratings Predictor  - machine learning software to predict video games co...
Game Ratings Predictor - machine learning software to predict video games co...
 

Recently uploaded

What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsMehedi Hasan Shohan
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningVitsRangannavar
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 

Recently uploaded (20)

What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software Solutions
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learning
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 

House Temperature Monitoring using AWS IoT And Raspberry Pi

  • 1. Roberto Falconi Sapienza – University of Rome House temperature monitoring using AWS IoT and Raspberry Individual Presentation for Pervasive Systems (AY 2017/18)
  • 2. Internet of Things Internet of Things refers to the connection of devices to the Internet; as the Internet of Things surges in the coming years, more devices will join it
  • 3. Cloud Computing Software as a Service (Saas): Cloud-based applications run on computers in the cloud Platform as a service (PaaS): Cloud houses everything necessary to build and deliver cloud-based applications Infrastructure as a service (IaaS): provides companies with servers, networking and data centers on a per-use basis
  • 4. Internet of Things vs Cloud Computing • Both serve to increase efficiency in our everyday tasks, and the two have a complimentary relationship • IoT generates massive amounts of data, cloud computing provides a pathway for that data to travel to its destination
  • 6. AWS is a growing global network As of 2017, AWS owns a dominant 34% of all cloud and web services while the next three competitors, Microsoft, Google, and IBM have 11%, 8%, 6% respectively Region of Availability New Region (Coming Soon)
  • 7. AWS IoT AWS IoT is a managed cloud platform that lets connected devices - cars, light bulbs, sensor grids, etc. - easily and securely interact with cloud applications and other devices
  • 8. AWS FreeRTOS Amazon FreeRTOS is a IoT OS that provides everything you need to easily program connected microcontroller-based devices and collect data from them for IoT applications
  • 9. AWS Greengrass AWS Greengrass works like a middleware and lets you build IoT solutions that connect different types of devices with the cloud and each other – even when not connected to the internet
  • 10. AWS IoT Device Management AWS IoT Device Management makes it easy to securely onboard, organize, monitor, and remotely manage IoT devices at scale
  • 11. AWS IoT 1-Click • AWS IoT 1-Click is a service that makes it easy for simple devices to trigger AWS Lambda functions that execute a specific action • AWS IoT Button is a device that uses AWS IoT 1-Click
  • 12. AWS IoT Button • Based on the Amazon Dash Button hardware, the AWS IoT Button is a programmable Wi-Fi button, which is perfect as a developer kit that can be programmed to control internet-connected devices and services like AWS IoT, AWS Lambda, DynamoDB, Simple Notification Service and other Amazon Web Services • Eliminate the hassle of writing device- specific code; code in the cloud to configure your button’s single, double, and long clicks
  • 14. AWS Lambda AWS Lambda lets you run code without provisioning or managing servers
  • 15. AWS IoT in action
  • 16. AWS IoT Dashboard • Monitor allows you to view metrics from your devices • Onboard shows tutorials • Manage (things); things are representations of devices • Secure communication between devices and AWS IoT are guaranteed through the use of X.509 certificates • Act tells AWS IoT what to do • Test can simulate things
  • 17. AWS Lambda Dashboard • Dashboard shows a summary of your account's functions and related metrics in the current region • The functions view lists all your functions in the current region
  • 18. AWS Simple Notification Service (SNS) Dashboard Amazon Simple Notification Service (SNS) is a flexible, fully managed pub/sub messaging and mobile notifications service for coordinating the delivery of messages to subscribing endpoints and clients
  • 19. E-mail notification • Manage the AWS IoT Button by linking it to AWS Account and creating secure certificate, policy, action rule and permission role • Write the Lambda Function in a supported language (Go, C#, Java, Python or Node.js) • Create and subscribe an SNS Topic
  • 20. Node.js Lambda Function It sends the e-mail and starts Callbacks to AWS IoT
  • 21. Raspberry Pi 3 • Small and affordable single-board computer developed in the UK by Raspberry Pi Foundation • Supports Raspbian official OS and many third parties (Ubuntu Mate, Snappy Ubuntu, Windows 10 IoT, OSMC, Libreelec, Pinet, Risc OS and IchigoJam)
  • 22. IoT Communication Protocols • HTTP: with AWS it’s possible to write a proper Lambda function in a supported language that calls require and GET functions (or methods) to perform an HTTP request to a server • MQTT let user to wait for a connection to be established with the server and creates a link between the nodes. Publish returns immediately to the application thread after passing the request to the MQTT client
  • 23. Connect a device to AWS IoT • A device must be connected to a Wi-Fi network to install required files and send messages to AWS IoT • All devices must install a device certificate, private key and root CA certificate in order to communicate with AWS IoT
  • 24. MQTT client When a device is connected to AWS IoT it becomes a “thing”, and it doesn’t matter what type of thing it is, because they are all equal under AWS IoT: they can communicate with each other and can be emulated by another thing
  • 25. Python code Raspberry Pi 3 receive Callbacks from AWS IoT and executes functions Full code available on GitHub
  • 26. Hands-on Example • Single-click on AWS IoT Button to send an alert to your housemates • Double-click on AWS IoT Button to switch on RPi’s TMP102, allowing it to gather information about your house’s temperature and send these info to all connected devices via AWS IoT; double-click again to switch off the sensor Watch the working demo in the next slide
  • 27. • “As the Internet of things advances, the very notion of a clear dividing line between reality and virtual reality becomes blurred, sometimes in creative ways” – Geoff Mulgan Thank You!