Wite Software for Esp8266.
1. Ota Update using [login to view URL] or i have my own php code on server.
2. Mqtt code for publishing my data and subscribe to get data from the server. (Adfruit, or any mqtt server)
3. NTC get data time and trigger relay gpios based on my settings.
4. Webserver page for settings