Personal IoT project to learn more about: python, embedded c, mqtt and raspberry pi.
The Pi IoT Gateway project facilitates communication between IoT devices using a Raspberry Pi as an MQTT broker and ESP32 clients. This setup allows for efficient data collection, processing, and visualization in IoT applications.
This repository contains two main components:
- Folder:
/dashboard - Description: Contains the code and configuration files for setting up the Raspberry Pi as an MQTT broker and a dashboard using Python Flask and Mosquitto.
- Folder:
/esp-mqtt-client - Description: Contains the code for the ESP32 clients that connect to the Raspberry Pi broker, allowing for data publishing.
To get started with the project, follow the instructions in the respective folders for the Raspberry Pi broker and ESP32 client.
- Follow the instructions in the Raspberry Pi Broker README to set up the broker.
- Follow the instructions in the ESP32 MQTT Client README to set up the client.
- Raspberry Pi 5 - 4GB
- Python
- Flask
- MQTT (Mosquitto)
- ESP32-C6 (espressif idf)
- Paho-MQTT (python)
- PubSubClient library (mqtt for ESP32)
- Embedded C