b0mbays / continuously_casting_dashboards

HACS Integration for continuously casting a Home Assistant dashboard to your Google Chromecast Displays
MIT License
215 stars 11 forks source link

Seems to start casting but asks login #2

Closed Tokn59 closed 1 year ago

Tokn59 commented 1 year ago

Hi, thanks for sharing this very interesting integration. Everything seems to work but I seem to be needing to login to HA on my Google Nest Hub ? Did I miss something in the setup ? Thanks for your help !!!

PS: Logfile only entry :

2023-03-25 10:28:41.901 ERROR (MainThread) [custom_components.ha-continuous-casting-dashboard.dashboard_caster] Timeout casting dashboard to Kitchen Display:

My code :

`homeassistant: auth_mfa_modules:

image

Tokn59 commented 1 year ago

Mine doesn't seem to like it !

image

image

b0mbays commented 1 year ago

Don't try and open it for your full network. The issue is the 'type: homeassistant' should be below everything

Change it to this:

auth_providers:
    - type: trusted_networks:
      trusted_networks:
         - 192.168.1.254/32
         - 192.168.1.69/32
      trusted_users:
         192.168.1.254: <the user id>
         192.168.1.69: <the user id>
      allow_bypass_login: true
    - type: homeassistant
Tokn59 commented 1 year ago

image

WE HAVE A WINNER !!!!!!

Thank you so much !!! Please let me know if there's anything I can do for you !

Strange that there are so many (working or not) ways to do stuff in the configuration file and in HA in general ..

b0mbays commented 1 year ago

Amazing!!!! Well, I'll add something to the readme to ensure other users don't fall into this trap 😅 I don't need anything from you other than just letting me know if you come across any issues using the integration or any ideas you may have for new features!

The new feature I just added allows you to cast dashboards based on entity states if you were interested in that 😄

Tokn59 commented 1 year ago

Absolutely and yes interested ! I will install this at the home of my girlfriend as well and one of my friends also has about the same configuration and will surely be interested. If while using it I come across things I would like changed I will surely let you know !!!!

Thanks and have a great day !!!

Tony

b0mbays commented 1 year ago

That sounds great! Have a great day too.

Closing this issue now.