Home Assistant Cast

cart?? what?

Bloody auto correct. Catt - cast all the things. There is a separate thread, but just wondering if it works given ha cast doesn’t.

ohhhh no I haven’t tried that.
image
This is a chromecast connected to my Samsung TV - I know it’s unavailable (it’s powered by the TV so if the TV is off it’s unavailable)
If it’s on and I type in the TTS line it is played on my TV so it’s connected to HA but the Home Assistant Cast doesn’t work. None of my cast devices are detected if I run the demo.

That is actually an amazing idea. You could probably emulate Google cast somehow. Maybe there is an app or something I will look.

Well can’t it both open Lovelace UI through browser and run Google Assistant? If you update chrome you can add it to home screen and when you open it from there you don’t have a giant search bar

I can successfully cast to my chromecast, but my pages are long, is it possible to scroll down, or I need to make lovelace views just for the chromecast?

1 Like

I got it to work, but only from Chrome on computer. Not from the phone.

Where do I enter setting to be able to actually use the dashboard on my nest hub? Pressning buttons etc

Would there be any reason why I can see my Chromecast devices (USB type) and my Google Home Mini but not my Google Nest Hub?
All devices on the same network, same SSID.

What is CORS?

https://lmgtfy.com/?q=cors&p=1

2 Likes

cors_allowed_origins

(string | list)(Optional)

A list of origin domain names to allow CORS requests from. Enabling this will set the Access-Control-Allow-Origin header to the Origin header if it is found in the list, and the Access-Control-Allow-Headers header to Origin, Accept, X-Requested-With, Content-type, Authorization . You must provide the exact Origin, i.e. https://www.home-assistant.io will allow requests from https://www.home-assistant.io but not http://www.home-assistant.io .

Example:

http:
  server_port: 12345
  ssl_certificate: /etc/letsencrypt/live/hass.example.com/fullchain.pem
  ssl_key: /etc/letsencrypt/live/hass.example.com/privkey.pem
  cors_allowed_origins:
    - https://google.com
    - https://www.home-assistant.io
  use_x_forwarded_for: true
  trusted_proxies:
    - 10.0.0.200
  ip_ban_enabled: true
  login_attempts_threshold: 5
4 Likes

I get the same message. I am able to cast the demo page though.

If I cast the demo page first and then login to my server it casts just fine to the same device and also shows my other devices when I click manage.

I’m confused, do I need to expose HASS to the outside (or go with HASS Cloud) for this to work?
Or do I just need HTTPS for my internal network instance of HASS?

yes i can scroll on mine

iFrames don’t work, but otherwise great!

only need https, but if you have nabu casa then it sets up https for you. you dont need it though

HA Cast is amazing, so much potential once we’re able to use it in automations/scripts as per the initial release note.

My initial use case desired: I currently have a bunch of Android Tablets around the house acting as a photo frames when idle or when motion is detected, displays camera feeds from around the property. Works great but I’d love to retire this setup in favor of a more polished smart display solution.

Looking forward to the next ability for HA Cast. Thanks for all the hard work in getting this out so quickly.

1 Like

Genuine question, perhaps dumb, but what is the advantage of all this over just using a tablet + browser running HA Lovelace? What is gained, is it just the fact that a Google Hub is cheaper?

3 Likes

Not sure what I’m doing wrong but when I select to cast my View (directed at my ‘Lights’ view that is in my Lovelace UI) and it ends up just casting a generic screen to my Google Home that says ‘Connected’. It does not actually display my view. What am I missing?

I’m guessing you can cast to Chromecast too. I see this being useful for a monitor connected to a Chromecast which are dirt cheap to display a sort of security or info center. (cameras, Network Monitoring, systems status, aftership tracking, motion sensors, etc).

Also I think stability is much better. On Android I cannot keep anything running for more than a day without crashing, overheating, getting updated, getting closed by the system, getting prompts or warnings, screen ghosting, etc.

I think all of these Google Home devices are made to stay online in every single aspect: network, power, display, etc.

And personally I’d love this to replace the Google Nest Hub controls. Right now the only quick shortcut I get on a Google Nest Hub assigned to a room is the lights control(by swiping down the screen). If I want to control a plug, aircon, fan, etc then I need to navigate around the menus quite a bit.

1 Like