simple controller code for low power consumption growlight