looking for input on my automated grow box sketch

update for those that are interested, I "finished" the hardware side and my uv light is always on, and my lighting changes state every 12 seconds. I think i need to set the uv low in setup and i will also make sure the lighting is low in setup. haven't tested watering functionality yet, that will be last. Anyone have any idea why lighting is on a 12 second cycle instead of a 12 hr cycle?