rroller / dahua

Dahua Camera and Doorbell Home Assistant Integration
MIT License
404 stars 82 forks source link

DHI-TPC-BF1241 hybrid camera does not update the binary line crossing or region crossing sensor, nor does it receive events #385

Open jaaneo opened 2 months ago

jaaneo commented 2 months ago

Is your feature request related to an issue? I have a hybrid thermal camera model DHI-TPC-BF1241 (it has 2 channels, visual and thermal), I add them by channel, first channel 1 and then channel 2 with the same IP, but it turns out that when I check the binary sensors of the IVS line crossing and region, they do not update.

It should be noted that I have 10 Dahua cameras that work without problem, it is only with this camera that has 2 channels and I think that may be the problem.

Describe the alternatives you have considered I tried to add in other new and test home assistant instances and in none of them does it work, what I just tried now is to perform the integration by ONVIF and then it does show me both IVS.

Additional context When I want to listen to the events with dahua_event_received it also does not give me any data when activating the IVS line crossing or region crossing rules.

I tried this link in the documentation: http://192.168.0.91/cgi-bin/configManager.cgi?action=getConfig&name=VideoAnalyseRule and it returns the following..

https://pastebin.com/VPrhp0eq -> Response code

The names of my IVS rules appear in the code, so there are no problems on that side.

I hope you can help me!

jaaneo commented 1 month ago

@rroller any answers?