While the logo light can be switched off by G-Code (see above) that doesn’t be the case for the camber light. Although if you are willing to tinker and have a smart home instance running (like OpenHAB or Home Assistant) you can control the chamber light via MQTT.
By sending the following payload to the printers broker you can switch the chamber light as you desire:
"system": {
"sequence_id": "0"
"command": "ledctrl"
"led_node": "chamber_light"
"led_mode": "on" # or off
"led_on_time": 500
"led_off_time": 500
"loop_times": 0
"interval_time": 0
}
This way I switch my chamber light via OpenHAB when the printer is idle for a given period of time, although I think it should be possible via G-Code…