dahua icon indicating copy to clipboard operation
dahua copied to clipboard

Integration polling sensors that are not selected

Open mouldybread opened this issue 8 months ago • 0 comments

Recently I dealt with the same issue described in #354

As part of this I updated my NVR. This resulted in /cgi-bin/configManager.cgi?action=getConfig&name=SmartMotionDetect refusing to load, which is ugly but fine because I don't use it. However it means that the device fails to initialize:

2024-06-21 15:40:48.902 WARNING (MainThread) [custom_components.dahua] TimeoutError fetching information from http://****:80/cgi-bin/configManager.cgi?action=getConfig&name=SmartMotionDetect

2024-06-21 15:40:48.902 ERROR (MainThread) [custom_components.dahua] Failed to initialize device at ****

I did not select this sensor when I added the device, so the integration shouldn't be polling this url.

mouldybread avatar Jun 21 '24 15:06 mouldybread