How rubens05/tfg works
Project type and purpose
• This is an IoT telemetry testbench tying together embedded firmware (ESP32 + FreeRTOS), a custom Python logging library, a Docker-based data pipeline (Mosquitto → Telegraf → MongoDB), plus InfluxDB experiments.
• Primary flow: ESP32 publishes telemetry via MQTT → Mosquitto broker → Telegraf collects and writes to MongoDB.
File structure
• codigo/FreeRTOS: FreeRTOS C++ examples (parallel tasks, queues).
• codigo/Python_LIBRERIA: Custom Python logging library (loggingrg), setup scripts, tests.
• codigo/InfluxDB: Python scripts to insert/consume data in InfluxDB.
• codigo/docker-compose: docker-compose.yml + configs (mosquitto.conf, telegraf.conf).
• codigo/pruebasMQTT_src_placas: ESP32 C++ examples for single/multi-topic MQTT.
• src/main.cpp & platformio.ini: main embedded firmware project.
Extract architectural insights from README
• Docker services:
• mqtt5 (Mosquitto broker with auth)
• telegraf (MQTT input → MongoDB output)
• mongo-container (MongoDB with root user)
• External repos (not in this tree): RemoteLogLibrary (firmware logging library) and RemoteLogLibraryUI (GUI).
• Setup steps for Mosquitto auth, MongoDB users, Telegraf input/output.