Use Google Displays with Home Assistant (Step By Step)

Sdílet
Vložit
  • čas přidán 5. 09. 2024
  • *This guide is out of date, please see this video - • Use Google Displays wi... *
    Use a Google Nest Hub display to control your Home Assistant with C.A.T.T. (Cast All The Things)
    Written Guide - www.welcometot...
    Configuration.yaml file -
    CATT (Cast All The Things)
    homeassistant:
    auth_providers:
    - type: trusted_networks
    trusted_networks:
    - 192.168.86.0/24
    allow_bypass_login: true
    - type: homeassistant
    Cast.sh file -
    if ! catt -d "Cast display" status | grep 'PLAYING'; then
    catt -d "Cast display" volume 0
    catt -d "Cast display" cast_site love lace url
    fi
    Restart Every Ten Minutes Automation -
    alias: Cast Dashboard
    description: ''
    mode: restart
    trigger:
    - platform: time_pattern
    minutes: /10
    condition: []
    action:
    - service: hassio.addon_stdin
    data:
    addon: a0d7b954_ssh
    input: bash config/cast.sh
    Helpful guides I used -
    C.A.T.T. Github page - github.com/sko...
    Written Guide from Fuzzy - blog.fuzzymist...
    Home Assistant Forum and John2014 - community.home...

Komentáře • 114

  • @NickRains
    @NickRains  Před 2 lety +4

    This method is now out of date and no longer works. Please check out my updated guide
    czcams.com/video/RBEz9nhFuG0/video.html
    It’s easier than before.

    • @nicokamphuis4602
      @nicokamphuis4602 Před rokem

      catt works fine over here. Google cast is not.

    • @tegheim
      @tegheim Před rokem

      Did this today, and it worked fine. Will not get Nadu Casa, as I only want it for local casting.
      BUT, I can't get it to stay on my NestHub Gen2. When using SSH and typing "catt -d ..." it start and works great, but then, If one use the nesthub for something else, it's gone until I manual typing "catt -d..." again.
      A dream would be to access HA-dashboard from the NestHub with easee...

    • @strikerz420
      @strikerz420 Před rokem

      @@tegheim do you use your router ip under trusted_network? and device ip under trusted_users? the id i understand, but i have restartet HA 20 times beacouse i lock my self out all time, i really want this to work beacouse the casting thing is sooo bad

  • @DaveOTech
    @DaveOTech Před 2 lety +4

    Hey, nice to see new people joining the Home Assistant Scene! Picked up a Hub on clearance a Home Depot and instantly got into it again! Thanks!

  • @tegheim
    @tegheim Před rokem

    Did this today, and it worked fine. Will not get Nadu Casa, as I only want it for local casting.
    BUT, I can't get it to stay on my NestHub Gen2. When using SSH and typing "catt -d ..." it start and works great, but then, If one use the nesthub for something else, it's gone until I manual typing "catt -d..." again.
    A dream would be to access HA-dashboard from the NestHub with easee...

  • @ValZakharov
    @ValZakharov Před 3 lety

    You've got 3 Yes's! How wasn't I subscribed on you before? Added to my favorites.

  • @DavidNijman
    @DavidNijman Před 3 lety +1

    Great! Works better than Home Assistant Cast but the downside....it doesn't work on ssl

  • @alancortez9396
    @alancortez9396 Před 3 lety +1

    Thank you it's working really well I appreciate this kind of videos I learned a lot

  • @ewiandr
    @ewiandr Před 2 lety +2

    I can get the login screen to appear on my Gen 2 display, but I can't get a keyboard to appear to enter the user credentials.
    Does anyone know how to get past this ?

    • @NickRains
      @NickRains  Před 2 lety

      Sorry for the delay, here is the updated new way of using a google display with Home Assistant czcams.com/video/RBEz9nhFuG0/video.html

  • @audigex
    @audigex Před 2 lety +1

    “Trust me on this one” - I’d really rather you explained why

  • @EddyYama
    @EddyYama Před 3 lety +1

    Thank you for the great video! Finally I could cast a lovelace page of my front door camera to my Google Nest Hub.
    Is there a similar tool to CATT for Amazon Echo devices? I have several Echo Show devices and I'd like to cast my front door camera stream to them.

    • @NickRains
      @NickRains  Před 3 lety +3

      I'm actually looking into that. I may start doing a few echo devices to my house to see how they compare to google's smart speakers/displays.

  • @jasonsmall5602
    @jasonsmall5602 Před 2 lety +4

    It's certainly not 192.168.86.

    • @scruggs.jonathan
      @scruggs.jonathan Před rokem

      Lol. Glad I'm not the only one to think that.

    • @jasonsmall5602
      @jasonsmall5602 Před rokem

      @@rwkw that's the subnet, not the address

    • @jasonsmall5602
      @jasonsmall5602 Před rokem

      @@rwkw I stand corrected. Still, .86 is only likely to be the subnet if you have google wifi.

  • @Robbrown92
    @Robbrown92 Před 2 lety +1

    the automation part isnt working for me i click run actions and it does nothing

    • @NickRains
      @NickRains  Před 2 lety

      Sorry for the delay, here is the updated new way of using a google display with Home Assistant czcams.com/video/RBEz9nhFuG0/video.html

  • @vananh44-duongthivananh24

    Thank you for the great video! I followed the instructions and it worked. However, the background image I use in the dashboard is flickering. How can I solve this problem? Thank you so much!

  • @UpnDown245
    @UpnDown245 Před 7 měsíci

    Great video thanks

  • @baileymcculloch9976
    @baileymcculloch9976 Před 3 lety +2

    Have you been able to resolve the 30 second time out yet?

    • @NickRains
      @NickRains  Před 2 lety +1

      I’m sure you figured it out, but I’ve been using the new way and it’s way better.

    • @baileymcculloch9976
      @baileymcculloch9976 Před 2 lety

      @@NickRains What’s the new way?

    • @NickRains
      @NickRains  Před 2 lety

      Sorry for the delay, here is the updated new way of using a google display with Home Assistant czcams.com/video/RBEz9nhFuG0/video.html

  • @ajwad87
    @ajwad87 Před 3 lety

    great tutorial, but now there is new feature that Home assistant introduce called blue print, its easier that way i think rather then editing so many things

  • @EricDeLaRosa
    @EricDeLaRosa Před 3 lety

    Thank you, this is awesome!

  • @StePhanMckillen
    @StePhanMckillen Před 3 lety +1

    10 out 10 bro

  • @tarikhulmahfudz7829
    @tarikhulmahfudz7829 Před rokem

    How to add browser to Google nest hub.

  • @angelpimienta6819
    @angelpimienta6819 Před 3 lety

    So... you can create a virtual switch to send the home assistant server the action to then cast the home assistant dashboard and have a button to stop the castin right?

  • @kevinnadjarian3328
    @kevinnadjarian3328 Před 2 lety

    thank you, it works for me except for the script so after a few sec the photos on the nest hub comeback... :(

    • @NickRains
      @NickRains  Před 2 lety

      Sorry for the delay, here is the updated new way of using a google display with Home Assistant czcams.com/video/RBEz9nhFuG0/video.html

  • @TwanJaarsveld1
    @TwanJaarsveld1 Před 3 lety

    5:33 how do i only allow the newly made user to be cast to my nest hub

  • @jagadeeshv2763
    @jagadeeshv2763 Před 3 lety

    nice and useful video ... I'm having some questions. will it cast every time? , trigger 10 min .. what is that for? my English, is not that good so only I cont understand. thanks

    • @NickRains
      @NickRains  Před 3 lety +1

      You can make it cast one time or you can create the automation to make it cast as long as you want.

    • @brian.hanifin
      @brian.hanifin Před 3 lety

      @@NickRains I assume you send the page to the display every 10 minutes because it returns to the default Google interface after a timeout.

    • @NickRains
      @NickRains  Před 3 lety +2

      Correct. For some reason the nest displays clear the cast after 10 minutes

  • @paulv9286
    @paulv9286 Před 3 lety

    hi followed you video and everything worked great !!
    i have a question though, when home assistant reboots i get an error when trying to start c.a.t.t
    zsh: command not found catt:
    i have to reinstall again (pip3 install catt)
    there is something about not being in the path / or profile
    do you have any idea how to solve this issue ?
    rpi 4 / Ha image with hass OS
    thanks paul.

    • @NickRains
      @NickRains  Před 3 lety +1

      Sorry, home assistant and terminal both updated and no longer support python 3. I’m working on a fix for this.

    • @paulv9286
      @paulv9286 Před 3 lety

      @@NickRains thanks for taking the time to reply.
      paul

  • @JustJordan365
    @JustJordan365 Před 2 lety

    Hey, excellent video followed it bit by bit, casting is working however I have one issue which is it only casts once, which is fine, I think that's the python compatibility. Anywho I am having an issue that the cast timeout after 20-25 seconds. Is there anyway to get around this at all?
    Reading the comments I really look forward to the python fix an all :)
    Ta,
    Jordan M

    • @NickRains
      @NickRains  Před 2 lety

      I'm getting back into making videos and unfortunately I do not have a fit for this, yet, I do have some ideas that might be of interest. Don't want to spoil anything, but working on a bunch of ideas that should start coming out soon.

  • @DavidBruner_NJ
    @DavidBruner_NJ Před 2 lety +1

    This method is outdated. Probably take the video down as it’s probably confusing a newbie

    • @justintomerlin
      @justintomerlin Před 8 měsíci

      however it still works, This method has many things that the new method does not have.

  • @TheJessle
    @TheJessle Před 2 lety

    Probably a crazy question but I have everything up and running,, just can't login to the Nest Hub because something is in dark mode and I can't enter my credentials. I've switched my Home Assistant theme to light, and set the Hub to light... but still no dice. Any advice for this internet stranger?

    • @NickRains
      @NickRains  Před 2 lety +1

      If you added the hub to trusted networks then honestly, just keep tapping until you find the login button (it’s black even on the dark theme)

    • @TheJessle
      @TheJessle Před 2 lety

      @@NickRains thanks for getting back! I must have messed something up. Added the full network under trusted but hitting 'Next' leads me to a 'something went wrong' error...

    • @alexanderwilliams8415
      @alexanderwilliams8415 Před 2 lety

      @@TheJessle did you ever figure this out? I think I might be running into something similar

    • @TheJessle
      @TheJessle Před 2 lety

      @@alexanderwilliams8415 I didn't! I wonder if it's impossible to do on a gen 1 Google hub (I don't think it got the software update that will show a keyboard? Maybe?)
      That's entirely conjecture though since everyone else seems to be able to get it to work it's either my equipment or my ineptitude...and I'd rather blame my equipment. 😆

    • @alexanderwilliams8415
      @alexanderwilliams8415 Před 2 lety +1

      @@TheJessle I don't think it's ineptitude. I believe the issue is it's an https address

  • @genrotik
    @genrotik Před 2 lety

    Hi. odomna google pytal still login password to home assistant .. then according to the instructions I canceled the password or. allowed access so again google gives me a choice under which account I should log in. the problem is that I can't click through that Google cast

    • @NickRains
      @NickRains  Před 2 lety

      Follow the instructions on the updated video - Use Google Displays with Home Assistant 2022 update
      czcams.com/video/RBEz9nhFuG0/video.html

  • @DonPeixeRestaurante
    @DonPeixeRestaurante Před 3 lety +1

    what if i have duckdns and ssl?

    • @alexanderwilliams8415
      @alexanderwilliams8415 Před 2 lety

      Did you find a solution? I'm not able to login on the Google Home because of this. It gives me "login aborted"

  • @alexanderwilliams8415
    @alexanderwilliams8415 Před 2 lety

    I can't get it to login. I'm guessing this doesn't work with https assigned HA instances

    • @NickRains
      @NickRains  Před 2 lety +1

      Sorry for the delay, here is the updated new way of using a google display with Home Assistant czcams.com/video/RBEz9nhFuG0/video.html

    • @alexanderwilliams8415
      @alexanderwilliams8415 Před 2 lety +1

      @@NickRains that worked. Thanks!

  • @DCJona
    @DCJona Před 3 lety

    hi, do you know why since a few days it stop casting after 30 seconds ?

    • @DCJona
      @DCJona Před 3 lety

      @Ian Kolsteren so no solution for the moment ?

    • @NickRains
      @NickRains  Před 2 lety

      Sorry for the delay, here is the updated new way of using a google display with Home Assistant czcams.com/video/RBEz9nhFuG0/video.html

  • @ruoyang86
    @ruoyang86 Před 3 lety

    Hi, Thank you for the sharing.
    The automation part (Every 10 minutes) is not working for me (It looks like the script is not run successfully, nothing react from Google Home HUb)
    Following as the yaml under automation, would you mind to take a look on it?
    alias: Cast Dashboard
    description: ''
    trigger:
    - platform: time_pattern
    minutes: /10
    condition: []
    action:
    - service: hassio.addon_stdin
    data:
    addon: a0d7b954_ssh
    input: bash config/cast.sh
    mode: restart

    • @NickRains
      @NickRains  Před 3 lety

      Can you cast from the terminal?
      Have you restarted your home assistant server?
      Did you create the cast.sh file?

    • @ruoyang86
      @ruoyang86 Před 3 lety

      @@NickRains Yes, i can cast from the terminal. I did create cast.sh file and i did restart my homeassistant server. I try to edit the input to cast_site and it work perfectly. I think something wrong on the process of running cast.sh as a script

    • @NickRains
      @NickRains  Před 3 lety

      I do see one difference in your yaml. Here's mine
      action:
      - data:
      addon: a0d7b954_ssh
      input: bash /config/cast.sh
      service: hassio.addon_stdin
      In mine, the add-on and input comes before the service. Not sure if that would cause the issue, but I can keep looking into it.

    • @ruoyang86
      @ruoyang86 Před 3 lety +1

      @@NickRains Thank you for the reply. I remove the sentence of "if ! catt -d "Cast display" status | grep 'PLAYING'; then " and remain "volume 0" & "Cast_site" command and it work perfectly. I think the If Then command doesn't work well on my device. Thank you for the great tutorial and very looking forward for the upcoming video.

  • @MattKurkowski
    @MattKurkowski Před 3 lety

    Can you use it and remove Google? I'm trying to get rid of all things google but love using their devices and cutting them off when possible.

    • @NickRains
      @NickRains  Před 3 lety

      Do you mean remove the "hey google" wake command?

    • @MattKurkowski
      @MattKurkowski Před 3 lety

      @@NickRains Remove all Google from the device. It's open source or runs AOSP. I don't know much about these devices.

    • @NickRains
      @NickRains  Před 3 lety

      I don't believe so. If you wanted a voice activated display without Google, you could make one with a raspberry pi

    • @TwanJaarsveld1
      @TwanJaarsveld1 Před 3 lety

      You can probably just use the lcd as a screen for a pi or something like that, you will need to find the correct display driver but its worth a try

  • @Mickatronix
    @Mickatronix Před 3 lety

    After reboot my home assistant(rpi), my home assistant lost python package, have you an idea ?
    (apk add --no-cache python3
    apk add --update py-pip
    python3 -m pip install catt)

    • @NickRains
      @NickRains  Před 3 lety +1

      The newest version of home assistant no longer supports python3. I’m looking into another way of getting CATT to work

    • @Manutinus
      @Manutinus Před 3 lety

      @@NickRains Any luck?

    • @NickRains
      @NickRains  Před 3 lety +2

      With google slowing rolling out fuchsia os to their displays, I might have found a new way of achieving the same, but better, results. It seems that fuchsia has a decent built in browser. I’m trying to figure out how to automate it.

  • @ValZakharov
    @ValZakharov Před 3 lety

    How do you have number of parts in your LAN IP address less than mine? You have 192.168.86.0 while I have 192.168.178.1 . So am I suppose to replace 1 with 0 and add /24 or to add 0/24 after 192.168.178.1? While I was playing with these figures my HA after another reboot went to safe mode. Also you are casting address started with HTTP, while my internal HA address starts with HTTPS.

    • @NickRains
      @NickRains  Před 3 lety +1

      End in 0/24 so 192.1686.178.0/24
      And yes, cast your site with http not https. It will not work with https.

    • @ValZakharov
      @ValZakharov Před 3 lety

      @@NickRains thanks for your reply. Now I've got some homework to do

    • @NickRains
      @NickRains  Před 3 lety

      Let me know if it doesn't work

    • @ValZakharov
      @ValZakharov Před 3 lety

      Hey Mate. thanks for your help but it didn't work. As soon as I added 0/24 at the end HA rebooted into the safe mode with half of the functions disabled. Probably this is because I'm running HA with duckdns remote access. Cast itself does work with Nest hub, when I tried to cast any web-site Nest shows it on the screen with full touching functionality. I also tried to open my HA in the browser with HTTP instead of usual HTTPS way - Google chrome refused to open it, showing standard "This page isn't working" response. Probably casting HTTPS to Nest hub isn't possible without compromising SSL safety yet. At least I tried.

    • @NickRains
      @NickRains  Před 3 lety +1

      I'm sorry. I should have opened with that first. This will not work with duckdns.

  • @adhirajdogra6400
    @adhirajdogra6400 Před 3 lety

    Hey, great video. But is there a way to replicate this without using the supervisor tab? Context: I'm running my hass server on an old android phone so i have only hass core and no supervisor tab.
    Thanks

  • @austinstiles6533
    @austinstiles6533 Před 3 lety

    so my google display is still asking for a username and password anyway to get past that?

    • @NickRains
      @NickRains  Před 3 lety

      In your configuration.yaml file, make sure you allow_bypass_login: true

    • @austinstiles6533
      @austinstiles6533 Před 3 lety

      @@NickRains it was i forgot a - in front of the ip under trusted network

    • @austinstiles6533
      @austinstiles6533 Před 3 lety

      thanks for the reply!!!!! your video was awesome

    • @NickRains
      @NickRains  Před 3 lety

      I'm glad I could help. Yaml is awesome but not very forgiving. I've spent many hours trying to figure out "why this stupid script won't work" only to realize I mistyped one character.

  • @azmineabrar235
    @azmineabrar235 Před 3 lety

    I was stuck here
    catt scan
    ends up with AssertionError

    • @NickRains
      @NickRains  Před 3 lety

      It seems that home assistant and terminal no longer support python 3, which is what I used in the video. So I’m working on a way to fix this without having to stay in an older version of both.

    • @VWTesla
      @VWTesla Před 2 lety

      @@NickRains I got it working but the catt scan doesn't find any of my chromecasts. I can make it work by hard-coding my device name. Otherwise it's great.

  • @TwanJaarsveld1
    @TwanJaarsveld1 Před 3 lety

    6:00 if i restart the server it boots back up in safe mode

  • @meeDamian
    @meeDamian Před 2 lety

    Who the hell has .86. in their local IP by default 0_o?

  • @johannes653
    @johannes653 Před 3 lety

    this is great but the dashboard dissappers every 30 seconds, how can i get it to stay alive

    • @tbut7633
      @tbut7633 Před 3 lety +1

      ... you don't. Unfortunately, Google made a change and it will only work for 30 seconds. It used to be 10 minutes. I wish there was another way but I'm not aware of it

    • @johannes653
      @johannes653 Před 3 lety +1

      @@tbut7633 that's pretty sad but thank you for responding

    • @Space-boi-
      @Space-boi- Před 2 lety

      @@johannes653 I really just did all of this for nothing kms

    • @NickRains
      @NickRains  Před 2 lety

      I’m sure you already saw, but the new way is so much better. I have an explainer video coming soon in case you need help

    • @NickRains
      @NickRains  Před 2 lety

      Sorry for the delay, here is the updated new way of using a google display with Home Assistant czcams.com/video/RBEz9nhFuG0/video.html

  • @DavidBruner_NJ
    @DavidBruner_NJ Před 2 lety

    You must not know anyone who cooks

  • @arifturgan
    @arifturgan Před 2 lety

    *PAYSONOS