Real-time slot availability powered by IoT sensors. Book your spot in seconds.
| Booking ID | Slot | Date & Time | Duration | Amount | Status |
|---|---|---|---|---|---|
| #PF-001 | A-03 | Today, 2:30 PM | 2 hrs | ₹40 | Active |
| #PF-002 | B-02 | Yesterday, 10:00 AM | 3 hrs | ₹60 | Completed |
| #PF-003 | A-01 | Apr 20, 9:00 AM | 1 hr | ₹20 | Completed |
Go to console.firebase.google.com → New project → Enable Realtime Database → Start in test mode.
In Firebase console → Realtime Database → Copy your URL like https://xxx.firebaseio.com. You'll use this in ESP32 code.
In Arduino IDE → Library Manager → Install Firebase ESP32 Client by Mobizt. Also install WiFi and HTTPClient.
VCC→3.3V, GND→GND, TRIG→GPIO 5, ECHO→GPIO 18. Each sensor gets a different GPIO pair.
Paste the ESP32 code shown on the right. Fill in your WiFi name, password, and Firebase URL. Upload to board.
Add the Firebase JS SDK to this website and listen for changes at /slots/. Each slot updates in real time automatically.