Amcrest Integration: Control IR lights

Is it possible to expose the IR lights in the amcrest camera integration?

I’d like to turn on and off the IR lights from Home Assistant. I would be interested in contributing this if I can get some pointers to how this integration works. Also happy with ONVIF but not sure if these controls are exposed there

have you tried this service call?

Thanks for the pointer! It didn’t occur to me that this might do what I want. Looks like this might work, thanks again

1 Like

Did you ever figure out how to control the LED from HA? I tried installing the Dahua integration, tried the service calls previously mentioned and no dice.

Yes an action like this will do it

data:
          entity_id: camera.sharky_cam
          color_bw: bw
action: amcrest.set_color_bw

Use ‘color_bw: color’ to turn off the ir.