Turn on a Tasmota relay on MotionEye motion

Hi! need some help with MotionEye. Just started using it. Can not figure out what command to send, so I would be able to turn on a light on motion when it is dark. Can I create the motion as a “sensor” and use it in an automation, or?

I have some lights activated on sunset and sunrise. There is one floodlight in front of the house, that is connected to a sonoff Tasmota switch. would like it to turn on when motion is detected by the camera, but only when it is dark…