I have few displays showing me the camera feed from multiple cameras. The display shows each camera for 5 seconds then on to the next. This is all works just fine. What I would like to change is when one of the cameras detects motion the display switched to the live feed of that camera for the next 30 seconds. {Code to follow}
Is this possible? I tried to get it to switch and hold for 10 seconds but never got that code to happen.
Greg
type: custom:advanced-camera-card
camera_entity: camera.10_10_10_82
live_provider: go2rtc
go2rts:
modes:
- webrtc
cameras:
- camera_entity: camera.garage
live_provider: auto
frigate:
url: localhost
triggers:
motion: false
- camera_entity: camera.frontcam
live_provider: ha
- camera_entity: camera.littlecam
- camera_entity: camera.10_10_10_84
triggers:
occupancy: true
motion: true
live:
preload: true
zoomable: false
view:
default: live
default_reset:
every_seconds: 5
default_cycle_camera: true
triggers:
actions:
trigger: live
untrigger: default
untrigger_seconds: 10