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_enabledtotrueto enable motion detection.
- Use camera_motion_detection_facing_mode(user,environment,leftorright) to configure which camera should be used (default:user).
- With camera_motion_detection_thresholdthe 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_visibletotrueto display the captured images in the user interface.