Light can be controlled with Raspberry Pi GPIO with Octoprint Enclosure-Plugin and an additional push button switch so you can turn it on/off with Octoprint or with the switch.
The author remixed this model.