@allgarbled the lightbulb knows when its lit at all times. it knows this becuz it knows when it isnt. by subtracting when its lit from when it isnt or when it isnt from when it is (whichever is greater) it obtains a difference or deviation. the lighting subsystem uses to generate corrective