-
Notifications
You must be signed in to change notification settings - Fork 310
Description
The Non movement to stop recording (secs) config does not seem to be working. Changing it has no effect on the min duration of a recording.
steps:
- change Non movement to stop recording (secs) to 60
- save config
- reboot
when motion is detected the capture stops after only about 15 seconds. Am i doing something wrong or is this a bug?
log:
=============== ESP-CAM_MJPEG 10.8.3 ===============
[21:02:55.730 logSetup] Setup RAM based log, size 7168, starting from 2030
[21:02:55.732 boardInfo] Chip ESP32-S3, 2 cores @ 240Mhz, rev 0
[21:02:55.732 boardInfo] Flash 8.0MB, mode QIO @ 80Mhz
[21:02:55.733 boardInfo] PSRAM 8.0MB, mode OPI @ 80Mhz
[21:02:55.733 logSetup] Compiled with arduino-esp32 v3.1.1
[21:02:55.733 printResetReason] Software reset via esp_restart
[21:02:55.733 printWakeupReason] Wakeup by reset
[21:02:55.734 setup] Selected board CAMERA_MODEL_XIAO_ESP32S3
[21:02:55.795 infoSD] SD card type SDHC, Size: 29.7GB, using 1 bit mode @ 40MHz
[21:02:55.796 listFolder] Sketch size 1.6MB
[21:02:55.946 listFolder] File: /data/configs.txt, size: 8138 bytes
[21:02:55.949 listFolder] File: /data/common.js, size: 50515 bytes
[21:02:55.952 listFolder] File: /data/MJPEG2SD.htm, size: 101KB
[21:02:55.952 listFolder] SD_MMC: 2.0GB used of 29.7GB
[21:02:55.953 loadConfig] Load config
[21:02:56.188 updateAppStatus] Enabling motion detection
[21:02:56.191 prepCam] Max frame size for 8.0MB PSRAM is QSXGA
E (1222) ledc: ledc_stop(740): LEDC is not initialized
[21:02:57.159 prepCam] Camera model OV5640 ready @ 24MHz
[21:03:02.747 onNetEvent] Wifi Station started, connecting to: GoHokies
[21:03:02.748 onNetEvent] Wifi AP SSID: ESP-CAM_MJPEG_4CC6F962F8B8 started, use 'http://192.168.4.1' to connect
[21:03:02.867 setWifiSTA] Wifi Station IP from DHCP
..[21:03:03.713 onNetEvent] WiFi Station connection to GoHokies, using hostname: ESP-CAM_MJPEG_4CC6F962F8B8
.[21:03:04.261 onNetEvent] Wifi Station IP, use 'http://192.168.1.189' to connect
[21:03:07.584 startWifi] Wifi stats for GoHokies - signal strength: -39 dBm; Encryption: Not listed; channel: 11
[21:03:07.585 startWifi] Wifi stats for GoHokies - signal strength: -69 dBm; Encryption: Not listed; channel: 11
[21:03:07.588 setupMdnsHost] mDNS service: http://ESP-CAM_MJPEG_4.local
[21:03:07.589 startPing] Started ping monitoring - On
[21:03:07.592 startWebServer] Starting web server on port: 80
[21:03:07.593 startWebServer] Remote server certificates not checked
[21:03:07.593 startSustainTasks] Started 3 sustain tasks
[21:03:07.595 prepAudio] Sound capture is available using PDM mic on I2S0 with gain 5
[21:03:07.595 WARN prepAudio] Amplifier pins not defined
[21:03:07.686 resetWatchDog] WatchDog started for task: ping
[21:03:07.695 getLocalNTP] Using NTP server: pool.ntp.org
[16:03:07.697 showLocalTime] Got current time from NTP: 25/11/2025 16:03:07 with tz: EST5
[16:03:07.724 updateAppStatus] Enabling motion detection
[16:03:07.789 prepRecording] To record new AVI, do one of:
[16:03:07.789 prepRecording] - press Start Recording on web page
[16:03:07.789 prepRecording] - move in front of camera
[16:03:07.790 checkMemory] Setup Free: heap 140636, block: 77812, min: 140576, pSRAM 3289164
[16:03:07.790 loop] =============== Total tasks: 21 ===============
[16:03:37.374 setAlarm] Alarm scheduled at 26/11/2025 01:00:00
[16:03:37.955 getExtIP] External IP: [redacted]
[16:03:37.958 doAppPing] Daily rollover
[16:03:38.865 updateAppStatus] Remote speaker is Off
[16:03:39.156 processFrame] Capture started by Motion
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
....................................
[16:03:53.951 finishAudioRecord] Captured 227328 audio samples with gain factor 2
[16:03:53.951 finishAudioRecord] Saved 444KB to SD for /current.wav
[16:03:55.328 closeAvi] ******** AVI recording stats ********
[16:03:55.328 closeAvi] Recorded /20251125/20251125_160339_HD_23_15_S.avi
[16:03:55.428 closeAvi] AVI duration: 15 secs
[16:03:55.429 closeAvi] Number of frames: 336
[16:03:55.429 closeAvi] Required FPS: 25
[16:03:55.429 closeAvi] Actual FPS: 22.9
[16:03:55.429 closeAvi] File size: 24.5MB
[16:03:55.429 closeAvi] Average frame length: 76556 bytes
[16:03:55.430 closeAvi] Average frame monitoring time: 3 ms
[16:03:55.430 closeAvi] Average frame buffering time: 0 ms
[16:03:55.430 closeAvi] Average frame storage time: 37 ms
[16:03:55.430 closeAvi] Average SD write speed: 1996 kB/s
[16:03:55.430 closeAvi] File open / completion times: 2 ms / 1386 ms
[16:03:55.430 closeAvi] Busy: 100%
[16:03:55.430 checkMemory] Setup Free: heap 149300, block: 77812, min: 102636, pSRAM 2489192
[16:03:55.431 closeAvi] *************************************
[16:03:55.431 checkFreeStorage] Storage free space: 27.7GB