https://harizanov.com/2013/09/smart-iot-solar-hot-water-tank-controller/
Smart IoT solar hot water tank controller