get local temperature into thingspeak
Mostrar comentarios más antiguos
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
Respuestas (1)
Hans Scharler
el 5 de Jun. de 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 comentarios
frank odonnell
el 5 de Jun. de 2019
Hans Scharler
el 6 de Jun. de 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?
frank odonnell
el 6 de Jun. de 2019
Comunidades de usuarios
Más respuestas en ThingSpeak Community
Categorías
Más información sobre ThingSpeak en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!