Auto turning lights on and off

What is the easiest way to turn lights on at one waypoint and off at another on my plane with Pixhawk in Auto mode?

I have a suitable receiver controlled on/off switch but am not sure what commands in Mission Planner to use.

DO_SET_SERVO is what you’re after.