Open mspbonn opened 2 years ago
I've been trying to do the same. I have a reolink camera and it allows me to turn the light on and off via the reolink app, and i've managed to use this python library to move the camera, return to home, etc, but have no idea how to trigger the floodlight.
My camera claims to support 2 auxilary commands:
ONVIF >>> cmd ptz GetNode {'NodeToken': 'onvif_ptz_0'} True: {'Name': onvif_ptz_0, '_token': onvif_ptz_0, 'MaximumNumberOfPresets': 255, 'SupportedPTZSpaces': (PTZSpaces){ . . }, 'HomeSupported': True, 'AuxiliaryCommands': [Aux_Lighting, Aux_Wiper]}
But various variations won't work (e.g.):
ONVIF >>> cmd ptz SendAuxiliaryCommand {'ProfileToken': 'onvif_ptz_1', 'AuxiliaryData': {'Aux_Lighting': 'On'}} False: Type not found: 'Aux_Lighting'
Did anyone send a successful auxilary command to a camera ?