v1.1.1.1: Critical Bug Fixes & Modernized Packages
A massive update fixing critical shell-level bugs found in the original firmware scripts, unlocking the full ONVIF event suite, and replacing end-of-life bundled binaries with modern, patched versions.
🚀 What's New
- ONVIF Server Crash Loop Fix (Critical): Wrapped
onvif_simple_serverinsetsidto safely detach it from the controlling terminal, preventing segfaults andexit code 1errors when backgrounded from init. - ONVIF Event Pipeline Fix: Corrected boot ordering so
ipc2file,onvif_notify_server, andwsd_simple_serverall start beforeonvif_simple_serverblocks. Motion events now work reliably on boot. - Full ONVIF Event Suite: Fixed
events=3→events=6so all 6 detection events are registered: Motion, People, Vehicles, Animals, Baby Crying, and General Sound. - RTSP Network Buffer Tuning: Injected
sysctlcommands to increase network buffers (rmem_max,wmem_max), resulting in smoother, stutter-free high-resolution RTSP streams. - Dynamic Multi-WiFi Support: Added
WIFI_MULTI=yesfunctionality to bypass single-network restrictions and read a customwpa_supplicant.conffrom the SD card. - Persistent Camera State Memory: Camera now intelligently restores its software on/off state after a reboot by reading
camera.confat boot. - cloudAPI Always Updated: Replaced fragile version-comparison logic with a direct
cp -fsocloudAPIandcloudAPI_fakeare always pushed to flash on boot. - MQTT Conditional Start: MQTT daemon now only starts if explicitly enabled in config, saving memory and CPU for users who don't use smart home integrations.
- Crontab Overwrite Bug Fix: Corrected
>→>>insystem.shto stop cron jobs silently wiping out existing scheduled tasks. - All AI Detection On By Default:
camera.confnow ships with all AI detection features enabled.
🛡️ Updated Packages
All bundled binaries have been replaced with current, patched versions cross-compiled for arm-hisiv300-linux (ARMv5te, uClibc 0.9.33.2):
- Mosquitto 2.1.2 (Major version bump, hardened network packet handling, memory leak fixes)
- libfuse3 3.18.1 (14 minor versions of cumulative bug fixes and performance stabilization)
- OpenSSL 3.3.7 (Fixes CVE-2025-9230, CVE-2025-9231, CVE-2025-15467, CVE-2025-69421, and CVE-2026-series)
- curl 8.20.0 (~3 years of critical upstream security patches)
- dropbear 2025.89 (Fixes CVE-2025-14282 privilege escalation)
- pure-ftpd 1.0.54 (Multiple hardening fixes across PureDB, PAM, and quota handling)
- cJSON 1.7.18 (New core dependency required to support modern Mosquitto 2.x builds)
🐛 Shell & CGI Bug Fixes
- RTSP watchdog:
$RTSP_PORTused instead of$RRTSP_PORTfixed, allowing locked-stream recovery to finally trigger. - Web UI persistence: Toggling camera on/off, LED, IR, sensitivity, and rotation via the web UI is now properly written and persisted to
camera.conf. - CGI Guards: Fixed path traversal guards (
DIR="none"andFILE="none") in event deletion scripts. - MQTT Home Assistant: Fixed undefined
CONF_SYSTEM_FILE, correctedMQTT_ADV_TELEMETRY_QOSkey, and anchoredgrepto prevent partial key matches. - Default Configs: Added
CAMERA_ENABLED=yestosystem.confand all missing AI detection keys tocamera.conf.