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
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…
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.
Ah this is great, works so much better for me than the Cast integration.
I’ve set up voice control via Google Assistant so I can say “Hey Google, set bedside display to <home/cameras/media/etc>” and it fires the corresponding shell command to show that Lovelace dash on the display. (In my case, Lenovo 7").
The only way I’ve found so far to have a “menu” of options via Google Assistant is to publish a Universal Media Player with the source_list set up with each menu item, and a template in UMP’s select_source command to fire the relevant action based on the chosen source.
In this instance, each display is a separate shell command, as it didn’t seem possible to pass variables (like a specific dash name/id) to a command. This results in each service being uniquely named, and it also seems like you can’t template the service name in a UMP. It took a few steps to bridge this gap:
Create a UMP where the select_source command is configured with template list of "if source = , set value to " conditions
Use an input_number helper to store the ID changes
Add a list of possible display names in customize.yaml under a source_list for the UMP
Make an automation that triggers when the input number updates, and executes the corresponding shell command
Ensuring that the source names configred in the UMP and customize.yaml are both identical to what Google Assistant sends through. There’s very little room for error; Initially it wouldn’t work with “Cameras 1”, had to change it to “Cameras One”
While this works well enough and is far from the biggest integration hassle I’ve seen in HA, I was wondering if I missed something obvious to have a simpler config that allows me to select a dashboard with Google Assistant via CATT?
Hello grate job and thanks first.
I have a rpi3+ with home assistant (old hassio) wit version 0.92 (i stop because is my stabe system).
I have installed catt i manage to do it with ssh addon but it opens the hme page in a google hub with the autentication…
I tried to add in my config.yalm
In the homeassistant part:
auth_providers:
type: homeassistant
I restarted the server and i doest start… i had to delete the auth providers. Does someone why it doest work?? Is the ip directio ending in 1 ok?? Or should it be ending in 0…i want to allow fro internal acces no to log in in home assistant…or my 0.92.ha version doesnt supoort auth providers?? Thanks a lot
Sorry I was with mobile phone
I recopy. I hope its ok.
Hello grate job and thanks first.
I have a rpi3+ with home assistant (old hassio) wit version 0.92 (i stop because is my stabe system).
I have installed catt i manage to do it with ssh addon but it opens the hme page in a google hub with the autentication…
I restarted the server and i doest start hassio… i had to delete the auth providers part in configuration.yalm.
Does someone why it doest work??
Is the ip direction ending in 1/24 ok?? Or should it be ending in 0/24…i want to allow for internal acces no to log in in home assistant…
Doesnt my 0.92.ha version support auth providers??
Thanks a lot
This what i added in my config.yalm. the formating is no ok but it wasnt a formaring problem. Thanks
Hey thanks. Yes i read this. My ploblem is i dont know how to configure alright the auth providers in configuration.yalm. mainly i dont kwow wearher the ip addres of my lan shluld ve wnding in 0/24 or 1/24. I want to leave without loggin my whole internal lan…thanks again
Nest hub DashCast shows force loading of page and then just exits with casting sound.
All other sites casting using same line works.
Even accessing from https:// duckdns works, but in that case I don’t have trusted network.
Is tihs because of https:?
Would it be possible to catt a camera stream directly to the google home hub? I got it working with the build in cast but then the image of the camera is verry small. When I just show the camera which is also added to google home it will fill the whole screen.
What i’m creating is to just show the camera image when the frontdoor bell rings.