Just sharing some information.
With the parameter 'optimize' set to true, camera_list will return much more info (tested with version 9).
Amongst that info is "whiteLedStatus", which is the LED status of a camera that supports ledCap (from get_camera_info). Value 0 means Off and 1 means On.
To turn the LED on:
api=SYNO.SurveillanceStation.DigitalOutput&method=CtrlLED&version=1&ctrlVal=true&camId=
To turn the LED off:
api=SYNO.SurveillanceStation.DigitalOutput&method=CtrlLED&version=1&ctrlVal=false&camId=
Just sharing some information.
With the parameter 'optimize' set to true, camera_list will return much more info (tested with version 9).
Amongst that info is "whiteLedStatus", which is the LED status of a camera that supports ledCap (from get_camera_info). Value 0 means Off and 1 means On.
To turn the LED on:
api=SYNO.SurveillanceStation.DigitalOutput&method=CtrlLED&version=1&ctrlVal=true&camId=
To turn the LED off:
api=SYNO.SurveillanceStation.DigitalOutput&method=CtrlLED&version=1&ctrlVal=false&camId=