Sonoff TH16 - Collect data

10 visualizzazioni (ultimi 30 giorni)
Luca
Luca il 21 Gen 2023
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

Risposte (1)

Christopher Stapels
Christopher Stapels il 25 Gen 2023
Modificato: Christopher Stapels il 31 Gen 2023
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. :)

Categorie

Scopri di più su Read Data from Channel in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by