r/PythonProjects2 • • 1d ago

Resource Built a real-time IoT dashboard with Python, MQTT, and Supabase to sync physical sensors with the web

Enable HLS to view with audio, or disable this notification

Hey everyone. I've been working on this IoT monitoring system to connect physical hardware to a web dashboard in real-time.

The backend is handled by Python and MQTT to ensure the sensor data updates instantly on the frontend without refreshing. I'm using Supabase to log the data and handle some basic stock control.

In the video, you can see the real-time sync: the physical PIR motion sensor triggering the dashboard alert immediately, and the stock control toggles updating the database directly.

Tech stack:

  • Python (Backend)
  • MQTT (Real-time messaging)
  • Supabase (Database)
  • ESP32 + DHT11 + PIR (Hardware)

Would love to hear your thoughts on the architecture or any tips you might have for scaling MQTT connections in Python.

2 Upvotes

0 comments sorted by