Remote site: Hass.io 93.1 RasPi3B - 3 physical cameras, logger defaulting to warn.
- old Dahua IPC bullet - POE
- new Amcrest IP2M-851 - wifi
- new Amcrest IP2M-842 - wifi
I have two separate camera tabs - one high resolution (HD) for local access, and the other low resolution (SD)for remote access. This is because the uplink speed at the remote site is pretty bad. I recall a conversation where this might cause issues later on, but unless there’s a new way to dynamically select resolution, I hope to stick with it until it breaks.
I rarely see comm errors on the Dahua POE camera, and as you can see from the logs, they are only appearing for the wifi-attached Amcrest cameras. The wifi signal strength was fine the last time I measured it and may not have anything to do with the comm errors.
I was using small Lovelace “badges” to represent each camera, thinking that would be quicker. But actually it was not. The badges slowly painted line by line from top to bottom, or not at all. It was the badges that didn’t paint at all that showed up in the logs as comm errors.
By switching to “picture entity” cards, the first time the page was accessed, invariably one or more cards failed to display (comm errors), but refreshing the screen, they would appear and be cached for quick re-display the next time this page was accessed.
I haven’t played around yet with the new error options, but will do so now. I do see though that I need to add back to my logging to disable all these urrlib3 warnings. (I thought that was going to be done in this new code).
In case you’re interested, here’s the log for the past hour or so…
2019-05-18 15:06:05 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for amcrest which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-05-18 15:06:05 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for custom_updater which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-05-18 15:06:09 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for life360 which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-05-18 15:06:22 WARNING (MainThread) [homeassistant.components.camera] Setup of platform amcrest is taking over 10 seconds.
2019-05-18 15:20:22 WARNING (SyncWorker_7) [urllib3.connectionpool] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /cgi-bin/snapshot.cgi?channel=1
2019-05-18 15:20:22 WARNING (SyncWorker_3) [urllib3.connectionpool] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /cgi-bin/snapshot.cgi?channel=0
2019-05-18 15:20:22 ERROR (MainThread) [custom_components.amcrest.camera] Could not get image LakeCam SD camera due to error: CommError
2019-05-18 15:20:22 ERROR (MainThread) [custom_components.amcrest.camera] Could not get image DriveCam HD camera due to error: CommError
2019-05-18 15:21:15 WARNING (SyncWorker_10) [urllib3.connectionpool] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /cgi-bin/snapshot.cgi?channel=0
2019-05-18 15:21:15 WARNING (SyncWorker_2) [urllib3.connectionpool] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /cgi-bin/snapshot.cgi?channel=0
2019-05-18 15:21:15 ERROR (MainThread) [custom_components.amcrest.camera] Could not get image DriveCam HD camera due to error: CommError
2019-05-18 15:21:15 ERROR (MainThread) [custom_components.amcrest.camera] Could not get image LakeCam HD camera due to error: CommError
2019-05-18 15:25:29 WARNING (SyncWorker_2) [urllib3.connectionpool] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /cgi-bin/snapshot.cgi?channel=0
2019-05-18 15:25:29 ERROR (MainThread) [custom_components.amcrest.camera] Could not get image LakeCam HD camera due to error: CommError
2019-05-18 15:25:30 WARNING (SyncWorker_9) [urllib3.connectionpool] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /cgi-bin/snapshot.cgi?channel=0
2019-05-18 15:25:30 ERROR (MainThread) [custom_components.amcrest.camera] Could not get image DriveCam HD camera due to error: CommError
2019-05-18 15:26:16 WARNING (SyncWorker_14) [urllib3.connectionpool] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /cgi-bin/snapshot.cgi?channel=1
2019-05-18 15:26:16 WARNING (SyncWorker_8) [urllib3.connectionpool] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /cgi-bin/snapshot.cgi?channel=0
2019-05-18 15:26:16 ERROR (MainThread) [custom_components.amcrest.camera] Could not get image DriveCam SD camera due to error: CommError
2019-05-18 15:26:16 ERROR (MainThread) [custom_components.amcrest.camera] Could not get image LakeCam HD camera due to error: CommError
2019-05-18 15:31:17 WARNING (SyncWorker_17) [urllib3.connectionpool] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /cgi-bin/snapshot.cgi?channel=0
2019-05-18 15:31:17 WARNING (SyncWorker_11) [urllib3.connectionpool] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /cgi-bin/snapshot.cgi?channel=0
2019-05-18 15:31:17 ERROR (MainThread) [custom_components.amcrest.camera] Could not get image LakeCam HD camera due to error: CommError
2019-05-18 15:31:17 ERROR (MainThread) [custom_components.amcrest.camera] Could not get image DriveCam HD camera due to error: CommError
2019-05-18 15:32:55 WARNING (SyncWorker_4) [urllib3.connectionpool] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /cgi-bin/snapshot.cgi?channel=0
2019-05-18 15:32:55 WARNING (SyncWorker_11) [urllib3.connectionpool] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /cgi-bin/snapshot.cgi?channel=0
2019-05-18 15:32:55 ERROR (MainThread) [custom_components.amcrest.camera] Could not get image DriveCam HD camera due to error: CommError
2019-05-18 15:32:55 ERROR (MainThread) [custom_components.amcrest.camera] Could not get image LakeCam HD camera due to error: CommError
2019-05-18 15:46:24 WARNING (SyncWorker_5) [urllib3.connectionpool] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /cgi-bin/snapshot.cgi?channel=0
2019-05-18 15:46:24 ERROR (MainThread) [custom_components.amcrest.camera] Could not get image LakeCam HD camera due to error: CommError