Just came across this project on hackaday. https://hackaday.io/project/4647-smart-hot-water-heater-controller I know someone in this group is working on something similar. It may be useful to contact the project and help each other out ;) Craig