Sonoff TH16 - Collect data

10 次查看(过去 30 天)
Luca
Luca 2023-1-21
Hi,i want to connect my sonoff th 16 to a google sheet or a platform that i can collect data of temperature and humidity. I have tried various solution,but I can't. Is this possible with Thingspeak? Thank you for your help. Luca

回答(1 个)

Christopher Stapels
编辑:Christopher Stapels 2023-1-31
Yes, you can use the developer API mode in sonoff to read data and send it to ThingSpeak. You will need some program that can access the sonoff on your local network and then send the data to ThingSpeak. I bet you can do it in Java script, and you could definitely do it with desktop MATLAB. USe the read data API in sonoff to get the data and then use the ThingSpeak write APIhttps://www.mathworks.com/help/thingspeak/writedata.html to write the data to ThingSpeak. MATLAB (and ThingSpeak) has way more analysis and visualization power over google sheets. :)

类别

Help CenterFile Exchange 中查找有关 Read Data from Channel 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by