get local temperature into thingspeak
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
need to know how to retrieve local outdoor temperature in Celsius from say "openweathermap.org" or similar so that Thingspeak/MATLABThingspeak/MATLAB can use it to analyze ideal humidity?
Thank you
0 commentaires
Réponses (1)
Hans Scharler
le 5 Juin 2019
Try weather.gov and passing in decimal degrees location for your city.
natickWeather = webread('http://forecast.weather.gov/MapClick.php?lat=42.2834300&lon=-71.3495000&FcstType=json');
humidity = str2double(natickWeather.currentobservation.Relh)
3 commentaires
Hans Scharler
le 6 Juin 2019
True. This a United States government feed. I do not know of any one that covers the world. What locations do you need covered?
Communautés
Plus de réponses dans ThingSpeak Community
Voir également
Catégories
En savoir plus sur ThingSpeak dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!