Changed from supplementing sump tank from a reserve tank to using a valve controlling normal home water, measuring electrical conductivity and correcting levels with a dosing pump.
First try at ESP8266-12 code. Using push buttons to simulate nutrient solution level and LEDs to indicate pump activation. Basically get some of the logic done as well as a basis to setup the Node-Red code on the Raspberry Pi.