Snapmaker 2 enclosure and light

Hi all,
I am using the SM2 and wonder if it is possible to automatically switch on the backlight for my enclosure when the printer is switched on?

Thank you for your support

Volker