Hi there,
I have a doorbird doorbell solution…
I’m using the advanced camera card which is very fine.
However I would like to add some extra menu items.
infrared and dooropener
I used the following code:
type: custom:layout-card
layout_type: custom:horizontal-layout
layout:
mediaquery:
"(max-width: 1900px)":
grid-template-columns: 100%
place-content: center
"(min-width: 1500px)":
grid-template-columns: 60%
place-content: center
cards:
- type: custom:advanced-camera-card
cameras:
- camera_entity: camera.voordeur
live_provider: go2rtc
image:
refresh_seconds: 1
dimensions:
aspect_ratio: "16:9"
live:
controls:
builtin: false
zoomable: true
show_image_during_load: true
draggable: false
lazy_unload:
- unselected
- hidden
microphone:
always_connected: false
disconnect_seconds: 120
mute_after_microphone_mute_seconds: 120
auto_unmute:
- microphone
menu:
buttons:
snapshots:
enabled: false
fullscreen:
enabled: false
cameras:
enabled: false
live:
enabled: false
clips:
enabled: false
mute:
enabled: true
style: outside
position: bottom
button_size: 60
status_bar:
style: none
profiles:
- low-performance
overrides:
- conditions:
- condition: microphone
connected: true
merge:
menu:
buttons:
microphone:
enabled: true
- type: custom:layout-card
layout_type: custom:horizontal-layout
layout:
width: 100
justify-content: space-betweeen
padding-left: 10px
padding-right: 10px
cards:
- type: custom:button-card
icon: mdi:key
tap_action:
action: call-service
service: button.press
data:
entity_id: button.voordeur_relay_1
styles:
card:
- background-color: white
- border-radius: 50px
- border: 4px solid grey
- padding: 10px
- width: 65px
- height: 65px
icon:
- color: grey
- width: 50px
- height: 50px
- type: custom:button-card
icon: mdi:lightbulb-outline
tap_action:
action: call-service
service: button.press
data:
entity_id: button.voordeur_ir
styles:
card:
- background-color: white
- border-radius: 50px
- border: 4px solid grey
- padding: 10px
- width: 65px
- height: 65px
icon:
- color: grey
- width: 50px
- height: 50px
- type: custom:button-card
icon: mdi:phone-outline
tap_action:
action: fire-dom-event
event_type: advanced_camera_card
event_data:
advanced_camera_card_action: mute
styles:
card:
- background-color: white
- border-radius: 50px
- border: 4px solid green
- padding: 10px
- width: 65px
- height: 65px
icon:
- color: green
- width: 55px
- height: 55px
where camera.voordeur is provide via Frigate.
The key and light button works for my Doorbird camera, but I can’t seem to get the sound unmuted with the green button.
I’m trying to use a command from the advanced camera card in another card but It doesn’t seem to work.
Does somebody have a solution?