Open joelis10 opened 3 months ago
Hi, it should default to 5 (out of 10) if it fails to retrieve the current volume from the device. This should happen after setting it to 0 for the cast (to stop the casting noise). Is this not happening?
Could you post logs?
Thanks!
after some more experience with it, it seems like it's only sometimes it doesn't get the volume and instead mutes it. where would I find the logs for when I see it do it again? i've looked in HA > Settings > System > Logs but can't find anything related to the integration there other than HA complaining about it being a custom component and not being officially tested
That's strange. It shouldn't mute, it should just default to 5. To enable logging set 'logging_level' to 'debug' in the config like below:
continuously_casting_dashboards:
logging_level: debug #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 each device.
start_time: "07:00" #Optional: Global start time of the casting window (format: "HH:MM") - Default is set to "07:00" and can be individually overwritten per device below.
end_time: "01:00" #Optional: Global end time of the casting window (format: "HH:MM") and must be after "00:00". Default is set to "01:00" and can be individually overwritten per device below.
devices:
...
Then do a restart, and you'll see lots more logs from the integration 👍
yep, I see logs now but nothing indicating anything's gone wrong yet. I'll continue to monitor and try to reproduce it and if I can, I'll comment again with my logs.
Hello,
I've encountered the same issue although when when I hash out the volume line it defaults to level 1 volume.
I've not yet enacted Debug logging
Seems to be adding a negative figure for volume '-1'
2024-06-18 09:24:06.900 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] All device map: {'Google Nest Hub Max': {'instances': [{'dashboard_url': 'http://<REDACTED IP>:8123/givtcp-animated-dashboard/0?kiosk', 'dashboard_state_name': 'Dummy', 'media_state_name': 'PLAYING', 'volume': -1, 'start_time': datetime.time(7, 0), 'end_time': datetime.time(0, 0), 'instance_change': False, 'speaker_groups': None}], 'current_instance': 0}}
Current device map: {'Google Nest Hub Max': {'dashboard_url': 'http://<REDACTED IP>:8123/givtcp-animated-dashboard/0?kiosk', 'dashboard_state_name': 'Dummy', 'media_state_name': 'PLAYING', 'volume': -1, 'start_time': datetime.time(7, 0), 'end_time': datetime.time(0, 0), 'instance_change': False, 'speaker_groups': None}}
2024-06-18 10:12:43.860 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Google Nest Hub Max when checking for dashboard state 'Dummy': Title: Dummy 10:12:10 GMT+0100 (British Summer Time) Volume: 0 Volume muted: True
As the title says, I've removed the 'volume:' part from the config for my display but on each cast, it still sets the volume very low. Only way to combat this is by setting the volume in the config to a higher one but even then it's still annoying.