ESP8266 dropping WiFi connection
Posted: Monday 13 January 2020 0:14
Hi,
I have setup a Simple Thermostat using ESP8266, ESPEasy and some Domoticz.
The script is in python on my RPI and the ESP8266 Boiler switch is switched on with a switch in Domoticz. (see picture)
The problem I encounter is that ESP8266 drops it's WiFi connection every now and then.
It has happened one time after we came back on Schiphol and I wanted to fire up the heating @home and another time when the temperature rose to 22+ degrees, with relay switched on.
Not often but 2 times too much.
On both occasions ESP8266 had dropped it's WiFi connection.
The hard reset is the only way out in such a case.
I tried a bit with System Alive checker.
Either I am not able to set it up with the provided dzVents software (present in examples) or the software doesn't do what it is intended to do.
I'm afraid the problem lies with me.
Anyway, I've found a bash script on this forum, written by @timmpo.
This script explains itself easily and works out of the box.
My questions to others on this forum.
- Did you encounter the same problems of an ESP8266 dropping WiFi connection?
if so:
- What is your solution to catch the disconnected WiFi connection and get the ESP8266 going again?
My solution for now is to place another ESP8266 plus relay (active by default) or a Sonoff switch in the 230V power line to the Boiler switch.
When the Boiler switch drops connection I will interrupt the power line and switch it on again.
The effect will be that the Boiler switch will restart and WiFi communication will be established.
I'm curious to see your comments and workarounds.
I have setup a Simple Thermostat using ESP8266, ESPEasy and some Domoticz.
The script is in python on my RPI and the ESP8266 Boiler switch is switched on with a switch in Domoticz. (see picture)
The problem I encounter is that ESP8266 drops it's WiFi connection every now and then.
It has happened one time after we came back on Schiphol and I wanted to fire up the heating @home and another time when the temperature rose to 22+ degrees, with relay switched on.
Not often but 2 times too much.
On both occasions ESP8266 had dropped it's WiFi connection.
The hard reset is the only way out in such a case.
I tried a bit with System Alive checker.
Either I am not able to set it up with the provided dzVents software (present in examples) or the software doesn't do what it is intended to do.
I'm afraid the problem lies with me.
Anyway, I've found a bash script on this forum, written by @timmpo.
This script explains itself easily and works out of the box.
My questions to others on this forum.
- Did you encounter the same problems of an ESP8266 dropping WiFi connection?
if so:
- What is your solution to catch the disconnected WiFi connection and get the ESP8266 going again?
My solution for now is to place another ESP8266 plus relay (active by default) or a Sonoff switch in the 230V power line to the Boiler switch.
When the Boiler switch drops connection I will interrupt the power line and switch it on again.
The effect will be that the Boiler switch will restart and WiFi communication will be established.
I'm curious to see your comments and workarounds.