I have made my own gcode commands to control case lights. These commands are added to "Console/Commands". Gcode is for controlling lights is: M42 P9 S255 to set lights to 100%, for exmaple. It is also possible to control lights from "Param/Toggle Lights" menu at the front-end.
Now, if I control lights from "Console/Commands", the "Param/Toggle Lights" button won't work anymore, at least it will not control case lights. If I make reboot the "Param/Toggle Lights" button will work again.
Any hints?