Great job on the box. It looks great. If you are interested I can send you my code. It may help out some.
That would be great! It would be great to see how you approached buttons and LEDs, scheduling, and dosing. I can also share my code if you're interested, but it's still in very early stages.
Right now my code can only keep track of buttons status so there's not much work done with scheduling yet. I'm trying to make it so that each button has 3 states: ON-OFF-AUTO
If a button is depressed, it will turn the relay OFF and LED OFF.
If a button is pressed once, it will turn the relay ON and LED ON
When a button is pressed for a second time, it will allow the relay to enter AUTO mode and let the scheduler take over. But how do you know that relay is in AUTO? The button LED will blink on and off once a second.
In short a button will work like this: ON-OFF-AUTO-OFF-ON-OFF-AUTO...etc
It's been a pain to code, but I think I finally have it working. This should give me absolute control over each relay no matter what the scheduler is trying to do.