I got tired of circling parking lots. So I built this — ESP32 + ultrasonic sensors → Blynk IoT → FastAPI backend → real-time dashboard. Green means free, red means taken.
Has a booking system and a chatbot. The chatbot works most of the time.
FastAPI (Python), ESP32, ultrasonic sensors, Blynk, Chart.js, SQLite
pip install -r requirements.txt
# set your Blynk token in backend.py
python backend.pyESP32 firmware is finicky. One wrong pin = hour of debugging. Real-time WebSockets are harder than they look. IoT + web is way more moving parts than expected but way more satisfying when it works.
backend.py — FastAPI server
parking_backend/ — AI, Blynk, database, routes
frontend/ — dashboard files
smart_parking_v2/ — ESP32 firmware