Send GPIO Status to Thingspeak (Lamp Indicator Widget)
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi
I have an Raspberry Pi Zero W that controlls the status of my Pool. I want to send the Pumpstatus (On/Off) to my Thingspeak-Channel and use the Lamp Indicator Widget to visualize the Status of the Poolpump but I could not find an exampel Python-Script how to send the GPIO Status (High, Low). When the Pump is on an Opptokoppler sends 3,3V to GPIO-Pin (BCM) 24 for the High-Signal. I know how to Setup the Thingspeak-Channel and the Widget but i do not know how to write the Python-Script for sending the GPIO-Status to Thingspeak. Maybe someone can help me. Thanks in advance for any help.
0 Commenti
Risposte (1)
Vinod
il 24 Lug 2020
Take a look at this example. You can modify it to show your pump status instead of CPU percent utilization quite easily.
1 Commento
Christopher Stapels
il 24 Lug 2020
Community
Più risposte nel ThingSpeak Community
Vedere anche
Categorie
Scopri di più su Android Devices 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!