WiFi Gateway (ESP8266) - reconnect to controller
-
Hello,
in contrast to the topic "WiFi Gateway (ESP8266) - reconnect to Router", I have the problem with reconnecting to the controller.
The Gateway is made of the nodeMCU V0.9 and the NRF24L01+ in TCP Client Mode.
I try to reboot the Router, the Gateway connects easily, switch the AP, also no problem. Restart the Controller. But the Gateway does not reconnect.
After rebooting the Gateway the connection stays immediately.
Is there a solution for this?regards
ThomasDr
-
@ThomasDr I suspect that the ESP doesn't see the TCP connection going down when resetting the controller, only when resetting the router.
Too bad the Arduino port doesn't seem to support tweaking these parameters directly....
-
Hello,
there is a possibility to check the connection.
I will test with receive command from controller to the gateway and write a timeout to reset the ESP with ESP.reset or ESP.restart.regards
ThomasD
Suggested Topics
-
ESP8266 Gateway
Troubleshooting • 12 Jun 2020, 11:32 • sash.sc 12 Jun 2020, 12:50 -
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
ESP8266 WiFi MQTT gateway won't respond to parent request.
Troubleshooting • 1 Jul 2019, 12:17 • mcchots 3 Jul 2019, 08:45 -
Can not compile MySensors on esp8266
Troubleshooting • 24 Aug 2024, 15:35 • TheoL 29 Aug 2024, 20:47 -
JSN-SR04T-V3.0 Coax cable extended
Troubleshooting • 8 days ago • bocalexandru 7 days ago -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting • 26 Feb 2025, 00:32 • dpcons 26 Feb 2025, 06:22