But sometimes something happen to my MQTT broker and sometimes something happen to the ESP8266.
So I was thinking that when the ESP fails to connect to MQTT broker or fails to read from DHT for that sake, I want it to start a HTTP server and publish the fault there so I can easily detect the problem.
Any code idea or example I can start with? Or other smarter solution I can look at?
I tested and got the HTTP DHT project someone had on internet, so I was thinking to take the HTTP part from this to start with:
http://www.elec-cafe.com/esp8266-temper ... 11-sensor/