Closed Tokn59 closed 1 year ago
Hi @Tokn59 , glad to hear it's been working well and unfortunately I have seen a similar error occur sometimes. Which version are you running? Could you try updating to the latest? Could you also post the full log of what happens after you see that error? It should just keep trying to cast indefinitely unless there's an actual exception causing the integration to crash.
I have recently added exception handling for when a display doesn't respond (or there's some odd network hiccup) for it to retry X number of times before looping back to the start to try casting again. Sometimes my displays just stop responding and only a home assistant restart fixes things but that is very rare.
Hi,
Dashcast was just updated to version 1.1.4 (Latest) and ha-catt-fix is version 0.3
I will check now with the latest version if the error still occurs and let you know.
Ok, after updating to the latest versions it seems to be ok. I asked for the weather and other stupid hings a few times and the Nest Hub seem to return to the casted dashboard afterwards. :smile:
This weekend I will also install it at my GF's house and let you kn ow how that goes.
Great! Glad to hear it's working again. If anything starts acting off and I can't resolve it I just do a home assistant restart.
I've also setup an automation to "stop" any of the Chromecast devices on a restart of home assistant incase any of the displays have any lingering outdated dashboards (live CCTV sometimes doesn't return unless I stop and recast after a restart).
Let me know how it goes over the weekend, if there are no further issues I'll close this issue 😁
Hi, as promised also installed the integration on my GF's HA. Works perfectly so far, no interruptions and when interrupted by a "Hey Google" command it returns to the dashboard nicely !
Just wondering how you got your dashboard filled full screen ? Mine is only partial ...
That's great to hear! Are you using kiosk-mode? Make sure you have updated to the latest version too. Then you should be able to use ?kisok
at the end of your dashboard URL like mine:
"http://192.168.12.104:8123/living-room-dashboard/default_view?kiosk"
Here is my full dashboard yaml too which spans the full nest hub display:
title: Home
views:
- theme: dark-mode
path: default_view
title: Home
icon: mdi:home
type: custom:grid-layout
layout:
grid-template-columns: 1fr 1fr 1fr
grid-template-rows: auto
grid-template-areas: |
"sidebar main main"
mediaquery:
'(max-width: 600px)':
grid-template-columns: 100%
grid-template-areas: |
"sidebar"
"main"
badges: []
cards:
- type: vertical-stack
cards:
- type: horizontal-stack
layout:
margin: 0
gap: 0
grid-template-columns: 1fr 1fr
mediaquery:
'(max-width: 600px)':
grid-template-columns: 100%
cards:
- type: custom:mini-graph-card
icon: mdi:grid
card_mod:
style: |
ha-card { padding: 0 !important; }
entities:
- entity: sensor.solis_grid_active_power_negative
name: Grid Power
color_thresholds:
- value: 0
color: '#43a047'
- value: 750
color: '#ffa600'
- value: 1250
color: '#db4437'
- value: 2000
color: '#ff0000'
font_size_header: 16
- type: custom:mini-graph-card
icon: mdi:solar-power
card_mod:
style: |
ha-card { padding: 0 !important; }
entities:
- entity: sensor.dc_output_power
name: Solar Power
color_thresholds:
- value: 0
color: '#ffa600'
font_size_header: 16
- type: custom:mini-graph-card
icon: mdi:battery
card_mod:
style: |
ha-card { padding: 0 !important; }
entities:
- entity: sensor.battery_power
name: Battery Power
font_size_header: 16
color_thresholds:
- value: 0
color: '#43a047'
- type: horizontal-stack
cards:
- type: custom:frigate-card
cameras:
- camera_entity: camera.192_168_12_201
live_provider: ha
dimensions:
aspect_ratio: '4:3'
aspect_ratio_mode: static
live:
preload: true
layout:
fit: fill
menu:
buttons:
frigate:
enabled: false
- type: horizontal-stack
cards:
- type: custom:mini-graph-card
entities:
- entity: sensor.active_load_power
name: House Load
show_state: true
state_adaptive_color: true
show_fill: false
show_graph: false
show_legend: true
- entity: sensor.solis_grid_active_power_negative
name: Grid Power
show_state: true
show_legend: true
state_adaptive_color: true
show_fill: false
color: '#ff0000'
- entity: sensor.dc_output_power
name: Solar Power
show_state: true
show_legend: true
state_adaptive_color: true
show_fill: false
color: '#ffa600'
- entity: sensor.battery_power
name: Batter Power
show_state: true
show_legend: true
state_adaptive_color: true
show_fill: false
color: '#43a047'
show_legend: true
font_size_header: 20
hours_to_show: 12
points_per_hour: 12
line_width: 2
hour24: true
height: 170
view_layout:
grid-area: main
- type: vertical-stack
cards:
- type: custom:clock-weather-card
entity: weather.forecast_home
sun_entity: sun.sun
weather_icon_type: line
animated_icon: true
forecast_days: 4
locale: en-UK
time_format: 24
hide_today_section: false
hide_forecast_section: false
hide_clock: false
hide_date: false
card_mod:
style: |
.card-content {
padding: 0 8px !important;
}
clock-weather-card-today-right-wrap-top {
font-size: 25px;
}
clock-weather-card-today-right-wrap-bottom {
font-size: 19px;
}
- type: custom:hourly-weather
entity: weather.pirateweather
icons: true
name: ' '
num_segments: '12'
label_spacing: '2'
- initial_view: listWeek
type: calendar
entities:
- calendar.sam_em_s_calendar
- calendar.everton
- calendar.work_calendar
card_mod:
style:
ha-full-calendar:
$: |
.header {
flex-direction: row !important;
align-items: center !important;
flex-wrap: nowrap !important;
}
.header h1 {
font-size: 16px;
margin: 0;
word-wrap: nowrap;
}
#calendar {
min-height: 241px !important;
min-width: 435px !important;
font-size: 16px;
}
.controls div:last-child {
display: flex;
flex-direction: row;
flext-wrap: nowrap;
}
.today {
margin-right: 0 !important;
margin-inline-end: 0 !important;
}
view_layout:
grid-area: sidebar
Great thanks !!! Will test this when I'm home again next week !
Unfortunately both the setups at my GF's home and mine often stop being continuous again (no changes done). I have checked the logfiles :
2023-04-17 16:57:26.081 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration dash_cast which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
So nothing specific as far as I can see ... How is yours holding ?
Hey @Tokn59, mine has been solid for a full week now with no interruptions. That's a shame that yours stops casting. Could you enable debug logging by changing the logging to "debug" in the config, and next time it stops casting could you post your full log?
The warning you are seeing is completely normal for any custom integration, don't worry about that 😄
Ok done, will keep you posted !
Where can I find the dash_cast log ? Or is it part of the general CORE logs ? Also, I switched debug logging on via the integration but it seems to have itself switched off after a while ?
Hey, it won't be inside the dash cast log. You will just need to enable logging inside the configuration.yaml for continuously_casting_dashboards.
Ensure this is set to debug. Then the logs will be inside the general logs for home assistant (or inside the homeassistant.log file)
You could also try changing the cast_delay for the integration? Try changing this to 60 or 90 seconds if you are still seeing issues 👍
Ok, done, will keep you posted
Yes ! The log is working ... will monitor it !
2023-04-18 09:46:29.724 INFO (MainThread) [custom_components.ha-continuous-casting-dashboard.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 09:47:19.416 INFO (MainThread) [custom_components.ha-continuous-casting-dashboard.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 09:48:12.780 INFO (MainThread) [custom_components.ha-continuous-casting-dashboard.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 09:49:00.481 INFO (MainThread) [custom_components.ha-continuous-casting-dashboard.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 09:49:48.246 INFO (MainThread) [custom_components.ha-continuous-casting-dashboard.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display...
Ok, after a while indeed continous casting stopped casting. It is now 10:51 and last log entries :
2023-04-18 09:46:29.724 INFO (MainThread) [custom_components.ha-continuous-casting-dashboard.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 09:47:19.416 INFO (MainThread) [custom_components.ha-continuous-casting-dashboard.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 09:48:12.780 INFO (MainThread) [custom_components.ha-continuous-casting-dashboard.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 09:49:00.481 INFO (MainThread) [custom_components.ha-continuous-casting-dashboard.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 09:49:48.246 INFO (MainThread) [custom_components.ha-continuous-casting-dashboard.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 09:50:35.924 INFO (MainThread) [custom_components.ha-continuous-casting-dashboard.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 09:51:24.092 INFO (MainThread) [custom_components.ha-continuous-casting-dashboard.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display...
So no more entries after 09:51 which is an hour ago and also no more casting after asking Google Nest Hub a question, does not return to dash anymore.
Ok, can you update to the latest version of this integration? It looks like you are using the older version as I changed the name of the integration from "ha-continuous-casting-dashboard" to "continuously_casting_dashboards" inside the logs. Also, I added further debug logging to log the actual status of the device. For example, here is what my logs look like:
2023-04-18 09:59:00.626 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Kitchen display...
2023-04-18 09:59:26.395 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Basement display when checking for dashboard state 'Dummy': Title: Dummy 09:56:56 GMT+0100 (British Summer Time)
Volume: 50
2023-04-18 09:59:27.138 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Basement display when checking for dashboard state 'Dummy': Title: Dummy 09:56:56 GMT+0100 (British Summer Time)
Volume: 50
2023-04-18 09:59:27.138 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Basement display...
2023-04-18 09:59:52.901 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Emilys Office display when checking for dashboard state 'Dummy': Title: Dummy 09:55:34 GMT+0100 (British Summer Time)
Volume: 50
2023-04-18 09:59:53.695 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Emilys Office display when checking for dashboard state 'Dummy': Title: Dummy 09:55:34 GMT+0100 (British Summer Time)
Volume: 50
2023-04-18 09:59:53.695 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Emilys Office display...
2023-04-18 10:00:19.697 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Living Room display when checking for dashboard state 'Dummy': Title: Dummy 09:58:00 GMT+0100 (British Summer Time)
Volume: 50
2023-04-18 10:00:20.462 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Living Room display when checking for dashboard state 'Dummy': Title: Dummy 09:58:00 GMT+0100 (British Summer Time)
Volume: 50
2023-04-18 10:00:20.462 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Living Room display...
There was also lots of other stability improvements included in the updated version 😄
Hmmm ... I do not see a request nor an option to update ? Not in HACS and also not in Integrations ?
Try restarting your home assistant instance? Settings -> Three Dots in the corner -> Restart Home Assistant.
Then go to HACS, and you should see an update for the integration. The latest version is 1.1.4
You will need to update your configuration.yaml file too for the name change.
Replace "ha-continuously-casting-dashboards" with "continuously_casting_dashboards" as shown below:
continuously_casting_dashboards:
logging_level: warning #Required: Set the logging level - debug/info/warning (default is 'warning' - try 'debug' for debugging)
cast_delay: 45 #Required: Time (in seconds) for casting checks between devices
start_time: "06:30" #Required: Start time of the casting window (format: "HH:MM")
end_time: "02:00" #Required: End time of the casting window (format: "HH:MM") and must be after "00:00"
devices:
"<Display_Name": #Required: Display name of your device. Find this on the actual device's settings or inside the Google Home app.
dashboard_url: "<Dashboard_URL>" #Required: Dashboard URL to be casted
"<Display_Name":
dashboard_url: "<Dashboard_URL>"
Just REBOOTED the full VM ... no updates available in HACS or any other ...
Which version does it show when you go to HACS -> Integrations -> Continuously casting dashboards ?
Can you also post your config for this integration?
I see no version :
My config :
That's for DashCast. That's a seperate integration to mine, you should also find a "Continuously casting dashboard" in your integrations list. Click into it and there should be a version number towards the top.
I can confirm you are using an older version from looking at your config, so that is probably why you are having the issues you are seeing.
If you don't see any updates, can you uninstall the "Continuously casting dashboard" from the integrations list and re-install the integration? Follow the steps here and be sure to use the updated new config.
Sorry .. was looking at the wrong integration !!!! This is what I have :
🤔 You may have two versions installed somehow.. (ha-continuous-casting-dashboards & continuously_casting_dashboards)
Can you remove the existing setup you have inside your configuration.yaml and replace it with the following:
continuously_casting_dashboards:
logging_level: warning #Required: Set the logging level - debug/info/warning (default is 'warning' - try 'debug' for debugging)
cast_delay: 45 #Required: Time (in seconds) for casting checks between devices
start_time: "06:30" #Required: Start time of the casting window (format: "HH:MM")
end_time: "02:00" #Required: End time of the casting window (format: "HH:MM") and must be after "00:00"
devices:
"<Display_Name": #Required: Display name of your device. Find this on the actual device's settings or inside the Google Home app.
dashboard_url: "<Dashboard_URL>" #Required: Dashboard URL to be casted
"<Display_Name":
dashboard_url: "<Dashboard_URL>"
And update the Display Name and Dashboard URL here to yours. Then restart home assistant 👍
Done !
2023-04-18 11:50:58.567 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] state_triggers_map: {} 2023-04-18 11:50:58.567 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] monitored_entities: set() 2023-04-18 11:51:12.070 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is NOT playing on Kitchen Display"! 2023-04-18 11:51:12.070 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Casting dashboard to Kitchen Display" 2023-04-18 11:51:12.072 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Executing stop command... 2023-04-18 11:51:22.795 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Setting volume to 0... 2023-04-18 11:51:29.512 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Executing the dashboard cast command... 2023-04-18 11:51:35.796 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Setting volume back to 5...
Great! That should resolve your issues. See how it behaves today and get back to me 👍
Will do tonight. Thank you !!!!!
Hi, with the new configuration nothing gets cast to the hub. I can also see this in the log file:
Config:
2023-04-18 13:30:58.227 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Executing stop command... 2023-04-18 13:31:04.731 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Setting volume to 0... 2023-04-18 13:31:11.088 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Executing the dashboard cast command... 2023-04-18 13:31:17.835 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Setting volume back to 5... 2023-04-18 13:32:37.144 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is NOT playing on Kitchen Display"! 2023-04-18 13:32:37.145 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Casting dashboard to Kitchen Display" 2023-04-18 13:32:37.150 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Executing stop command... 2023-04-18 13:32:43.425 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Setting volume to 0... 2023-04-18 13:32:49.593 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Executing the dashboard cast command... 2023-04-18 13:32:55.563 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Setting volume back to 5... 2023-04-18 13:34:14.012 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is NOT playing on Kitchen Display"! 2023-04-18 13:34:14.013 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Casting dashboard to Kitchen Display" 2023-04-18 13:34:14.014 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Executing stop command... 2023-04-18 13:34:20.256 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Setting volume to 0... 2023-04-18 13:34:26.682 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Executing the dashboard cast command... 2023-04-18 13:34:32.906 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Setting volume back to 5... 2023-04-18 13:35:51.676 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is NOT playing on Kitchen Display"! 2023-04-18 13:35:51.677 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Casting dashboard to Kitchen Display" 2023-04-18 13:35:51.679 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Executing stop command... 2023-04-18 13:35:57.864 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Setting volume to 0... 2023-04-18 13:36:04.247 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Executing the dashboard cast command... 2023-04-18 13:36:10.415 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Setting volume back to 5...
Your URL looks incorrect. Try removing the '=' at the end 👍
You are also missing a " at the start of your display name. It should be wrapped in parentheses.
"Kitchen display"
Oh my ... so stupid ... had no error in the editor nor during check yaml and simply did not see this (must have gone missing with cut/paste) .. SORRY !!!!
No problem! 😁 Is it casting now?
YES !!!! Will monitor in the next days !
Good stuff! Okay great, I'll close the issue but let me know here how it goes 👍
Unfortunately casting stops after a while. These are the log entries (debug mode). Hopefully you can see some cause ?
2023-04-18 18:48:30.453 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] state_triggers_map: {} 2023-04-18 18:48:30.453 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] monitored_entities: set() 2023-04-18 18:48:34.144 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Volume: 0 2023-04-18 18:48:36.798 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Volume: 0 2023-04-18 18:48:36.798 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is NOT playing on Kitchen Display! 2023-04-18 18:48:36.798 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Casting dashboard to Kitchen Display 2023-04-18 18:48:36.885 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Executing stop command... 2023-04-18 18:48:39.908 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Setting volume to 0... 2023-04-18 18:48:42.724 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Executing the dashboard cast command... 2023-04-18 18:48:46.743 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Setting volume back to 5... 2023-04-18 18:49:51.195 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:49:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 18:49:53.799 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:49:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 18:49:53.799 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 18:50:56.457 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:49:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 18:50:58.786 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:49:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 18:50:58.787 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 18:52:01.483 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:49:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 18:52:04.015 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:49:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 18:52:04.016 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 18:53:06.951 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:49:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 18:53:09.528 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:49:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 18:53:09.528 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 18:54:12.146 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:49:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 18:54:14.563 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:49:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 18:54:14.563 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 18:55:17.454 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:49:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 18:55:20.198 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:49:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 18:55:20.198 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 18:56:22.887 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:49:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 18:56:25.472 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:49:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 18:56:25.472 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 18:57:27.855 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:49:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 18:57:30.684 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:49:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 18:57:30.684 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 18:58:33.314 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:58:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 18:58:36.091 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:58:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 18:58:36.095 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 18:59:38.920 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:58:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 18:59:41.526 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:58:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 18:59:41.526 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 19:00:44.064 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:58:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 19:00:46.534 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:58:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 19:00:46.535 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 19:01:49.151 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:58:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 19:01:51.743 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:58:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 19:01:51.743 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 19:02:54.152 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:58:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 19:02:56.645 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:58:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 19:02:56.645 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 19:03:59.030 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:58:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 19:04:00.924 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:58:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 19:04:00.924 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 19:05:03.037 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:58:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 19:05:05.814 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:58:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 19:05:05.814 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 19:06:08.347 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:58:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 19:06:11.103 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 18:58:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 19:06:11.103 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 19:07:13.514 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 19:07:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 19:07:15.990 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 19:07:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 19:07:15.990 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 19:08:18.479 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 19:07:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 19:08:21.213 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 19:07:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 19:08:21.213 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 19:09:23.642 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 19:07:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 19:09:25.897 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 19:07:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 19:09:25.897 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 19:10:28.292 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 19:07:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 19:10:30.821 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 19:07:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 19:10:30.821 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 19:11:33.267 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 19:07:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 19:11:35.920 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 19:07:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 19:11:35.920 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-18 19:12:38.558 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 19:07:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 19:12:40.971 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 19:07:02 GMT+0200 (Central European Summer Time) Volume: 50 2023-04-18 19:12:40.971 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display...
Is that the end of the logs? Or do they just continue with the same output?
It continuous like this without showing the dashboard on the nest hub .... btw ... not urgent, I'm already taking up too much of your time !
Very strange. Can you try upping the cast_delay to 60 seconds, and also give the system you are running Home Assistant on a full reboot? (not a restart).
It's frustrating to hear as mine is so reliable for 5 different displays 😄
Cast delay was already set to 60 as per your previous recommendation. I will do a full shutdown of the HA VM (running on Proxmox) and start again.
Hi, still no luck. I have upgraded HA OS to version 10 and all add-ons and integrations are up-to-date. I do notice something weird in the log file regarding dash-cast. My timezone is Brussels (GMT+1) and in the log files it is shown as GMT+2 ???
Also, we are now April 21 7:56 AM and there are no log entries.
2023-04-20 21:31:47.908 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-20 21:32:51.461 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 21:26:01 GMT+0200 (Central European Summer Time) Volume: 0 2023-04-20 21:32:55.436 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 21:26:01 GMT+0200 (Central European Summer Time) Volume: 0 2023-04-20 21:32:55.436 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-20 21:33:58.988 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 21:26:01 GMT+0200 (Central European Summer Time) Volume: 0 2023-04-20 21:34:01.979 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 21:26:01 GMT+0200 (Central European Summer Time) Volume: 0 2023-04-20 21:34:01.980 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display...
PS: Also updated the installation at my GF's home .. will monitor that one as well ....
The timezone is not a problem, Brussels is currently on Central European Summer Time which is GMT+2 for the summer.
You could check to see that any of the old files from the integration before it was renamed are removed from within: custom_components. Make sure you don't have the old 'ha-continuous-casting-dashboard' folder in here. If you do, delete all the files from within.
You could then try uninstalling the integration, and re-installing. Performing a full restart before/after deleting the config too.
Could you post your current config again just to make sure nothing is wrong? thanks!
Thanks ! Maybe some unnecessary extra steps but ....
Dashboard started working omn Nest Hub .... WIll keep you posted !
Hi, have been monitoring the installation at my GF's place and at mine for the last couple of days. Unfortunately both of them fail after a while. Hard to say when exactly. The log files give no clue to whats wrong as far as I can see. Restarting HA solves the issue for a while. Anything more I can check ?
Hey, that's a shame. Sorry about that. You could try setting up some automations to automatically restart your home asssitant instance every 12/24 hours? And also to stop casting any dashboards when your home assistant is booting up. I'll attach my automation that automatically stops any content on all of my devices when I restart home assistant. (It says 'turn off' but in reality this only stops the casting)
Here is a link to show you how to set up an automatic restart of Home Assistant too:
https://www.youtube.com/watch?v=OPTS8ZTeMp8&t=2s
This way, every 12/24 hours Home Assistant and hopefully this fixes your issues. I'm at over 2 weeks of full stability now so it's a shame that you are seeing these problems.
Hi; thank you for the suggested workaround. I will; surely try this on one of the 2 installations to see if that makes a difference. I also still want to continue to find the cause. There must be something that interferes that does not in your installation. One thing I do notice is that the log files are lagging behind in "registrations" or stop registering entries. It is now April 27 )8:05 AM and the log files show only until April 26 whilst the continuous-casting just stopped working when I asked something at Nest hub. So the fact that it does not stop casting sand why somehow is not registered in the log file.
2023-04-26 21:37:41.363 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 21:34:54 GMT+0200 (Central European Summer Time) Volume: 0 2023-04-26 21:37:41.363 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is playing on Kitchen Display... 2023-04-26 21:38:47.855 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Kitchen Display when checking for dashboard state 'Dummy': Title: Dummy 21:34:54 GMT+0200 (Central European Summer Time) Volume: 0
Hi, Great work ! Managed to get everything working but after a few days it seems that continuous casting is not continuous anymore. When interrupted (using Google Nest Hub) by something like asking a question, then casting does not seem to resume.
I did install also the Dashcast and the ha-catt-fix integrations.
Any clue what's wrong ? Where should I look ? Logfile does show:
023-04-06 09:13:32.303 ERROR (MainThread) [custom_components.ha-continuous-casting-dashboard.dashboard_caster] Timeout casting dashboard to Kitchen Display:
My network and Wifi are just fine and very performant.
Is there a way to "force" casting every x minutes for example by using an automation ?
Thanks ! Tony
When I try via Developer Tools :
I get an error : Failed to call service dash.cast.load_url: unknown error