Automate casting a camera to my Google Nest Hub Working but slow

I am trying to set up an Automation to send a video stream from my front Door Surveillance Camera to my Google Nest Hub.

I have set up NABU CASA * and Google Cast Integrations - this all seems to be working well.

If I go into Developer ToolsServices I can test the the service

And it does cast the video stream to my Nest. All Good.

However when I try to set up an automation I get stuck on the Action panel.


When I try an save I get
image
Can someone point me in the right direction please.
Thank you

16:17Hrs 3/9/20
I was rummaging around and found a few other people who had the same error.
They overcame the issue by just pasting the code from the Developers tool box rather than typing it and it took.
I tried the same and it worked for me too

This has got to be a bug!

I now can work on getting the Automation to perform more of what I want it to do.

If you want to turn off the cast then I found the solution here

I have an interesting issue here.
I have this automation that I did to detect a line crossing in my front door camera and cast the video stream to my Google Nest Hub
I am using NABU CASA
I have a broadband system of 15/50Mb/s
It is taking about 3 minutes from when I see it live on my camera to when it is cast. Is this normal.
It’s 15:36hrs on a Sunday in Australia when I did this.
I am running HA on a NUC i3
This is the code.

- id: '1599094851589'
  alias: FD Camera Line Crossing Cast
  description: Cast Video stream from Front Door Camera when Line is crossed B to
    A direction
  trigger:
  - entity_id: binary_sensor.hikvision_back_door_line_crossing
    from: 'off'
    platform: state
    to: 'on'
  condition:
  - after: sunrise
    before: sunset
    condition: sun
  action:
  - data:
      entity_id: camera.front_door_camera
      media_player: media_player.den_display
    entity_id: camera.front_door_camera
    service: camera.play_stream
  - delay: 00:05:00
  - data: {}
    entity_id: media_player.den_display
    service: media_player.turn_off
  mode: single

Is this delay normal?
I was hoping for something that could show me an event in < 30 seconds or so

1 Like