|GPIO17||ADC Input 1|
The device comes with a WBR3, which can be removed with a heat gun and some patience. I replaced it with an ESP12F. The EN pin on the ESP12F had to be bodged to VCC for it to start up. Unlike the previous model water fountain that Kogan sold, this is not a TuyaMCU based device. The pins off the ESP (or WBR3) control the device directly.
Relay 1 controls the pump, Relay 2 controls the status indicator, and Relay 3 controls the UVC light.
The button on the front is configured to Button 1, which toggles the pump power when pressed. The water level sensor is configured with Switch 2. With
Switchmode2 2, the status indicator turns on when the water level is low and goes off when water is filled up again. Time based rules can control the UVC light, which according to the manual should run for a decent chunk of time every day.
Keeping track of the age of the filter is up to you.