get local temperature into thingspeak

5 views (last 30 days)
frank odonnell
frank odonnell on 3 Jun 2019
Commented: frank odonnell on 6 Jun 2019
need to know how to retrieve local outdoor temperature in Celsius from say "" or similar so that Thingspeak/MATLABThingspeak/MATLAB can use it to analyze ideal humidity?
Thank you

Answers (1)

Hans Scharler
Hans Scharler on 5 Jun 2019
Try and passing in decimal degrees location for your city.
natickWeather = webread('');
humidity = str2double(natickWeather.currentobservation.Relh)
frank odonnell
frank odonnell on 6 Jun 2019
Canadian cities, for example Calgary, Alberta. If there is a service that allows access to the weather data using Thingspeak or MATLAB?
As you mught guess, I am new at this Thingspeak/Matlab application. I can get my data to display on my channels, and I would like to do some calcs based on changing barometric pressure, outdoor temperature, e.g. for weather changes and for ideal humidity, and to Email/Txt alerts.

Sign in to comment.


More Answers in the  ThingSpeak Community


Find more on ThingSpeak in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!