Using CATT

Can anyone tell me if you are able to get around the problem using HA Cast as is described here: Cast - Size of Cards too big on Full HD Screen? I have this same problem. I see in the CATT page, it says “The display resolution is 1280x720.” On mine, it appears to be more like 720x1280, because it looks nearly the same as on an iPad in portrait mode, showing white bars on either side of the screen. Since I have a 4k screen and a Chromecast Ultra, this is just unacceptable.

Do you know how to cast only one tab in fullscreen (without menu and top bar)?

I used to have this working in the past but now I always get the error message Error: no devices found when I run catt scan

I have home assistant latest version0.107.5 running on a raspberry pi.

any idea why the chromecast devices are not found, I have multiple in my network

Hey guys!

I am trying to get a Live Picture glance to be streamed but no luck, did anyone managed to have a live camera on this?

Any Help appreciated!

did you have find a solution? i’ve the same error, if i catt cast_site https://demo.home-assistant.io/#/lovelace/0
i can see on the Nest Hub the Hassio demo page , if i use my https://xxx.duckdns.org/lovelace/0 i’m stuck on the login page, i’ve added to the trusted networks my local net 192.168.1.0/24, in my router i’ve forwarded port 8123 to 443 and i can reach locally with chrome both https://hassio.local:8123/lovelace/0 and https://192.168.1.xx:8123/lovelace/0
this is my config

homeassistant:
  auth_providers:
   - type: homeassistant
   - type: trusted_networks
     trusted_networks:
       - 127.0.0.1
       - ::1
       - 192.168.1.0/24
       - fd00::/8
       - 172.16.0.0/12
     allow_bypass_login: true
1 Like

Have you tried clicking just below the next field on the hub to see if you can open trusted networks there?
The field was not visible for me either, probably due to the dark theme, but is present and when you click it you can select a user as part of the trusted network.

I use my internal IP address of HA with catt though.

Edit: see the picture in this post for more details -> Using CATT

1 Like

mmm i can’t see (dark theme, how to change?) but if i click there says:
“start over” …

Did you use the internal url for catt cast_site instead of the duckdns one?
And you have allow_bypass_login: true in the config, but that will only work if you only have one user in HA. Is that the case?
And you can change the theme in HA by clicking on the round button with your initials.

yes, i’ve used the internal url:
https://192.168.1.xx:8123/lovelace/0
but the Nest hub gets stuck on the dashcast screen. Says “force loading: https://192.168.1.xx:8123/lovelace/0”
i’ve only one user ( with the exception of users automatically generated by the homeassistant system)
i’ve changed the theme to default white but the cast keeps the black theme…
PS: i’m on Raspberry Pi4 with rasbian lite and hassio installed trought docker

Do you use https? Try using http as it’s your internal network.

And no need to anominize your internal IP, nobody here is able to reach that :slight_smile:

LOL it’s a paranoid thing u r right!
if i use http i can’t reach the server with hassio,
could it be due to duckdns? I forwarded the ports on the router from 8123 to 443 and i can reach the hassio at https://xxx…duckdns.org/lovelace/0 without problems, if through a browser, I try to connect to http://192.168.1.12:8123 (yes yes this is the hassio internal IP I confess :wink: ) the browser says: ERR_EMPTY_RESPONSE

1 Like

I’m trying to use CATT but it keeps asking for a username and password on the google home hub, I’ve added auth providers to my config as below, not sure where else to go?

homeassistant:
  auth_providers:
   - type: homeassistant
   - type: trusted_networks
     trusted_networks:
       - 127.0.0.1
       - 192.168.68.0/24
     allow_bypass_login: true

Can you check my earlier comment here to see if that solves it for you as well?

Thanks for this, this is the screen I see and I’ve tried clicking under the password field but can’t get trusted users to appear? image
Just to add I get this notification in home assistant also

Login attempt or request with invalid authentication from 192.168.68.108

It’s even below the Next button (pushing that one gives the authentication message in the log).
The field is not visible, probably caused by the dark theme. See the picture below, you have to press on the position of Trusted Networks on your hub.

3 Likes

Got it! Thanks for this! Must have pressed ever bit of the screen apart from this but when I tried before! Now to add to a command line switch!

Would anyone be able to help with an issue? I’ve got CATT working fine if I use the command in a terminal window but looking to trigger as part of a script. I’ve tried to follow the example above and it says the script is triggered but no response.
The shell command I’ve used is

shell_command:
  cast_kitchen_display: ssh -i /config/ssh/id_rsa -o StrictHostKeyChecking=no [email protected] "/home/matt/.local/bin/catt -d 'Kitchen Display' cast_site 'http://192.168.68.110:8123/lovelace-system/system-info'"

Home Assistant is running on the same host as catt if that makes a difference in the IPs I use. I also have passwords disabled on the host and only access via ssh key again if that makes a difference to the command? I only have one chrome cast as well so should I remove -d Kitchen Display? Should it literally just be catt cast_site command?

Only thing I have different in mine is -o "StrictHostKeyChecking=no" but looking at other posts on here that doesn’t seem necessary. Might suggest trying something simple like this to see if SSH is even working:

ssh -i /config/ssh/id_rsa -o StrictHostKeyChecking=no [email protected] ping 192.168.68.110

I wanted to thank folks for this thread as I’ve found CATT to be infinitely more reliable than HomeAssistant Cast. I wrote a blog post laying out how to get CATT set up, let me know if you folks think I missed anything: https://blog.fuzzymistborn.com/homeassistant-and-catt-cast-all-the-things/

4 Likes

How do you authorise when you just want to cast to a chromecast attached to a TV, which has no touch capabilities?