IPC-HDW5849H-ASE-LED Question api call for Illuminator

kmtweb

n3wb
Joined
Feb 16, 2023
Messages
17
Reaction score
18
Location
DFW
Hi All, I have been scouring the forum looking into the api call to control the "illuminator" on a IPC-Color4K-T 3.6mm(Dahua IPC-HDW5849H-ASE-LED). I have read through the api doc v2.76 and have tried the following syntax, but to no avail. Im using the correct channel and Config values and verified that when the calls are made, the output from the getConfig is changing the Mode attribute based on which call is made. Im aware from reading various other threads that the api calls differ amongst camera models. Can anyone possibly provide me with some direction? Thanks in advance.

ON:
http://<IPAddress>/cgi-bin/configManager.cgi?action=setConfig&Lighting[0][2].Mode=Auto

OFF:
http://<IPAddress>/cgi-bin/configManager.cgi?action=setConfig&Lighting[0][2].Mode=Off
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,376
Reaction score
49,424
Location
USA
The 4K/T is a new GUI and doesn't follow the standard API in the docs.

The closest I got is in this thread to call day or night after a lot of trial and error. Nobody here has yet to figure out how to control just the light.

So I hacked illuminator on by running 24/7 the day profile, and then when triggered by another camera, run the night API to turn the light on.

But keep in mind this camera is designed to either have the light on all night or off, not as a motion sensor, so that is probably why the APIs don't work as well.
 

kmtweb

n3wb
Joined
Feb 16, 2023
Messages
17
Reaction score
18
Location
DFW
thanks for the info. I did read that night on how to change the profile, but I dont have a need for that. But I do want to be able to control the light. So I guess I'll dig a little deeper and or wait for a solution. One should be able to control the light, regardless of the current profile that the camera if configured with. But that sounds like common sense ;)
 
Top