Camera motion detection
This function detects movement by analyzing changes in the images captured by a camera installed in the device and pauses the screen saver when movement is detected. An HTTPS connection to the Home Assistant is required to enable access to the camera.
For Fully Kiosk Browser, enable "Enable Webcam Access (PLUS)" in Web Content Settings
.
Configuration
- Set
camera_motion_detection_enabled
totrue
to enable motion detection. - Use
camera_motion_detection_facing_mode
(user
,environment
,left
orright
) to configure which camera should be used (default:user
). - With
camera_motion_detection_threshold
the percentage of changed pixels required for detection can be defined (default:5
). - The resolution of the video recording can be configured via
camera_motion_detection_capture_width
(default:64
) andcamera_motion_detection_capture_height
(default:48
). Higher values improve accuracy but increase CPU utilization. - The time interval between two captured images can be set via
camera_motion_detection_capture_interval
(in seconds, default:0.3
). Lower values detect movements faster, but consume more CPU. - For troubleshooting, set
camera_motion_detection_capture_visible
totrue
to display the captured images in the user interface.