Tools icon indicating copy to clipboard operation
Tools copied to clipboard

Dahua debug console support for DVRs

Open speidy opened this issue 4 years ago • 5 comments

Hi @mcw0,

Is the Dahua debug console supported on Dahua DVR/NVRs?

I couldn’t get it work there (tried both DVRIP and P2P)

Thanks

speidy avatar Mar 10 '20 09:03 speidy

Hi speidy, Unfortunately not working to my best knowledge, the console is there and can be initiated but fails during attach, have not figured (yet) why it fails.

mcw0 avatar Mar 10 '20 16:03 mcw0

I've just discovered your project (impressive!) I'm also experiencing this on this hybrid nvr+camera (in local subnet) product.

https://www.dahuasecurity.com/asset/upload/product/20180905/MSB-L200.pdf

I'm also a python programmer, I hope to find some time to help on this

arkanoid87 avatar Aug 12 '20 20:08 arkanoid87

for my NVR (+camera), using --dump config was failing on configManager.getConfig (empty answer) so I changed to configManager.getConfigEx (I saw it in service dump) and I got config successfully

arkanoid87 avatar Aug 12 '20 22:08 arkanoid87

for my NVR (+camera), using --dump config was failing on configManager.getConfig (empty answer) so I changed to configManager.getConfigEx (I saw it in service dump) and I got config successfully

Yeah, known issue with my NVR too, the recv() loop timing out before anything been received, ugly fix if to increase the timeout manually with 5 sec or more. Not had time to try work out nice solution for that...

mcw0 avatar Aug 13 '20 15:08 mcw0

Major rewrite coming up soon, tried to concentrate specially on NVR this time, still no success to attach to the console... looks like to me that the thread is locked and do not accept any attach.

However, instead of bailing out in the previous code, we will continue in the new code and start w/o attaching console. Nevertheless, it do exist some quite useful functions in NVR's, implemented some of them in the new code.

I think I'll commit the major rewrite in few weeks from now.

mcw0 avatar Jan 19 '21 23:01 mcw0