j-b-n / domoticz_reolink

Domoticz plugin for use with Reolink cameras.
GNU General Public License v3.0
2 stars 0 forks source link

many endless errors is show in domoticz log when camera is powered off #3

Closed dyter69 closed 7 months ago

dyter69 commented 7 months ago
2024-01-27 10:41:43.544 Error: Reolink Pergola: Camera update host_data/states failed: Client connector error during login of host 192.168.0.96:80: Host 192.168.0.96:80: connection error: Cannot connect to host 192.168.0.96:80 ssl:default [Connect call failed ('192.168.0.96', 80)]
2024-01-27 10:42:01.576 Error: Reolink Pergola: Camera update host_data/states failed: Client connector error during login of host 192.168.0.96:80: Host 192.168.0.96:80: connection error: Cannot connect to host 192.168.0.96:80 ssl:default [Connect call failed ('192.168.0.96', 80)]
2024-01-27 10:42:19.605 Error: Reolink Pergola: Camera update host_data/states failed: Client connector error during login of host 192.168.0.96:80: Host 192.168.0.96:80: connection error: Cannot connect to host 192.168.0.96:80 ssl:default [Connect call failed ('192.168.0.96', 80)]
2024-01-27 10:42:37.637 Error: Reolink Pergola: Camera update host_data/states failed: Client connector error during login of host 192.168.0.96:80: Host 192.168.0.96:80: connection error: Cannot connect to host 192.168.0.96:80 ssl:default [Connect call failed ('192.168.0.96', 80)]
2024-01-27 10:42:55.665 Error: Reolink Pergola: Camera update host_data/states failed: Client connector error during login of host 192.168.0.96:80: Host 192.168.0.96:80: connection error: Cannot connect to host 192.168.0.96:80 ssl:default [Connect call failed ('192.168.0.96', 80)]
2024-01-27 10:43:13.745 Error: Reolink Pergola: Camera update host_data/states failed: Client connector error during login of host 192.168.0.96:80: Host 192.168.0.96:80: connection error: Cannot connect to host 192.168.0.96:80 ssl:default [Connect call failed ('192.168.0.96', 80)]
...

Is it possible to limit this message ?

j-b-n commented 7 months ago

I have implemented a solution that increases the time between the reconnect attempts. I also made some changes to how the error messages are displayed.