TinyC program for Tasmota · DFRobot FireBeetle 2 ESP32-S3 AI CAMTinyC-Programm für Tasmota · DFRobot FireBeetle 2 ESP32-S3 AI CAM
TinyC program cam_dfr1154 for the DFRobot FireBeetle 2 ESP32-S3 AI CAM: live stream, motion detection (optionally confirmed by a person detector), alarm pictures on the SD card, alarm via MQTT (found by Home Assistant by itself), night vision with IR LEDs and light sensor, and voice output through the speaker.
TinyC-Programm cam_dfr1154 für die DFRobot FireBeetle 2 ESP32-S3 AI CAM: Livebild, Bewegungserkennung (optional mit Personenerkennung bestätigt), Alarmbilder auf der SD-Karte, Alarm per MQTT (Home Assistant findet ihn von selbst), Nachtsicht mit IR-LEDs und Lichtsensor sowie Sprachausgabe über den Lautsprecher.
All files, already named correctly: tinyc/other/cam_dfr1154. Download from there: cam_dfr1154.tcb (program), I2SAUDIO.cfg (audio pins), ped.espdl (person detection, esp-dl), picotts_de-DE_*.bin / picotts_en-US_*.bin (voices, German / English). The firmware and the audio plugin come from their releases (steps 1 and 7).
Alle Dateien, schon richtig benannt: tinyc/other/cam_dfr1154. Von dort herunterladen: cam_dfr1154.tcb (Programm), I2SAUDIO.cfg (Audio-Pins), ped.espdl (Personenerkennung, esp-dl), picotts_de-DE_*.bin / picotts_en-US_*.bin (Stimmen Deutsch / Englisch). Firmware und Audio-Plugin kommen aus ihren Releases (Schritt 1 und 7).
tasmota32s3_dfr1154.zip from the tasmota-sml-images releases and unpack it. First time via USB: tasmota32s3_dfr1154.factory.bin, e.g. with the Tasmota Web Installer or esptool.py --chip esp32s3 write_flash 0x0 tasmota32s3_dfr1154.factory.bin. If the port does not respond: hold BOOT, press RESET, release both. Later updates: Firmware Upgrade → Start upgrade (the OTA URL is preset).tasmota-…), open 192.168.4.1 and enter your WiFi.Template {"NAME":"DFRWEBCAM","ARCH":"ESP32S3","GPIO":[1,0,0,0,0,0,0,0,641,609,6720,704,736,672,0,0,0,0,0,1,1,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,224,1],"FLAG":0,"BASE":1}
Module 0
I2C on GPIO 8/9 (light sensor), SD card on GPIO 10–13, Relay1 on GPIO47 = IR LEDs.chkpt a4. The device restarts.
This erases the flash file system — so do it first.
ped.espdl and the voice files picotts_de-DE_ta.bin, picotts_de-DE_sg.bin (for English also picotts_en-US_*.bin). Files over 256 KB go via port 83 by themselves.cam_dfr1154.tcb into slot 0, start it with ▶ and switch on A (autostart).I2SAUDIO.cfg (must be /I2SAUDIO.cfg). Then Tools → Plugins directory: upload I2SAUDIO_32.bin and tick Autostart plugins at boot — without it the plugin does not start, and nothing tells you. Restart. mdir must list I2SAUDIO with a value in the RAM column.I2STTS Guten Tag; English: I2STTSLang en-US, then I2STTS Hello.tasmota32s3_dfr1154.zip aus den tasmota-sml-images Releases laden und entpacken. Erstes Mal per USB: tasmota32s3_dfr1154.factory.bin, z. B. mit dem Tasmota Web Installer oder esptool.py --chip esp32s3 write_flash 0x0 tasmota32s3_dfr1154.factory.bin. Reagiert der Port nicht: BOOT halten, RESET drücken, beide loslassen. Spätere Updates: Firmware Upgrade → Start upgrade (die OTA-URL ist vorbelegt).tasmota-…), 192.168.4.1 öffnen und das eigene WLAN eintragen.Template {"NAME":"DFRWEBCAM","ARCH":"ESP32S3","GPIO":[1,0,0,0,0,0,0,0,641,609,6720,704,736,672,0,0,0,0,0,1,1,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,224,1],"FLAG":0,"BASE":1}
Module 0
I2C auf GPIO 8/9 (Lichtsensor), SD-Karte auf GPIO 10–13, Relay1 auf GPIO47 = IR-LEDs.chkpt a4. Das Gerät startet neu.
Das löscht das Flash-Dateisystem — deshalb als Erstes.
ped.espdl und die Stimmdateien picotts_de-DE_ta.bin, picotts_de-DE_sg.bin (für Englisch zusätzlich picotts_en-US_*.bin). Dateien über 256 KB laufen dabei von selbst über Port 83.cam_dfr1154.tcb in Slot 0, mit ▶ starten und A (Autostart) einschalten.I2SAUDIO.cfg hochladen (muss /I2SAUDIO.cfg heißen). Dann Tools → Plugins directory: I2SAUDIO_32.bin hochladen und Autostart plugins at boot anhaken — ohne den Haken startet das Plugin nicht, und es gibt keine Meldung. Neu starten. mdir muss I2SAUDIO mit einem Wert in der RAM-Spalte zeigen.I2STTS Guten Tag; Englisch: I2STTSLang en-US, dann I2STTS Hello.ped.espdl): the alarm then fires only when the net sees a person — not for shadows, light or pets./PICS on the SD card (deleted after 14 days) and MQTT tele/<topic>/ALARM = ON / OFF, retained. Home Assistant finds it as a motion sensor of the Tasmota device.ped.espdl): Der Alarm kommt dann nur, wenn das Netz einen Menschen erkennt — nicht bei Schatten, Licht oder Haustieren./PICS auf der SD-Karte (nach 14 Tagen gelöscht) und MQTT tele/<topic>/ALARM = ON / OFF, retained. Home Assistant findet ihn als Bewegungsmelder am Tasmota-Gerät.tasmota32s3_dfr1154: ottelo9/tasmota-sml-images, built on TasmotaANLEITUNG.md, I2SAUDIO.cfg)I2SAUDIO_32.bin: gemu2015 release "testing"de-DE_ta.bin, de-DE_gl0_sg.bin, en-US_ta.bin, en-US_lh0_sg.binped.espdl = pedestrian_detect_pico_s8_v1.espdl (s3): espressif/esp-dltasmota32s3_dfr1154: ottelo9/tasmota-sml-images, auf Basis von TasmotaANLEITUNG.md, I2SAUDIO.cfg)I2SAUDIO_32.bin: gemu2015 Release „testing“de-DE_ta.bin, de-DE_gl0_sg.bin, en-US_ta.bin, en-US_lh0_sg.binped.espdl = pedestrian_detect_pico_s8_v1.espdl (s3): espressif/esp-dl