Sonoff TH16 - Collect data
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
0 commentaires
Réponses (1)
Christopher Stapels
le 25 Jan 2023
Modifié(e) : Christopher Stapels
le 31 Jan 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. :)
Voir également
Catégories
En savoir plus sur REST API dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!