Using PTZ/Control to turn IR On/Off question

105437

BIT Beta Team
Jun 8, 2015
2,161
1,053
I'd like to know if using the PTZ/Control to turn IR On/Off will also use the separate Day/Night settings that I have configured for WDR and Exposure. If so, I'd like to schedule an event in BI for camera to do this. Thanks
 
IR On/Off switches the camera to day/night mode, so it may not a good idea. Using cURL-method you can enable/disable IR:

...ISAPI/System/Hardware/irLightSwitch

Enable:

<?xml version="1.0" encoding="UTF-8"?>
<IrLightSwitch version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<mode>open</mode>
</IrLightSwitch>

Disable:

<?xml version="1.0" encoding="UTF-8"?>
<IrLightSwitch version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<mode>close</mode>
</IrLightSwitch>
 
Okay, I got cURL working and I have created a day.bat and a night.bat file and configured everything in BI according to the instructions. Now, I'm not sure what to do in the camera config. Should Day/Night switch be set to "Auto-Switch" or "Scheduled-Switch"? Those are the only two options I have. Thanks