UI Authentication via single URL?

Hi,

I want to use Android app Autocast to create a schedule to cast my main hassio home page to my dumb tv that has a chromecast attached (So I have a persistent dashboard on display).

I manage to get Autocast to cast the login page successfully.

Is there a way to put my username and password into a single url string and log straight into my UI? Something like this:

https://mydomainname.duckdns.org:8123&username=MyUsername&password=MyPassword

(or otherwise achieve my objective of automatically casting my main interface to a chromecast?)

Can’t believe it is so hard to automatically cast a webpage…

No much action here. Was this question dumb, or ambiguous? or something else? Cheers.

This doesn’t sound like a dumb question to me, but I also don’t have a definite answer for you either. There used to be a way to enable a trusted network to allow certain devices to not be required to login, but I think that may have disappeared with the new auth system.

One way that comes to mind that I know would work is to use TileBoard. When I played with this you were able to hard-code the API key so it would not require any user interaction on the page. If your install is internet-accessible, you would want to host this from a separate webserver that is not internet reachable, because the API key itself is in the source of the page.

1 Like

Thankyou. I hadn’t seen TileBoard yet. Pretty cool.

I was able to achieve something similar with HaDashboard, but I really like where the Lovelace interface is going, and am now very happy with my lovelace frontend.

I’ve currently settled on an old android permanently on and screen mirroring a simple .html to my chromecast/TV. It’s far from ideal, but I’ll see how it goes in the shorter term.