How suyamagunaratne/greenpulse works
GreenPulse is a Python cloud backend for receiving and displaying IoT plant sensor readings. The documented main flow starts with the ESP32 publishing sensor JSON through AWS IoT Core; the backend connects using TLS, subscribes to the sensor topic after connection, then decodes, parses, extracts, and prints readings. The repository contains no implementation of the firmware, AWS service, persistence, care recommendations, alerts, or a Flask interface; README describes care, alerts, and status topics as reserved. The graph is based on the README and the sole sampled source file, app.py.
Main entry points: app.py MQTT Backend
Components 7
MQTT Ingestion
- MQTT Backend
app.py - Sensor Subscription
app.py
Message Processing
- JSON Parsing
app.py - Reading Extraction
app.py - Console Output
app.py
Other components
- ESP32 Device
- AWS IoT Core
Connections 8
- ESP32 Device → AWS IoT Core: publishes sensor JSON
README.md - AWS IoT Core → MQTT Backend: forwards MQTT
README.md - MQTT Backend → AWS IoT Core: connects TLS
app.py - MQTT Backend → Sensor Subscription: registers callback
app.py - Sensor Subscription → AWS IoT Core: subscribes topic
app.py - MQTT Backend → JSON Parsing: routes messages
app.py - JSON Parsing → Reading Extraction: extracts readings
app.py - Reading Extraction → Console Output: prints values
app.py