get local temperature into thingspeak
이전 댓글 표시
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
답변 (1개)
Hans Scharler
2019년 6월 5일
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
frank odonnell
2019년 6월 5일
Hans Scharler
2019년 6월 6일
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
2019년 6월 6일
커뮤니티
더 많은 답변 보기: ThingSpeak 커뮤니티
카테고리
도움말 센터 및 File Exchange에서 ThingSpeak에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!