SmartDB documentation
Build, configure and understand the current SmartDB v2 bench system: an ESP32-S3 main board with SCT-013 AC current monitoring, MLX90640 thermal sensing, relay protection and RGB–thermal fusion, plus a separate ESP32-CAM for visible images.
Backend and frontend integration
The Firebase API and team handoff now cover accounts, device credentials,
durable telemetry/history, alerts, queued commands and fused-image previews. Run
sh system.sh from the repository root for local emulators and an optional developer
console. The frontend team owns the user dashboard; this console is only for API
development. Read the current architecture for responsibilities
and the PCB downloads for the permanent v2 CAD.
Implementation status
Available now |
Still requires validation or implementation |
|---|---|
S3 and ESP32-CAM firmware, USB setup menu, saved Wi-Fi/configuration |
Physical board provisioning and sensor/relay behavior |
Local AC current/thermal protection, physical re-arm, event history |
Actual current accuracy, cutoff timing and component ratings |
Registered thermal overlay and native-sample region statistics |
Measured camera alignment; trained cloud AI models |
Firebase HTTP API, telemetry/history, in-app alerts, command acknowledgements and stored fused preview |
Live Firebase deployment, external notifications and production operations |
Optional local developer console and documented frontend API |
User dashboard implementation by the frontend team |
Firmware builds and host tests pass. Hardware operation has not been validated in this design session. The current scope is isolated low-voltage AC monitoring up to the 1 A bench limit; the board’s logic supply remains regulated 5 V DC. This is not a mains-rated protection design. The architecture page separates the implemented bench system from the wider production requirements.
SmartDB v2
- SmartDB Firebase API and team integration
- Current v2 system architecture
- SmartDB developer console
- SmartDB v2 system firmware
- SmartDB v2 — permanent compact project
- SmartDB compact redesign — board routing complete
- SmartDB Postman Collection Guide
- SmartDB Device Ingestion Gateway
- SmartDB
- Household Electrical Fault Detection & Protection System
- Document Control
- Contents
- Executive Summary
- Product Definition and Scope
- Reference Architecture
- PART A — Embedded/Edge Engineering Specification
- Embedded/Edge Team Scope
- Firmware Architecture
- Mandatory Edge Test Cases
- PART B — Cloud AI Inference Engineering Specification
- AI Inference Team Scope
- AI/Vision Verification and Acceptance
- PART C — Cloud Backend Engineering Specification
- Cloud Backend Team Scope
- Core Cloud Data Model
- Cloud API/Event Contract
- Cloud Security and Reliability
- Cloud Verification and Acceptance
- PART D — Mobile Application Engineering Specification
- Mobile App Scope
- Mobile Verification and Acceptance
- PART E — Shared Interface, Delivery, and Program Management
- Ownership Matrix (RACI)
- Hardware Procurement Summary
- Project Plan and Timeline
- End-to-End Acceptance Tests
- Evaluation Plan
- Risk Register
- Stakeholders
- Open Decisions Before Field Pilot
- Device Ingestion API — Production CoAP/DTLS Contract
- Repository Implementation, API Tooling, and Operations
- Conclusion
- References
- SmartDB
Code and API reference
Related projects
Development reference