src.nth.io/

summaryrefslogtreecommitdiff
path: root/doorbell-viewport
AgeCommit message (Collapse)AuthorFilesLines
3 daysReplace real camera ID with placeholder in READMELuke Hoersten1-1/+1
5 daysMinor daemon cleanup: drop inspect shim, module-level SSL ctx, rename ws_headersLuke Hoersten1-14/+6
5 daysFurther simplify doorbell-viewport daemonLuke Hoersten1-20/+13
- Flatten DisplayController: remove _set() middle layer - Inline on_ring() into _handle_protect_event (was a 2-line wrapper) - Collapse triggered flag in touch monitor to single boolean expression
6 daysRemove vcgencmd display backend, simplify DisplayControllerLuke Hoersten5-127/+54
Always use sysfs backlight. vcgencmd resets DRM planes under fkms making it incompatible with the drm video output. Removes libraspberrypi-bin dependency and panel/vcgencmd dead code.
6 daysRemove warm prebuffer mode from doorbell-viewportLuke Hoersten3-26/+5
Always start mpv on demand (cold start). The warm path was fragile on the RPi4 with fkms and added complexity without reliable benefit.
7 daysSwitch doorbell-viewport to cold start, add backlight diagnosticsLuke Hoersten2-3/+4
- prebuffer_mode=cold: mpv starts on demand at ring/touch event - Add tty group to service user for DRM TTY access - Log backlight brightness changes for diagnostics - Remove --really-quiet suppression during debug (now restored)
7 daysFix doorbell-viewport display and ring detectionLuke Hoersten2-3/+19
- Switch to sysfs backlight (drm backend) to avoid DRM plane reset on display power cycle caused by vcgencmd display_power - Add udev rule and sysfs permissions for rpi_backlight - Fix multi-packet WebSocket decoder (ring events were being dropped) - Fix mpv loop/cache flags (--loop=no, bounded --demuxer-max-bytes) - Remove hardware decode (caused SIGSEGV on RPi4 with fkms)
7 daysFix doorbell-viewport bringup issuesLuke Hoersten3-46/+112
- Fix websockets headers kwarg via inspect (works across all versions) - Use full path /usr/bin/vcgencmd; add libraspberrypi-bin dependency - Fix UniFi Protect WS packet decoder to handle multiple concatenated packets per message (action+data in single frame) - Fetch lastUpdateId from bootstrap for WS URL - Switch fbcon disable from video=HDMI-A-1:D to fbcon=map:99 (fkms compat) - Default drm_connector to DSI-1 for fkms; drop hardcoded drm_mode - Add --no-audio and --hwdec=no to mpv; fix DRM mode-setting race on startup - Add PoE HAT fan control with configurable temp thresholds
7 daysAdd doorbell-viewport roleLuke Hoersten8-0/+1222
RPi4 portrait touchscreen that shows a live UniFi Protect RTSP stream on doorbell ring or touch, with display fully off at idle. Supports warm prebuffer, vcgencmd/drm/panel display backends, evdev touch input, and configurable DRM device/connector/mode.