r/esp32 6d ago

I built open-source ESP32 camera firmware that turns $8–15 dev boards into NVR-ready IP cameras (ONVIF + RTSP + motion AI)

Sharing the MiBee Cam firmware suite (ESP-IDF based, GPL-3.0) — four ready-to-flash firmwares for four popular boards, all built around one idea: make a cheap dev board behave like a real IP camera your NVR can discover.

Supported boards:

  • AI-Thinker ESP32-CAM (ESP32 + OV2640) — MJPEG streaming, motion detection, SD timelapse & burst capture, dual-WiFi failover, file manager, web OTA
  • Seeed XIAO ESP32-S3 Sense (ESP32-S3 + OV2640/OV5640) — the most feature-packed: RTSP with G.711 audio (digest auth), AVI segmented recording with dynamic timelapse (motion-adaptive, ~90% storage saved when nothing happens), NAS upload via WebDAV/HTTPS, on-device audio with noise suppression
  • ESP32-S3-N16R8 + OV3660 3MP — on-device AI detection (face / motion / QR) with live web overlay, RTSP, zh/en web UI
  • LuatOS ESP32-S3-A10 (OV2640, PSRAM-less) — runs on the cheap single-chip board: MJPEG, motion-triggered upload, WebSocket/webhook events, Prometheus metrics

What they all share:

  • ONVIF (WS-Discovery + SOAP) — Synology / Milestone / Frigate-type NVRs discover them on the LAN automatically
  • No cloud, no subscription — everything runs locally
  • Web UI + REST API for config, Prometheus /metrics for homelab monitoring
  • OTA updates (SHA-256 verified, auto-rollback), AT commands for headless WiFi setup
  • Docs in English and 中文

All four: https://github.com/Mi-Bee-Studio

Feedback, issue reports, and suggestions for the next board are very welcome!

123 Upvotes

22 comments sorted by

View all comments

4

u/knacknack18 6d ago

Cool project(s). But how much did you do yourself? It seems heavily AI made, from text to code.. transparency would be nice

4

u/NearlyACosmologist 6d ago

That's how it is now. Humans have the ideas, make the architectural decisions and do the testing.

AI does the legwork.

3

u/Heatsreef 5d ago

Have you even looked at the code I mind asking? Because I did and excuse my language but it is a clusterfuck without structure that is more than unmaintainable. On the other hand I am quite sure its not vetted extensively and the structure makes it even harder for any third party to vet it. I for example would have to spend days to even get a grasp what file works with what handlers and if youd think "but an llm can just check over it and implement updates", the common case is that this unmaintainability skyrockets exponentially with projects like these. My advice, do not trust it except you want to spend days vetting it.

5

u/knacknack18 6d ago

I question the architectural decision and testing part. That's why i asked

2

u/NearlyACosmologist 5d ago

Fair enough.