Send midi from mairlist to device

I start a jingle with Traktor Kontrol F1. Play toggles the light on.
When the jingle stops i want to send a new value to the device so the light toggles off.

Is this possible?