Control camera lights T180?

David9723

Young grasshopper
Joined
Apr 10, 2015
Messages
76
Reaction score
0
is it possible to control the empire tech T180 led lights with BI?
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,031
Reaction score
48,796
Location
USA
Nope we have tried to figure out the API but haven't cracked it yet LOL. They are either on or off.
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,031
Reaction score
48,796
Location
USA
Nope not a function there either. It is a function of the profile and setting for the light.
 

Mark_M

Getting comfortable
Joined
Jul 2, 2019
Messages
978
Reaction score
1,392
Location
Land down down under
In the newest API document I have, right above "change binocular camera's splice mode (5.8.1)" there is mention of lighting control which is new.
I don't know if this would work with the T180 because I do not have that camera.


I hope this has some relevance to lighting on this camera?

Code:
/* Get lighting config - 5.7.1*/
/Syntax:
http://<server>/cgi-bin/configManager.cgi?action=getConfig&name=Lighting
/Method:
GET

/Description Get lighting
http://192.168.1.108/cgi-bin/configManager.cgi?action=getConfig&name=Lighting

/SuccessReturn:
head.Correction=50
head.FarLight[0].Angle=0
head.FarLight[0].Light=0
head.Mode=ZoomPrio
head.NearLight[0].Angle=0
head.NearLight[0].Light=0
head.MiddleLight[0].Angle=50
head.MiddleLight[0].Light=50

/Comments:
head = table.Lighting[ChannelNo][ConfigNo]:

ChannelNo: integer, array index starts from 0, which means video channel (equals to video channel index -1, and so 0 means channel 1).
    
ConfigNo: array index, can be 0, 1 or 2. 0 means config for day, 1 means config for night, and 2 means config for normal scene
Code:
/* Set lighting - 5.7.1 */
/Syntax:
http://<server>/cgi-bin/configManager.cgi?action=setConfig&<paramName>=<paramValue>[&<paramName>=<paramValue>…]

/Method GET

/* Description Set lighting - Example: */
/Turn on light:
http://192.168.1.108/cgi-bin/configManager.cgi?action=setConfig&Lighting[0][0].FarLight[0].Light=10&Lighting[0][0].NearLight[0].Light=90&Lighting[0][0].Mode=Manual

/Shift the light to ZoomPrio mode:
http://192.168.1.108/cgi-bin/configManager.cgi?action=setConfig&Lighting[0][0].Correction=50&Lighting[0][0].Mode=ZoomPrio

/Success Return message:
OK

/* Comments: */
/Parameters in URL:
paramName and paramValue are as table below.
/In table below,
head = Lighting[ChannelNo][ConfigNo]
/Some lighting equipment has the following restriction:
Lighting[0][0].FarLight[0].Light + Lighting[0][0].NearLight[0].Light+ Lighting[0][0].MiddleLight [0]. Light <=100.
 
Top