I saw in the 0.91 update that you can now ask google to show you what is on a camera, but i cant get it to work… Is there any config i have to do? Ive enabled stream, and added a rtsp camera which shows up in the interface, and if i call service it will show it on my selected player… just not sure how to do this with google home?
The way I’ve done it is to use the cloud component and the subscription with Home Assistant Cloud (Nabu Casa).
Then in my configuration file I have:
# Cloud
cloud:
google_actions:
filter:
include_domains:
# Scene
- scene
include_entities:
# Lights
- light.led_tv_led
# Switches
- input_boolean.disable_motionsensor_backyard_automation
- input_boolean.stream_camera_to_chromecast_kitchen
# Media Players
- media_player.living_room
# Temperature Sensors
# Vacuum
- vacuum.chen
# Camera
- camera.protect_driveway
Becuase of my language and google assistant, it always takes my camera name and searches for it on YouTube and then Streams it instead of my actual camera. So that’s why you see the input boolean, where the switch then triggers an automation that streams it to the chromecast - see below.
I know people with the english version don’t have the same issues and they just say: Show CAM01 or something similiar:
Automation:
# Stream Camera to Chromecast Kitchen
- alias: '[Køkken] Start Camera Driveway - Chromecast Kitchen'
trigger:
platform: state
entity_id: input_boolean.stream_camera_to_chromecast_kitchen
from: 'off'
to: 'on'
action:
- service: media_player.turn_on
entity_id: media_player.chromecast_kitchen
- delay:
seconds: 3
- service: camera.play_stream
data:
entity_id: camera.protect_driveway
media_player: media_player.chromecast_kitchen
# Stream Cameras to Chromecast Kitchen
- alias: '[Køkken] Stop Camera Driveway - Chromecast Kitchen'
trigger:
platform: state
entity_id: input_boolean.stream_camera_to_chromecast_kitchen
from: 'on'
to: 'off'
action:
- service: media_player.media_stop
entity_id: media_player.chromecast_kitchen
- delay:
seconds: 3
- service: media_player.turn_off
entity_id: media_player.chromecast_kitchen
You can probably to it in another way if you have connected your Home Assistant in another way, but this works for me. So hope that gave you some inspiration
Thanks… i thought it works out of the box… I have it connected using the google assistant component and by going into the developer api thing and making a test app… as i dont really want to pay for home assistant cloud.