Hi HA community,
I’m new to HA so I’m hoping you can point me in the right direction.
I have 2 camera feeds set up for a camera in Frigate. One is the full res stream with aac audio conversion and the Tapo feed (which enables mic access), and the other half-res without anythings else. When the card isn’t fullscreened, it’s started on the half res version and then according to the action it should be switching to the hd version with microphone capability on full screen.
If I make the both streams point to the HD version I see the microphone on both minimised and fullscreen interfaces. If I switch to only show the HD stream on fullscreen, the microphone shows for neither. If I swap the streams so that the minimised version has mic, then it shows the mic while minimised, and removes it for fullscreen as expected!
I also tried pointing the HD stream to a nonsense location to make sure it was actually switching and it goes blank on fullscreen. I also put a log in the console to be doubly sure.
Have I misconfigured this or is it just a limitation of HA?
Here’s my config
type: custom:advanced-camera-card
cameras:
- camera_entity: camera.camera4
dependencies:
cameras:
- camera4_hd
live_provider: go2rtc
id: camera4
go2rtc:
stream: camera_4_2
modes:
- webrtc
- camera_entity: camera.camera4
title: HD
live_provider: go2rtc
id: camera4_hd
go2rtc:
stream: camera_4_1
modes:
- webrtc
capabilities:
disable_except:
- substream
- clips
- snapshots
- recordings
menu:
buttons:
microphone:
enabled: true
type: toggle
iris:
permanent: true
position: bottom
style: outside
automations:
- conditions:
- condition: fullscreen
fullscreen: true
actions:
- action: custom:advanced-camera-card-action
advanced_camera_card_action: live_substream_select
camera: camera4_hd
- action: custom:advanced-camera-card-action
advanced_camera_card_action: log
message: Fullscreen
actions_not:
- action: custom:advanced-camera-card-action
advanced_camera_card_action: live_substream_select
camera: camera4
- action: custom:advanced-camera-card-action
advanced_camera_card_action: log
message: Reduced
view:
theme:
themes:
- dark
Thanks in advance. Any help is appreciated!