Home Assistant dashboard:
fullscreen camera stream
when motion is detected
I have a tablet dashboard in my living room where I show weather, news and actual home data.
I wanted to show a full screen live stream of my frontdoor when someone is detected entering my frontdoor.
I have already Frigate installed to recognize a person and not get triggered when a cat walks by in my front yard.
Table of Contents
Fullscreen popup with browser_mod
You need for this the extra HACS module hass-browser_mod .
Install this integration via this button in your own HA instance
Show popup
# Sourcecode by vdbrink.github.io
# Automation
alias: Frontdoor Popup on Detection
triggers:
- entity_id: input_boolean.frontdoor_detection_mode
to: "on"
trigger: state
actions:
- data:
size: fullscreen
content:
type: custom:webrtc-camera
url: >-
rtsp://username:password@192.168.x.x:554/h264Preview_01_main
muted: true
autoplay: true
action: browser_mod.popup
Hide popup
# Sourcecode by vdbrink.github.io
# Automation
alias: Close Frontdoor Popup
triggers:
- entity_id: input_boolean.frontdoor_detection_mode
to: "off"
trigger: state
actions:
- action: browser_mod.close_popup
Fullscreen popup with Bubble Card
https://www.youtube.com/watch?app=desktop&v=T2rtGrxSgcI