DAY10-Smart Weather Monotoring System
DAY10-Smart Weather Monotoring System
of
Things
Master Class
Day 10
M.K.Jeevarajan
www.pantechsolutions.net
Smart Humidity Sensor with
Thingspeak and IFTTT
● ESP32 HTTP GET Parts Required
https://thingspeak.com/
https://home.openweathermap.org/
https://ifttt.com/home
Announcement
● Attendance Link at 9 pm
● Minimum attendance required for an E-Certificate is 27
Days. Attendance link will be valid for 1 hrs. after the event.
● For Internship Candidates no attendance required ,it will be
accessed from the LMS Portal. (learn.pantechsolutions.net)
● Recorded Video Streaming for LAB classes to improve
Learning Experience
● PPT will be uploaded in facebook group
● Source code download is available only on the portal
Mindset Lesson
https://github.com/arduino-libraries/Arduino_JSON
JSON
https://api.openweathermap.org/data/2.5/weather?q=Chennai,IN&a
ppid=479760abe644fb9f8f7bd341d9981199
Step 1
Step 2
Step 3
Step 4
Step 5 HTTP Get Request
function
Step 6 Decoding JSON
Step 7
Step 8-IFTTT
What is a Webhook
● Webhooks are one of a few ways web applications can
communicate with each other.
● It allows you to send real-time data from one application to
another whenever a given event occurs.
● These callbacks may be maintained, modified, and managed by
third-party users and developers who may not necessarily be
affiliated with the originating website or application.
Step 9-Create Thingspeak Channel
and Code
% Enter your MATLAB Code below
channelID = 1567694;
tempdata = thingSpeakRead(1567694,'Fields',[3],'NumPoints',1,'ReadKey','1YVL9SHOEH7QXW9P')
iftttURL='https://maker.ifttt.com/trigger/testiot/with/key/o62hoyhDX19Vj1Kntb0VdYb1idDlq62aAx7e4ePacYU'
readAPIKey = '1YVL9SHOEH7QXW9P';
Message = 'Temperature is normal';
disp(Message);
webwrite(iftttURL,'value1',tempdata,'value2',Message);
DEMO
Click here to enroll internship @750
Questions and Answers
?
Thank you