DHI-NVR4108H http no snapshot, no device info

iJuliusz

n3wb
Jul 18, 2022
2
0
Poland
Hi everyone

My issue is that I can't get some info from DHI-NVR4108H (remote by http)
Before firmware update, name shows NVR41XX

Now is
System Version 3.203.0000.0
Network 3.1.0.66469
Onvif Client 2.4.1

I need to get NVR HDD actual size/capacity and snapshots from cameras (not directly from cameras by http IP, but from NVR)
4 cameras are connected with Onvif option in this case

I have the same problem on few other NVRs (no disk info and no snapshot by http)
DHI-NVR4104
NVR41XX
DHI-NVR2104-S2
where is no firmware update at all

I have tried to use http API command to get Disk Info, but with no result
Code:
http://user:pass@NVR-IP/cgi-bin/storageDevice.cgi?action=getDeviceAllInfo


The same with snapshot, no result, white screen or bad request
Code:
http://user:pass@NVR-IP/cgi-bin/snapshot.cgi
http://user:pass@NVR-IP/cgi-bin/snapshot.cgi?channel=0
http://user:pass@NVR-IP/cgi-bin/snapshot.cgi?0

Any advices?
Which API commands should I use?
Something with magicBox.cgi maybe?
Regards
Juliusz
 
I have to have some informations about NVR possibilities as PDF, where snapshots are included

When I click Report on my webpage, then PDF is generated
Special function on webpage can "grab" - by link in loop - all snapshots from NVR cameras and add them to PDF
http://user:pass@IP/cgi-bin/snapshot.cgi?channel=1

I have a solution for those devices, where http snapshot function won't work

To get that, I set Sub-Stream as MJPEG with minimum VGA resolution and 512b bitrate
Then Report button can "grab" first frame as picture and add to PDF as snapshot from connected camera
http://user:pass@IP/cgi-bin/mjpg/video.cgi?channel=1&subtype=1

It works ! :thumb:

I still need command to get HDD actual size.
Any help?

Regards
Juliusz