When checking the logs more thoroughly, I realized I had quite a few network related errors, such as Network unreachable
. I googled a bit and then found this forum post just now: Discovery: Network is unreachable (0.86 and up) and after running the suggested command, my spotcast sensor is being correctly updated. I take it my server is a bit overloaded on the network side, no?
(I do run quite a few Docker containers separately and they all create their own sub-networks, possibly bogging down the host network stack. I’ve had a few issues with this before.)
2019-05-20 08:16:22 DEBUG (SyncWorker_5) [custom_components.spotcast.sensor] updating
2019-05-20 08:16:30 DEBUG (SyncWorker_5) [custom_components.spotcast.sensor] Found chromecast devices: [Chromecast('192.168.1.66', port=8009, device=DeviceStatus(friendly_name='Vardagsrummet', model_name='Chromecast Audio', manufacturer='Google Inc.', uuid=UUID('602724f8-c569-62aa-354e-80f90faf46c4'), cast_type='audio')), Chromecast('192.168.1.66', port=42807, device=DeviceStatus(friendly_name='Hemgrupp', model_name='Google Cast Group', manufacturer='Google Inc.', uuid=UUID('793c0e22-0e2b-4608-8d97-36cfe438da78'), cast_type='group')), Chromecast('192.168.1.190', port=8009, device=DeviceStatus(friendly_name='TV', model_name='Chromecast', manufacturer='Google Inc.', uuid=UUID('6f693d76-a8f4-4c9f-065b-cb42c409c413'), cast_type='cast')), Chromecast('192.168.1.171', port=8009, device=DeviceStatus(friendly_name='Mini', model_name='Google Home Mini', manufacturer='Google Inc.', uuid=UUID('14d20608-1d87-eecb-6748-d3103bbca314'), cast_type='audio')), Chromecast('192.168.1.152', port=8009, device=DeviceStatus(friendly_name='Köksradion', model_name='Chromecast Audio', manufacturer='Google Inc.', uuid=UUID('2dba9482-fec8-4e35-11c5-8c5aed64367f'), cast_type='audio'))]