/* 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