I have any Dahua camera and my config is:
amcrest:
Dahua IPC HDW5231
- host: 192.168.1.53
name: “Pool”
username: user
password: password
resolution: high
stream_source: rtsp
port: 80
binary_sensors:- motion_detected
- online
Thats working OK but I have errors and warnings.
Camera > Settings > AutoReboot > Every day 00:00
And when camera reboot hassio logs is:
Trying again due to error: ConnectionError(MaxRetryError(“HTTPConnectionPool(host=‘192.168.1.53’, port=80): Max retries exceeded with url: /cgi-bin/eventManager.cgi?action=attach&codes=%5BAll%5D (Caused by NewConnectionError(’<urllib3.connection.HTTPConnection object at ADDRESS>: Failed to establish a new connection: [Errno 111] Connection refused’))”))
Pool camera offline: Too many errors
- Error while processing events from Pool camera: CommError(ConnectionError(MaxRetryError(“HTTPConnectionPool(host=‘192.168.1.53’, port=80): Max retries exceeded with url: /cgi-bin/eventManager.cgi?action=attach&codes=%5BAll%5D (Caused by NewConnectionError(’<urllib3.connection.HTTPConnection object at 0x7f1c6b0344c0>: Failed to establish a new connection: [Errno 111] Connection refused’))”)))
I uderstand this normal errors and warnings…
But how can I switched off log this errors for reboot time and swith on after camera started?