Here’s another option without having to use browser-mod and/or rely on (small) popup screens:
I’m running HA through Fully Kiosk on a tablet (Lenovo Tab M10) and have enabled the microphone to be used in Fully Kiosk settings.
I then added a panel card with a full screen “Advanced Camera card” and enabled the microphone button in the menu, which is set to toggle.
Using the following automation I turn the screen on when someone rings the doorbell.
alias: Deurbel Lenovo
description: ""
triggers:
- entity_id:
- binary_sensor.reolink_video_doorbell_poe_bezoeker
to: "on"
trigger: state
conditions: []
actions:
- type: turn_on
device_id: 471f557bb5068dc7c8bb6d16fc84a466
entity_id: c949ce7d2a11bc6b1e15998a54bf3d5c
domain: switch
- target:
device_id: 471f557bb5068dc7c8bb6d16fc84a466
data:
url: https://xxxx.com/lovelace/deurbel
action: fully_kiosk.load_url
- delay:
hours: 0
minutes: 1
seconds: 30
milliseconds: 0
- target:
device_id: 471f557bb5068dc7c8bb6d16fc84a466
data:
url: https://xxxx.com/lovelace/home-1
action: fully_kiosk.load_url
mode: single
go2rtc config:
streams:
deurbel:
- ffmpeg:https://192.168.0.201/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=xxxx&password=xxxx#video=h264#hardware#audio=myvol#audio=opus
deurbel_2way:
- ffmpeg:deurbel#video=copy
- rtsp://xxxx:[email protected]:554/h264Preview_01_sub
Advanced camera card:
type: custom:advanced-camera-card
cameras:
- live_provider: go2rtc
always_error_if_entity_unavailable: false
camera_entity: camera.deurbel
menu:
buttons:
play:
enabled: true
microphone:
enabled: true
type: toggle
mute:
enabled: true
snapshots:
enabled: true
camera_ui:
enabled: false
display_mode:
enabled: false
media_player:
enabled: false
timeline:
enabled: false
folders:
enabled: false
clips:
enabled: false
substreams:
enabled: false
cameras:
enabled: false
iris:
enabled: false
live:
enabled: true
download:
enabled: false
fullscreen:
enabled: false
style: overlay
position: bottom
button_size: 100
status_bar:
items:
title:
enabled: false
resolution:
enabled: false
live:
microphone:
always_connected: false
Working flawlessly through Cloudflared.