Mantas Dabrovolskas in MATLAB Answers
上次活动时间: 2023-6-21

I am making a simple temperature graph with Thingspeak. I want to use my cities publicly available meteorology API - https://api.meteo.lt/v1/stations/vilniaus-ams/observations/2023-06-21 How would I read the temperature data and put it onto graph (merge it with inside temperature)? Here is how I do it with my inside temperature sensor (I used standard Matlab example and edited it - added three hours to fix my time zone): [dustData,Timestamps]=thingSpeakRead(XXXXXXX,'Fields',1,'NumPoints',100); plot(Timestamps+hours(3),dustData,'red'); ylabel('Degrees'); title('Temperature'); grid on;

关于 ThingSpeak

The community for students, researchers, and engineers looking to use MATLAB, Simulink, and ThingSpeak for Internet of Things applications. You can find the latest ThingSpeak news, tutorials to jump-start your next IoT project, and a forum to engage in a discussion on your latest cloud-based project. You can see answers to problems other users have solved and share how you solved a problem.