Frigate (card) no two-way audio to unifi doorbell
Hey all,
Short downside, I’ve received a Unifi G4 doorbell professional. I’ve setup Frigate and a Frigate card. But once I press the microphone button on the cardboard you don’t hear something on the doorbell.
I’ve learn and searched many days now and mixed many sources, so my setup may very well be a bit messy by now.
To the technical define.
• Unifi Dreammachine Pro
• Synology NAS with docker
• Home Assistant in Docker
• Frigate in Docker
• Unifi G4 Doorbell Pro through POE and enabled RSTP(S)
On the Unifi Dream machine
• Forwarded ports 80 and 443 to Synology NAS with Docker
On the Synology NAS
• Created customized area through External Access → DDNS → Add Synology.me area.
• Reverse Proxy through Login portal → Advanced → Reverse Proxy ( customized sub area port 443 to HA Docker IP and port 8123)
• Created Let’s Encrypt Certificate through Security → Certificate → mirrored customized sub area to cert.
- So, Im in a position to visite HA by HTTPS (with out warning). Also working by the companion app.
- Now, I can stream the Frigate card nicely within the HA app. Here the picture is clean and the sound/microphone button present up. (In desktop browser it generally doesn’t present, then it exhibits a preview picture and refreshes every second.)
- In the companion app I can press the microphone button and it turns purple. Also (on my android machine) I see the inexperienced microphone in use notification in my high proper nook.
- When standing subsequent to the doorbell no sound/voice comes out.
Below are all of the settings. What half am I lacking
I’ve received a sense I made a mistake within the Frigate config. But I’m undecided the best way to repair it.
Also, I don’t know the best way to debug Frigate or what to search for. Any pointers?
This is my docker-compose.yaml
model: '3'
providers:
#--------------------------------------------------------#
homeassistant_latest:
container_name: Home_Assistant_latest_1
picture: ghcr.io/home-assistant/home-assistant:newest
volumes:
- /volume2/docker/home_assistant/config:/config
- /and many others/localtime:/and many others/localtime:ro
setting:
- TZ=Europe/Amsterdam
restart: all the time
privileged: true
network_mode: host
#--------------------------------------------------------#
frigate:
container_name: frigate
privileged: true
restart: unless-stopped
picture: ghcr.io/blakeblackshear/frigate:secure
shm_size: "64mb" # replace in your cameras based mostly on calculation above
units:
- /dev/bus/usb:/dev/bus/usb # Passes the USB Coral, must be modified for different variations
# - /dev/apex_0:/dev/apex_0 # Passes a PCIe Coral, comply with driver directions right here https://coral.ai/docs/m2/get-started/#2a-on-linux
# - /dev/video11:/dev/video11 # For Raspberry Pi 4B
# - /dev/dri/renderD128:/dev/dri/renderD128 # For intel hwaccel, must be up to date in your {hardware}
volumes:
- /and many others/localtime:/and many others/localtime:ro
- /volume2/docker/frigate/config:/config
- /volume2/docker/frigate/storage:/media/frigate
- kind: tmpfs # Optional: 1GB of reminiscence, reduces SSD/SD Card put on
goal: /tmp/cache
tmpfs:
measurement: 1000000000
ports:
- "8971:8971"
- "5002:5000" # Internal unauthenticated entry. Expose rigorously.
- "8554:8554" # RTSP feeds
- "8555:8555/tcp" # WebRTC over tcp
- "8555:8555/udp" # WebRTC over udp
# network_mode: host
#--------------------------------------------------------#
Note, would it not be higher in the event that they shared a community?
In the HA configuration.yaml I’ve added:
media_source: # one tutorial stated so as to add this.
http:
use_x_forwarded_for: true
trusted_proxies:
- 192.168.0.200
This is the Frigate config.yaml
mqtt:
enabled: true
host: 192.168.0.200
port: 1883
client_id: frigate
#################
go2rtc:
streams:
frigate_voordeur:
- rtspx://192.168.0.1:7441/SznJFbzrx0tARE0C?video&audio
- "ffmpeg:frigate_voordeur#audio=opus"
webrtc:
candidates:
- 192.168.0.200:8555
- stun:8555
ffmpeg:
bin: ffmpeg
quantity: -af "quantity=30dB"
output_args:
file: preset-record-ubiquiti
#################
cameras:
frigate_voordeur2:
ffmpeg:
output_args:
file: preset-record-ubiquiti
rtmp: preset-rtmp-ubiquiti # advocate utilizing go2rtc as an alternative
inputs:
- path: rtsp://127.0.0.1:8554/frigate_voordeur?video&audio
input_args: preset-rtsp-restream
#################
detect:
enabled: False
file:
enabled: False
birdseye:
enabled: False
logger:
default: debug
The Frigate Card Yaml
kind: customized:frigate-card
cameras:
- live_provider: go2rtc
go2rtc:
modes:
- webrtc
camera_entity: digital camera.frigate_voordeur
title: Voordeur
menu:
buttons:
microphone:
enabled: true
alignment: opposing
kind: toggle
timeline:
enabled: false
cameras:
enabled: false
frigate:
enabled: false
obtain:
enabled: false
media_player:
enabled: false
mute:
enabled: true
alignment: opposing
camera_ui:
enabled: false
snapshots:
enabled: false
clips:
enabled: false
fashion: overlay
place: left
button_size: 80
dwell:
controls:
thumbnails:
mode: none
auto_mute: all
preload: false
dimensions: {}
media_gallery:
controls:
thumbnails:
measurement: 140
show_favorite_control: false
show_timeline_control: false
show_download_control: false
filter:
mode: none
efficiency:
fashion:
box_shadow: false
border_radius: false
1 publish – 1 participant
HI-FI News
through Home Assistant Community – Latest matters https://ift.tt/aJy6szI
September 18, 2024 at 07:17PM
-
Product on sale
Audiophile Vinyl Records Cleaning BundleOriginal price was: €69.90.€59.90Current price is: €59.90. incl. VAT -
Product on sale
Easy Start Vinyl Records Cleaning KitOriginal price was: €69.90.€59.90Current price is: €59.90. incl. VAT -
Vinyl Records Cleaner Easy Groove Concentrate€34.95 incl. VAT -
Easy Groove Super Set€199.00 incl. VAT -
Easy Groove Enzycaster – vinyl records prewash cleaner€34.95 incl. VAT -
Easy Groove Extreme MK. II- vinyl records prewash cleaner€45.00 incl. VAT -
Vinyl Records Cleaner – Easy Groove Virgin Concentrate€35.00 incl. VAT -
Easy Groove Spray&Wipe vinyl records cleaner€34.95 incl. VAT








