Using PTZ/Control to turn IR On/Off question

105437

BIT Beta Team
Joined
Jun 8, 2015
Messages
2,061
Reaction score
956
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
 

mcx

Pulling my weight
Joined
Mar 26, 2014
Messages
98
Reaction score
102
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>
 

105437

BIT Beta Team
Joined
Jun 8, 2015
Messages
2,061
Reaction score
956
I downloaded cURL but I need help installing it.
 

105437

BIT Beta Team
Joined
Jun 8, 2015
Messages
2,061
Reaction score
956
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
 
Top