Thank you to everyone here for comments and suggestions.
So far so good, no issues.
There were suggestions that's beyond my capabilities.
I can see though there are room for improvement
a) Add RTC to have time control also: (seems easy enough)
Geyser and irrigation only to work within certain times ranges.
b) A small screen would display nice, i will need to get a spare board/Oled screen and tinker on that when i do have time. (level expert)
c) If pump not powered, then add UV_THRESHOLD to other outputs:
So if minimum UV threshold is reached for pump but pump is off cause water level is ok, add example 50 threshold to next output.
On point c, how to do this?
const int UV_THRESHOLD5 = 450;
const int UV_THRESHOLD6 = 550;
const int AddUVsun = 50;
if (pumpOverride == 0 && pumpTime == 0)
UV_THRESHOLD5 = UV_THRESHOLD5 + AddUVsun;
UV_THRESHOLD6 = UV_THRESHOLD6 + AddUVsun;
I have not tested this yet or thought this through to be practical
Let me know for any improvements.