b0mbays / continuously_casting_dashboards

HACS Integration for continuously casting a Home Assistant dashboard to your Google Chromecast Displays
MIT License
183 stars 9 forks source link

Continuous Casting stopped casting again #20

Closed Tokn59 closed 1 year ago

Tokn59 commented 1 year ago

Unfortunately CC stopped working again.

System info :

Home Assistant 2023.5.3 Supervisor 2023.04.1 Operating System 10.1 Frontend 20230503.3 - latest

Log:

2023-05-18 20:01:41.675 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] state_triggers_map: {} 2023-05-18 20:01:41.675 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] monitored_entities: set() 2023-05-18 20:01:49.536 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Current local time: 20:01:49.536185 2023-05-18 20:01:49.536 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Local time is inside the allowed casting time for Kitchen Display. Start time: 00:01:00 - End time: 23:59:00 2023-05-18 20:02:27.215 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is NOT playing on Kitchen Display! 2023-05-18 20:02:27.215 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Casting dashboard to Kitchen Display 2023-05-18 20:02:27.322 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Executing stop command... 2023-05-18 20:02:45.210 WARNING (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Failed to extract volume information from status_output for Kitchen Display. Using default volume 5. 2023-05-18 20:02:45.237 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Setting volume to 0... 2023-05-18 20:02:51.111 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Executing the dashboard cast command... 2023-05-18 20:02:57.017 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Setting volume to 5... 2023-05-18 20:04:02.983 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Current local time: 20:04:02.983734 2023-05-18 20:04:02.984 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Local time is inside the allowed casting time for Kitchen Display. Start time: 00:01:00 - End time: 23:59:00 2023-05-18 20:04:14.336 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is NOT playing on Kitchen Display! 2023-05-18 20:04:14.336 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Casting dashboard to Kitchen Display 2023-05-18 20:04:14.339 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Executing stop command... 2023-05-18 20:04:25.670 WARNING (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Failed to extract volume information from status_output for Kitchen Display. Using default volume 5. 2023-05-18 20:04:25.673 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Setting volume to 0... 2023-05-18 20:04:31.347 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Executing the dashboard cast command... 2023-05-18 20:04:37.037 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Setting volume to 5... 2023-05-18 20:05:42.699 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Current local time: 20:05:42.698952 2023-05-18 20:05:42.699 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Local time is inside the allowed casting time for Kitchen Display. Start time: 00:01:00 - End time: 23:59:00 2023-05-18 20:05:54.058 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is NOT playing on Kitchen Display! 2023-05-18 20:05:54.058 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Casting dashboard to Kitchen Display 2023-05-18 20:05:54.060 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Executing stop command... 2023-05-18 20:06:05.401 WARNING (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Failed to extract volume information from status_output for Kitchen Display. Using default volume 5. 2023-05-18 20:06:05.403 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Setting volume to 0... 2023-05-18 20:06:11.081 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Executing the dashboard cast command... 2023-05-18 20:06:16.751 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Setting volume to 5... 2023-05-18 20:07:22.440 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Current local time: 20:07:22.440814 2023-05-18 20:07:22.441 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Local time is inside the allowed casting time for Kitchen Display. Start time: 00:01:00 - End time: 23:59:00 2023-05-18 20:07:33.824 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is NOT playing on Kitchen Display! 2023-05-18 20:07:33.824 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Casting dashboard to Kitchen Display 2023-05-18 20:07:33.827 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Executing stop command... 2023-05-18 20:07:45.267 WARNING (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Failed to extract volume information from status_output for Kitchen Display. Using default volume 5. 2023-05-18 20:07:45.270 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Setting volume to 0... 2023-05-18 20:07:50.943 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Executing the dashboard cast command... 2023-05-18 20:07:56.605 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Setting volume to 5...

b0mbays commented 1 year ago

Hey, I would recommend just restarting home assistant when this happens. It shouldn't happen often though 👍 There's nothing I can see from the logs pointing to anything in the code that's breaking things unfortunately. Probably just a blip!

Tokn59 commented 1 year ago

Sorry to en but restarting, re-booting HA does not help. I include my current config entries:

-----------------------------------------------------------------------------------------------------

continuously_casting_dashboards: logging_level: debug #Required: Set the logging level - debug/info/warning (default is 'warning' - try 'debug' for debugging) cast_delay: 60 #Required: Time (in seconds) for casting checks between devices start_time: "00:01" #Required: Start time of the casting window (format: "HH:MM") end_time: "23:59" #Required: End time of the casting window (format: "HH:MM") and must be after "00:00" devices: "Kitchen Display": dashboard_url: "http://192.168.1.15:8443/dashboard-nesthub/default_view?kiosk="

-----------------------------------------------------------------------------------------------------

homeassistant: external_url: https://xxxxxxxxxxx.com

auth_mfa_modules:

- type: totp

customize: !include customize.yaml allowlist_external_dirs:

b0mbays commented 1 year ago

Your URL might be casuing issues, can you remove the '='?

Change this:

dashboard_url: "http://192.168.1.15:8443/dashboard-nesthub/default_view?kiosk="

To:

dashboard_url: "http://192.168.1.15:8443/dashboard-nesthub/default_view?kiosk"

Tokn59 commented 1 year ago

Hi, thanks for the suggestion ! Since the latest update of HA of today the system is miraculously working again ! I will test with both versions of the URL and let you know !