First the Home Assistant cloud was just more information in case it mattered to the problem.
So, for anyone else having the same issues as mine. I had the lovelace theme on one tablet in the house set to dark mode, everything else was on light mode… in the end, I changed that to home assistant default and then tried the exact set up I had yesterday but this time it didn’t go to the black screen, it just went into the lovelace UI… Not sure why that would make a difference but thank you so much!
However, the Entryway display does not react as if it does not receive anything. It does not beep. It does not change what it is displaying. It does not flicker.
I hope someone can provide some assistance.
Solution:
In the configuration of the SSH & Web Terminal add-on, make sure that “share_sessions” is false.
Logger: pychromecast.socket_client
Source: /usr/local/lib/python3.7/site-packages/pychromecast/socket_client.py:405
First occurred: 6:21:04 PM (1 occurrences)
Last logged: 6:21:04 PM
[Entryway display(192.168.1.xxx):8009] Failed to connect to service Google-Nest-Hub-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx._googlecast._tcp.local., retrying in 5.0s
But I don’t think the log entry is related to the Developer Tools > Services call. It appears to be related to booting the Google Hub.
After booting the Google Hub, the catt call directly from the SSH & Web Terminal add-on succeeds. It fails from automations.yaml or Developer Tools > Services.
Anyone else having trouble using catt status on a google nest hub?
Casting my lovelace cards works great using my local IP, but I have no way to test if the cast is active.
When casting from catt is running i see all empty/unknown fields for catt status (see below).
When I use catt stop to end cast I get a nonzero return code (Error: Chromecast is inactive) from catt status
When casting stops due to hub timeout or if dismissed at the device the catt status still returns the empty/unknown results below.
When casting from Chrome, catt status returns PLAYING status, then returns the Error: Chromecast is inactive when cancelled.
Basically I can’t find a way to differentiate between the “actively casting” state and the “user dismissed”/“timeout” condition, since all three return the same status below.
ooop! I meant catt info not catt status.
But to answer your question, I only have the one cast device so I get the same results with and without the -d <device> option.
My display is not called “DashCast” that is the name of the program running (catt uses DashCast for cast_site).
For the record, catt status exhibits the same behavior described above but with fewer outputs.
When running catt cast_site or when dismissed/timeout:
Volume: 0
When nothing is running:
Error: Chromecast is inactive.
When playing youtube via catt cast or from chrome:
Sorry i am a bit confused now what the results are from your commands and what the issue is. For me the command “catt status” or “catt info” both return “Error: Chromecast is inactive.” I have no idea how you got that long output list.
For me this has worked perfectly:
if ! catt -d "Living Room display" status | grep 'PLAYING'; then
catt -d "Living Room display" volume 0
catt -d "Living Room display" cast_site http://192.168.178.87:8123/lovelace-test/0
fi
Which version of CATT are you using and do you add the -d in the command? I am using “catt v0.11.2, Yearning Yachtman”
Which version of CATT are you using and do you add the -d in the command?
Version: catt v0.11.2, Yearning Yachtman.
Again, the -d command doesn’t make a difference (as previously stated), and I’ve tested with and without pretty extensively.
I have no idea how you got that long output list.
Try running catt info while the stream is running to see the full output. You should only see “Error: Chromecast is inactive.” when the chromecast is inactive. Read the script you pasted, it will only prevent the call to cast_site if the status return code is 0 (non-error) and contains the string “PLAYING”.
Sorry i am a bit confused now what the results are from your commands and what the issue is
I listed the conditions and the outputs above, the issue is:
When running via catt cast_site the information returned from catt info and catt status does not show the device is “PLAYING”
When the Nest Hub automatically dismisses the cast session, or when the user dismisses it (by swipping it away) the information returned from catt status and catt info remain the same.
My question was: Has anyone seen this behavior on a Nest Hub before?
i tried playing and casting all kind of stuff now on my Hub
But in ALL cases “catt status” and “catt info” always return “Error: Chromecast is inactive.” So i dont think you should use CATT without the “-d [displayname]” part. I also just have 1 HUB running, but using CATT without “-d [displayname]” seems to default to a non existing chromecast.
Did find something new, if i use catt -d "Living Room display" status
i get a short description AND with
catt -d "Living Room display" info
indeed shows the long list