anubisg1
(Andrea Florio)
January 23, 2021, 10:29am
1
Hello Everyone,
i’m trying to configure google home to display my IP camera stream.
Google assistant is configured as follow:
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
#includes
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
## google assistant and google nest integrations
google_assistant: !include google_assistant.yaml
nest: !include nest.yaml
## LG TV integration
webostv: !include webostv.yaml
#enable new features
python_script:
wake_on_lan:
media_player:
notify:
ffmpeg:
stream:
#enable ssl
http:
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
# Text to speech
tts:
- platform: google_translate
#themes
frontend:
themes: !include_dir_merge_named themes
my IP cameras are detected by Synology DSM integration, but for test i also added a generic RTSP camera with this config
#test camera
camera:
- platform: generic
name: test-camera
still_image_url: http://192.168.0.4/snap.jpeg
stream_source: rtsp://192.168.0.4:554/s0
everything inside Home Assistant itself works fine, i see still picture, i see video streaming and audio in the lovelance cards.
I’m using manual google assistant integration, and cameras are exposed. Google home detects my camera.
My problem is that if i try to ask google to show me the stream of the camera, all i get is this:
all my cameras are Unifi and streaming coded in the datasheet is h.264. What am i missing?
behtjes
(Behtjes)
May 26, 2023, 12:53pm
3
same problem here, did you figured this out?
I just do it with HA scripts.
Example: HA + Amcrest AD110 Front Door + Nabu Casa + Google Home
YAML
alias: Zeige Kamera Haustür
sequence:
- service: camera.play_stream
data:
format: hls
media_player: media_player.nest_hub_wohnzimmer
target:
device_id:
- 81f96411aea2523423432f4c102305b51a0
mode: single
Google Home
Automations → New → Trigger (If I say: Show Camera Front Door)
Action → Set smart home device → Ambiente Option add to → HA Script
If it wants to stop streaming I use another script (Stoppe Media Player) with Google Home
YAML
alias: Stoppe Media Player
sequence:
- service: media_player.turn_off
data: {}
target:
entity_id:
- media_player.nest_hub_kuche
- media_player.nest_hub_wohnzimmer
mode: single
Some of my HA Scripts for Streaming
domeng83
(Domeng83)
March 13, 2025, 3:27pm
5
@jim_os I’m currently seeing about 20s delay on this camera feed when viewing on Google displays after streaming from HA. I am using an IP camera streaming H.264 into HA as a Generic Camera and then picking that up in the script for streaming.
jim_os
March 13, 2025, 4:10pm
6
Oh, this is a pretty old post from me, and a lot has changed with my cameras in the last two years. I currently use four Dahua cameras and an Imou DB61i video doorbell. All cameras are integrated into HA via the HA Onvif integration with H.264. The rest - HA Script + Nabu Casa + Google Home - are still the same.
From the moment I enter the voice command on a Nest Hub until the camera’s live stream appears, it only takes about 3-5 seconds. I use Substream 1 of my Dahua cameras with the following settings.
Unfortunately, I can’t tell you why this delay is happening to you.
1 Like