Juste pour info, une de mes cartes frigate avec superposition du controle PTZ ( mais ça fonctionne aussi avec une carte webrtc)
type: custom:frigate-card
cameras:
- camera_entity: camera.cam_jardin_profile_000
go2rtc:
modes:
- webrtc
title: Jardin
triggers:
motion: true
live_provider: ha
- camera_entity: camera.cam_salon_2_profile_0
live_provider: ha
go2rtc:
modes:
- webrtc
title: Salon
triggers:
motion: true
entities:
- binary_sensor.presence_salon_occupancy
live:
preload: true
microphone:
always_connected: false
controls:
next_previous:
style: chevrons
transition_effect: slide
elements:
- type: custom:frigate-card-ptz
orientation: vertical
style:
transform: none
right: 5%
top: 50%
service: onvif.ptz
data_left:
entity_id: camera.cam_jardin_profile_000
pan: LEFT
speed: 1
distance: 0.2
move_mode: ContinuousMove
data_right:
entity_id: camera.cam_jardin_profile_000
pan: RIGHT
speed: 1
distance: 0.2
move_mode: ContinuousMove
data_down:
entity_id: camera.cam_jardin_profile_000
tilt: UP
speed: 1
distance: 0.2
move_mode: ContinuousMove
data_up:
entity_id: camera.cam_jardin_profile_000
tilt: DOWN
speed: 1
distance: 0.2
move_mode: ContinuousMove
view:
scan:
enabled: true
untrigger_seconds: 30
default: live
update_cycle_camera: false
update_force: true
timeout_seconds: 20
@+