Using CATT

Type

catt scan

Then press enter

Thanks. I got it working. I followed this blog post:

I have CATT working on my Google Nest Hub but after some time the build in Photo Gallery takes over and displays randpm photos. So I need to start casting again everytime.
Is there a setting in the Hub or a parameter I need to add to my shell_command to make the HA Cast persistent?

You have to recast every 10 minutes see Using CATT and also the post I link in there.

As far as I know, there is no setting on the HUB to disbable this.

Is there anyway to clear cache of the nest hub?

I updated, and some of my cards aren’t appearing properly when CATT lovelace to my nest hub. The same happened on my phone/computer, but a cache clear on my browsers fixed it. So I’m assuming I need to do similar to the web UI of the nest hub, but googling for an answer got me nothing, so I’m asking here in hope someone has experienced the same.

Hello everyone.
I’m so close to be able to use it but im stuct in how to set automations from home assistant…to be able to use confortably…
I have home assistant (old hassio) on a raspi.
I have intalled the addon “terminal & SSH” with the following config:
authorized_keys: []
password: XXXX
server:
tcp_forwarding: false
share_sessions: false
init_commands:
- python3 -m pip install catt

I installed CATT using the terminal as mentioned here:
apk add --no-cache python3
apk add --update py-pip
python3 -m pip install catt

If i type in the terminal the followihg it wolrks perfectly in my google hub:
catt -d "Hub one" cast_site http://my_rasp_IP:port/lovelace/1

In configuration.yalm i set a shell_command:
cast: catt -d "Hub one" cast_site http://my_rasp_IP:port/lovelace/1
I set an script to call the shell and It does not work, it shows error:
Error running command: catt -d “Hub one” cast_site http://my_rasp_IP:port/lovelace/1, return code: 127

I tried to set an automation but it does work neither… This is the action part.

action:
- data:
addon: core_ssh
input: catt -d "Hub one" cast_site http://my_rasp_IP:port/lovelace/1
service: hassio.addon_stdin

I put addon: core_ssh because when i am in my addon the brosher shows this name. (I also tried addon: a0d7b954_ssh and no luck).
Any idea please. ???
Thank you very much to everyone

1 Like

Give the full path to the catt command.

Are you using this SSH addon?

If not, you need to use that one, you mention “terminal & SSH”, if that is a different one, it won’t work. I don’t have Hassio anymore so I cant check.

Hey thanks for the reply but no luck…:frowning: any idea??
I looked where catt is intalled: In terminal -> which catt -> /urs/bin/catt
I’ve done several shell_commands:
cast_01: usr/bin/catt -d "“Hub one” cast_site http://my_rasp_IP:port/lovelace/1
cast_02: bash/usr/bin/catt -d "“Hub one” cast_site http://my_rasp_IP:port/lovelace/1
In all of them when i call the service the same error than before:
/usr/local/lib/python3.7/site-packages/homeassistant/components/shell_command/__init.py (ERROR) Error running command:the command written in the shell_comand, return code: 127, NoneType: None

I do not control at all with linux …
What is strange is that with the addo “Terminal & SSH” i type catt -d "“Hub one” cast_site http://my_rasp_IP:port/lovelace/1 and works perfectly…
I dont know what happen.
Any idea.??
Thank you a lot!!!

Did you change the addon to the one I mentioned? If you are still using “Terminal & SSH” IT WILL NOT WORK.

You need to use this one https://github.com/hassio-addons/addon-ssh

The problem you have is that Terminal&SSH installs CATT in its own container, so the rest of HASSIO can not use it.

Hey John thanks. Sorry before i didn’t see your message.
I havent changed to the addon you say because i have the poblem (too) of vaving an old hassio version (0,92) so now the addon wich requiere “advanced config” i cant see them. I tried to add manually the addon repository and nothing… i willl have to reintall HA to an updated ha version and install the addon yo say.

Whith “Terminal & SSH” isn¡t anything to do to be able to make catt work???
The wierd thing white the “Terminal & SSH” is that i can not do automation neither…they do ot work. For example with this;

action:
- data:
addon: core_ssh
input: catt -d "Hub one" cast_site http://my_rasp_IP:port/lovelace/1
service: hassio.addon_stdin

I put addon: core_ssh because when i am in my addon the brosher shows this name. (I also tried addon: a0d7b954_ssh and no luck).
Any idea please. ?
Thank you very much

Hassio can not see the CATT command in the addon. The “Terminal&SSH” addon creates a container. So when you are using the terminal, you are actually in that container.

But Hassio itself can not look in that container so will never find CATT. For Hassio it will be as if CATT is installed on a different computer.

The addon that I linked actually gives you access to Hassio itself.

Hey John thanks a lot. anderstood the other addon the only one makes catt working. I will try to reintall HA … thanks

Why? That will not help.

Hello,
I am trying to cast to my Android TV.
I have setup trusted network with a single user and seems to work fine on other devices.
It seems to start loading for a second and than I get the “Start Over” message some people mentioned above.
I tried to change the theme on my user, but it does not help.
I do have some custom components - not sure if this can be the issue.

So …
… any specific places to look for when seting up that basic theme ?
… anyway to see a log that will help me debug ?
… can this be my chromecast version from Android ? Or this does not work with any custom themes ?
Thank you!

Later Edit:
After I added a rewrite internal rule for my domain on adguard works!!!
However it does not load any calendar (standard / atomic). Any way to make this work ?

That was because im running an old version of HA. But now fixed.

It works pefecly.

I was trying to cast an IP cam using CATT in a google hub but it does not work.
catt -d “Hub one” cast_site rtsp://password@IP:port/xx

Any idea to cast cameras??

I also tryed with http and the ip of the cam and the hub opens the webserver of the cam but the google hub does not soport the flash player and i dont see the image…

thank everyone

I don’t think you can use catt to cast an rtsp stream. VLC may be able to do so.

I confirm that vlc will cast an rtsp stream to a chromecast.

Yes VLC can cast a rtsp stram because i checked with the computer. So, how do you recommend to send the camera stream to the google hub??

thanks