Send GPIO Status to Thingspeak (Lamp Indicator Widget)
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Vinod
el 24 de Jul. de 2020
Take a look at this example. You can modify it to show your pump status instead of CPU percent utilization quite easily.
1 comentario
Christopher Stapels
el 24 de Jul. de 2020
Comunidades de usuarios
Más respuestas en ThingSpeak Community
Ver también
Categorías
Más información sobre Android Devices en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!