Home Assistant camera.play_stream service

199 views
Skip to first unread message

Lindsey Chesnutt

unread,
Jul 6, 2020, 4:25:22 PM7/6/20
to Camect User Forum
Has anyone gotten this to work? I'm trying to send a camera feed to Chromecast Ultra.

entity_id: camera.camect_d61f16e971a8b0943d43
media_player: media_player.work_shop_tv
format: hls


I get this error.

Failed to call service camera/play_stream. camera.camect_d61f16e971a8b0943d43 does not support play stream service

CamectArup

unread,
Jul 6, 2020, 5:08:38 PM7/6/20
to Camect User Forum
We don't currently support sending video feeds to chromecast, although that's expected to happen at some point in the longer term. 

Right now, all you can do is have your Camect play audio notifications on any cast receiver (i.e. Chromecast, Google Home, or Android TV) when something is detected. 

P Mallone

unread,
Jul 22, 2020, 3:49:48 PM7/22/20
to Camect User Forum
The way I understand it, HA can't consume the WebRTC stream in order to push the transcoded HLS to the Chromecasts/Google Displays.  If I'm understanding the threads that I've found detailing the issue (On the HA Discord), HA doesn't do WebRTC yet, and the Camect integration doesn't have a camera stream component either.

Lindsey Chesnutt

unread,
Jul 22, 2020, 4:28:57 PM7/22/20
to Camect User Forum
It seems like it should work locally though if the Camect would hand out a local URL to the stream via the event API using something like this. It wouldn't need WebRTC then.

       - service: media_player.play_media
         data:
           entity_id: media_player.work_shop_tv
           media_content_type: video
           media_content_id: '{{ trigger.event.data[''url''] }}'
Reply all
Reply to author
Forward
0 new messages