Using CATT

You can try to use a time pattern automation to restart the cast every 10 mins, must say that it works pretty well. I use that with the condition that my alarm is disarmed, if it’s armed_away or armed_home the automation does not run and I just see the hub’s time. Also the cast does not stop completely. It just goes to the background. You can pop it back up by swiping down from the top and choose Media. Click on Dashcast and your cast is back on top, for 10 mins… It’s not ideal, but it works fine in my opinion. Also hope they revert it the way it was.

Automation could work, but i guess only if you’re casting 1 page. If you cast the entire dashboard, it might jump pages…

what do you mean by that? I’m casting a full dashboard specially created for the hub with the custom sidebar by DBuit. Works brilliant

Well, say my dashboard contains multiple pages:
/lovelace/0
/lovelace/1

I can cast /lovelace/0 to the hub every 10 minutes, but that would be quite annoying if I am on /lovelace/1 at that moment :slight_smile:

So from lovelace/0 you don’t have easy access to jump quickly to lovelace/1? I think it depends on the layout of the dashboard itself if it’s convenient or not.

Hi All,

I have two devices and want to cast two differs dashboards, I noticed when I cast the second the first one stops. Does anyone know if its possible to start multiple Catt commando’s?

What commands are you sending?
How are you sending the commands?

I use Node-red and the following actions. They are trigged separate of each other and then executed every 10 min.

{"addon":"a0d7b954_ssh","input":"catt -d Homehub cast_site 'http://192.168.1.100:8123/lovelace-homehub/frontdoor-cam'"}

{"addon":"a0d7b954_ssh","input":"catt -d Homehub-slaapkamer cast_site 'http://192.168.1.100:8123/cast-slaapkamer/HomeHub'"}

What if you go into the ssh terminal (you can use the one from the ssh addon) and use

catt -d “Homehub” cast_site http://192.168.1.100:8123/lovelace-homehub/frontdoor-cam
and
catt -d “Homehub-slaapkamer” cast_site http://192.168.1.100:8123/cast-slaapkamer/HomeHub

Does that work?
For me it works fine. At least, I can cast one page to my Google Hub and then another to my Android TV ( i only have 1 hub)

But if it works in the command line then it might have something to do with node-red

I’m putting the displays together next to my workplace today, so I can monitor, I can also put the action in one ssh commando. see if that works better.

update:
is trigged the commando’s on the same time. One got lost in the proces. I added a 30 second wait to wait to get the first one finished

1 Like

Coupple of days ago i saw the hub’s get new firmware pushed. I also heard that you can start using Netflix on the screens. Not that it’s relevant in this thread, but i cannot imagine that if you are watching Netflix on this thing the series or film stops playing after 10 minutes?? Is this bug still a thing? Haven’t tested yet…

:thinking: that 10 min thing is stupid. wonder how it works now

I will disable my automation that starts the cast every 10 minutes and check if it’s still there after firmware update. Will report back

Bug is still there.

If you are talking about the 10 minute thing, it is not a home assistant bug. Please contact your manufacturer.

Ofcourse it is not a Home Assistant bug. Where do you read that? Please contact your manufacturer? What are you even saying? lol

Get onto Google. It is their screw up. They need to know t here are annoyed customers.

Ofcourse it’s something to fix on their end. You know just as much as I do that “Get onto Google” won’t make any difference.

2 Likes

Youtube videos don’t seem to time out.

Meaning that there must be a way to keep a stream alive.

I’m using HASSIO image on Rasp Pi.
Initially I installed catt by SSH-ing in and ran “pip3 install catt” in the command line.
I can execute catt from SSH terminal but not via shell_command. Turning on debug logs showed that catt was not found when executing shell_command.

Solution
Added a pip_install shell command and I only have to call it once.
After that, it’s able to run my shell_command.cast command.

shell_command: 
  pip_install : pip3 install catt
  cast : catt -d "your Device" cast_site http://...   
2 Likes