Bummer. The unfortunate thing is Dahua seems to not stay consistent with their API commands, which would make it a hard feature to add by the BI developer. It could be done, but it would have to be a per camera protocol setup.
Bummer. The unfortunate thing is Dahua seems to not stay consistent with their API commands, which would make it a hard feature to add by the BI developer. It could be done, but it would have to be a per camera protocol setup.
I can pull this from the API, if anyone could help, would be a lifesaver.
table.Lighting_V2[0][0][0].Correction=50
table.Lighting_V2[0][0][0].LightSwitchDelay=0
table.Lighting_V2[0][0][0].LightType=InfraredLight
table.Lighting_V2[0][0][0].MiddleLight[0].Angle=50
table.Lighting_V2[0][0][0].MiddleLight[0].Light=56
table.Lighting_V2[0][0][0].Mode=Off
table.Lighting_V2[0][0][0].PercentOfMaxBrightness=100
table.Lighting_V2[0][0][0].Sensitive=3
table.Lighting_V2[0][0][1].Correction=50
table.Lighting_V2[0][0][1].LightSwitchDelay=0
table.Lighting_V2[0][0][1].LightType=WhiteLight
table.Lighting_V2[0][0][1].Mode=Auto
table.Lighting_V2[0][0][1].NearLight[0].Angle=50
table.Lighting_V2[0][0][1].NearLight[0].Light=50
table.Lighting_V2[0][0][1].PercentOfMaxBrightness=58
table.Lighting_V2[0][0][1].Sensitive=3
table.Lighting_V2[0][0][2].AIMixLightSwitchDelay=60
table.Lighting_V2[0][0][2].Correction=50
table.Lighting_V2[0][0][2].LightSwitchDelay=0
table.Lighting_V2[0][0][2].LightType=AIMixLight
table.Lighting_V2[0][0][2].Mode=Auto
table.Lighting_V2[0][0][2].Sensitive=3
table.Lighting_V2[0][1][0].Correction=50
table.Lighting_V2[0][1][0].LightSwitchDelay=0
table.Lighting_V2[0][1][0].LightType=InfraredLight
table.Lighting_V2[0][1][0].MiddleLight[0].Angle=50
table.Lighting_V2[0][1][0].MiddleLight[0].Light=50
table.Lighting_V2[0][1][0].Mode=Auto
table.Lighting_V2[0][1][0].PercentOfMaxBrightness=100
table.Lighting_V2[0][1][0].Sensitive=3
table.Lighting_V2[0][1][1].Correction=50
table.Lighting_V2[0][1][1].LightSwitchDelay=0
table.Lighting_V2[0][1][1].LightType=WhiteLight
table.Lighting_V2[0][1][1].Mode=Auto
table.Lighting_V2[0][1][1].NearLight[0].Angle=50
table.Lighting_V2[0][1][1].NearLight[0].Light=50
table.Lighting_V2[0][1][1].PercentOfMaxBrightness=100
table.Lighting_V2[0][1][1].Sensitive=3
table.Lighting_V2[0][1][2].AIMixLightSwitchDelay=60
table.Lighting_V2[0][1][2].Correction=50
table.Lighting_V2[0][1][2].LightSwitchDelay=0
table.Lighting_V2[0][1][2].LightType=AIMixLight
table.Lighting_V2[0][1][2].Mode=Auto
table.Lighting_V2[0][1][2].Sensitive=3
table.Lighting_V2[0][2][0].Correction=50
table.Lighting_V2[0][2][0].LightSwitchDelay=0
table.Lighting_V2[0][2][0].LightType=InfraredLight
table.Lighting_V2[0][2][0].MiddleLight[0].Angle=50
table.Lighting_V2[0][2][0].MiddleLight[0].Light=50
table.Lighting_V2[0][2][0].Mode=Auto
table.Lighting_V2[0][2][0].PercentOfMaxBrightness=100
table.Lighting_V2[0][2][0].Sensitive=3
table.Lighting_V2[0][2][1].Correction=50
table.Lighting_V2[0][2][1].LightSwitchDelay=0
table.Lighting_V2[0][2][1].LightType=WhiteLight
table.Lighting_V2[0][2][1].Mode=Auto
table.Lighting_V2[0][2][1].NearLight[0].Angle=50
table.Lighting_V2[0][2][1].NearLight[0].Light=50
table.Lighting_V2[0][2][1].PercentOfMaxBrightness=100
table.Lighting_V2[0][2][1].Sensitive=3
table.Lighting_V2[0][2][2].AIMixLightSwitchDelay=60
table.Lighting_V2[0][2][2].Correction=50
table.Lighting_V2[0][2][2].LightSwitchDelay=0
table.Lighting_V2[0][2][2].LightType=AIMixLight
table.Lighting_V2[0][2][2].Mode=Auto
table.Lighting_V2[0][2][2].Sensitive=3
table.Lighting_V2[0][3][0].Correction=50
table.Lighting_V2[0][3][0].LightSwitchDelay=0
table.Lighting_V2[0][3][0].LightType=InfraredLight
table.Lighting_V2[0][3][0].MiddleLight[0].Angle=50
table.Lighting_V2[0][3][0].MiddleLight[0].Light=50
table.Lighting_V2[0][3][0].Mode=Auto
table.Lighting_V2[0][3][0].Sensitive=3
table.Lighting_V2[0][3][1].Correction=50
table.Lighting_V2[0][3][1].LightSwitchDelay=0
table.Lighting_V2[0][3][1].LightType=WhiteLight
table.Lighting_V2[0][3][1].Mode=Auto
table.Lighting_V2[0][3][1].NearLight[0].Angle=50
table.Lighting_V2[0][3][1].NearLight[0].Light=50
table.Lighting_V2[0][3][1].PercentOfMaxBrightness=100
table.Lighting_V2[0][3][1].Sensitive=3
table.Lighting_V2[0][3][2].AIMixLightSwitchDelay=60
table.Lighting_V2[0][3][2].Correction=50
table.Lighting_V2[0][3][2].LightSwitchDelay=0
table.Lighting_V2[0][3][2].LightType=AIMixLight
table.Lighting_V2[0][3][2].Mode=Auto
table.Lighting_V2[0][3][2].Sensitive=3
table.Lighting_V2[0][4][0].Correction=50
table.Lighting_V2[0][4][0].LightSwitchDelay=0
table.Lighting_V2[0][4][0].LightType=InfraredLight
table.Lighting_V2[0][4][0].MiddleLight[0].Angle=50
table.Lighting_V2[0][4][0].MiddleLight[0].Light=50
table.Lighting_V2[0][4][0].Mode=Auto
table.Lighting_V2[0][4][0].Sensitive=3
table.Lighting_V2[0][4][1].Correction=50
table.Lighting_V2[0][4][1].LightSwitchDelay=0
table.Lighting_V2[0][4][1].LightType=WhiteLight
table.Lighting_V2[0][4][1].Mode=Auto
table.Lighting_V2[0][4][1].NearLight[0].Angle=50
table.Lighting_V2[0][4][1].NearLight[0].Light=50
table.Lighting_V2[0][4][1].PercentOfMaxBrightness=100
table.Lighting_V2[0][4][1].Sensitive=3
table.Lighting_V2[0][4][2].AIMixLightSwitchDelay=60
table.Lighting_V2[0][4][2].Correction=50
table.Lighting_V2[0][4][2].LightSwitchDelay=0
table.Lighting_V2[0][4][2].LightType=AIMixLight
table.Lighting_V2[0][4][2].Mode=Auto
table.Lighting_V2[0][4][2].Sensitive=3
table.Lighting_V2[0][5][0].Correction=50
table.Lighting_V2[0][5][0].LightSwitchDelay=0
table.Lighting_V2[0][5][0].LightType=InfraredLight
table.Lighting_V2[0][5][0].MiddleLight[0].Angle=50
table.Lighting_V2[0][5][0].MiddleLight[0].Light=50
table.Lighting_V2[0][5][0].Mode=Auto
table.Lighting_V2[0][5][0].Sensitive=3
table.Lighting_V2[0][5][1].Correction=50
table.Lighting_V2[0][5][1].LightSwitchDelay=0
table.Lighting_V2[0][5][1].LightType=WhiteLight
table.Lighting_V2[0][5][1].Mode=Auto
table.Lighting_V2[0][5][1].NearLight[0].Angle=50
table.Lighting_V2[0][5][1].NearLight[0].Light=50
table.Lighting_V2[0][5][1].PercentOfMaxBrightness=100
table.Lighting_V2[0][5][1].Sensitive=3
table.Lighting_V2[0][5][2].AIMixLightSwitchDelay=60
table.Lighting_V2[0][5][2].Correction=50
table.Lighting_V2[0][5][2].LightSwitchDelay=0
table.Lighting_V2[0][5][2].LightType=AIMixLight
table.Lighting_V2[0][5][2].Mode=Auto
table.Lighting_V2[0][5][2].Sensitive=3
table.Lighting_V2[0][6][0].Correction=50
table.Lighting_V2[0][6][0].LightSwitchDelay=0
table.Lighting_V2[0][6][0].LightType=InfraredLight
table.Lighting_V2[0][6][0].MiddleLight[0].Angle=50
table.Lighting_V2[0][6][0].MiddleLight[0].Light=50
table.Lighting_V2[0][6][0].Mode=Auto
table.Lighting_V2[0][6][0].Sensitive=3
table.Lighting_V2[0][6][1].Correction=50
table.Lighting_V2[0][6][1].LightSwitchDelay=0
table.Lighting_V2[0][6][1].LightType=WhiteLight
table.Lighting_V2[0][6][1].Mode=Auto
table.Lighting_V2[0][6][1].NearLight[0].Angle=50
table.Lighting_V2[0][6][1].NearLight[0].Light=50
table.Lighting_V2[0][6][1].PercentOfMaxBrightness=100
table.Lighting_V2[0][6][1].Sensitive=3
table.Lighting_V2[0][6][2].AIMixLightSwitchDelay=60
table.Lighting_V2[0][6][2].Correction=50
table.Lighting_V2[0][6][2].LightSwitchDelay=0
table.Lighting_V2[0][6][2].LightType=AIMixLight
table.Lighting_V2[0][6][2].Mode=Auto
table.Lighting_V2[0][6][2].Sensitive=3
table.Lighting_V2[0][7][0].Correction=50
table.Lighting_V2[0][7][0].LightSwitchDelay=0
table.Lighting_V2[0][7][0].LightType=InfraredLight
table.Lighting_V2[0][7][0].MiddleLight[0].Angle=50
table.Lighting_V2[0][7][0].MiddleLight[0].Light=50
table.Lighting_V2[0][7][0].Mode=Auto
table.Lighting_V2[0][7][0].Sensitive=3
table.Lighting_V2[0][7][1].Correction=50
table.Lighting_V2[0][7][1].LightSwitchDelay=0
table.Lighting_V2[0][7][1].LightType=WhiteLight
table.Lighting_V2[0][7][1].Mode=Auto
table.Lighting_V2[0][7][1].NearLight[0].Angle=50
table.Lighting_V2[0][7][1].NearLight[0].Light=50
table.Lighting_V2[0][7][1].PercentOfMaxBrightness=100
table.Lighting_V2[0][7][1].Sensitive=3
table.Lighting_V2[0][7][2].AIMixLightSwitchDelay=60
table.Lighting_V2[0][7][2].Correction=50
table.Lighting_V2[0][7][2].LightSwitchDelay=0
table.Lighting_V2[0][7][2].LightType=AIMixLight
table.Lighting_V2[0][7][2].Mode=Auto
table.Lighting_V2[0][7][2].Sensitive=3