Ludoc
Octobre 8, 2023, 10:43
1
Bonjour,
J’ai intégré quelques caméras dans des cartes frigate.
Le mouvement est géré par une carte entities, mais j’aurai voulu intégrer ce déplacement dans la carte elle-même comme je l’ai vu dans d’autres cartes
Est ce quelqu’un saurait me dire où configurer ces actions ?
Ma configuration carte frigate pour cette caméra :
type: custom:frigate-card
cameras:
- camera_entity: camera.c200_salon
live_provider: auto
title: Caméra salon
webrtc_card:
entity: camera.c200_salon
elements:
- type: custom:frigate-card-conditional
conditions:
media_loaded: true
view:
- live
- image
elements:
- type: custom:frigate-card-ptz
orientation: horizontal
style:
transform: none
right: 1%
bottom: 20%
service: button.press
data_left:
entity_id: button.tapo_camera_928b_move_left
data_right:
entity_id: button.tapo_camera_928b_move_right
data_up:
entity_id: button.tapo_camera_928b_move_up
data_down:
entity_id: button.tapo_camera_928b_move_down
menu:
style: overlay
alignment: bottom
position: bottom
buttons:
camera_ui:
alignment: opposing
live:
zoomable: false
Merci.
Bj
tu as essayé avec type: custom:frigate-card-ptz-arrows
??
type: custom:frigate-card
cameras:
- camera_entity: camera.c200_salon
live_provider: auto
title: Caméra salon
webrtc_card:
entity: camera.c200_salon
elements:
- type: custom:frigate-card-conditional
conditions:
media_loaded: true
view:
- live
- image
elements:
- type: custom:frigate-card-ptz-arrows
camera_entity: camera.c200_salon
style:
position: absolute
right: 10px
bottom: 10px
menu:
style: overlay
alignment: bottom
position: bottom
buttons:
camera_ui:
alignment: opposing
live:
zoomable: false
Ludoc
Octobre 8, 2023, 11:02
3
Merci pour la réponse,
Ça n’a pas l’air d’être ça
Les entités disponibles pour le mouvement sont
Ludoc
Octobre 8, 2023, 12:56
5
Merci @Nothing
En fait le problème était la partie custom:frigate-card-conditional qui devait attendre une condition vraie pour afficher le contrôle.
Ça fonctionne en enlevant cette partie :
- type: custom:frigate-card-conditional
conditions:
media_loaded: true
view:
- live
- image
La carte finale :
type: custom:frigate-card
cameras:
- camera_entity: camera.c200_salon
live_provider: auto
title: Caméra salon
webrtc_card:
entity: camera.c200_salon
elements:
- type: custom:frigate-card-ptz
orientation: vertical
style:
transform: none
right: 5%
bottom: 20%
service: button.press
data_left:
entity_id: button.tapo_camera_928b_move_left
data_right:
entity_id: button.tapo_camera_928b_move_right
data_up:
entity_id: button.tapo_camera_928b_move_up
data_down:
entity_id: button.tapo_camera_928b_move_down
menu:
style: overlay
alignment: bottom
position: bottom
buttons:
camera_ui:
alignment: opposing
live:
zoomable: false
1 « J'aime »