ESP8266 Gateway start without WiFi connection
-
Maybe this question was already asked, but I could not find it.
I currently have an ESP8266 MQTT Gateway running smoothly. My only concern is what will happen, when the WiFi and/or MQTT gets disconnected. I have yet to try what happens, when disconnected during operation. But when the Gateway is in startup it absolutely requires WiFi and MQTT to be up and running, otherwise it will just sit there and try to connect forever.
Is there any way I can tell the Gateway to not wait for a WiFi + MQTT connection, if the connection attempt failed too many times? So that the Gateway can do its job of routing control signals in the sensor network even without convenience connections.
If this functionality is not implemented right now, I would like to add it. If the connection breaks during operation or if no connection was present at startup, the library could test periodically, if the connection can be established. Just like it is handled when using
MY_TRANSPORT_SANITY_CHECK
right now. And still route packages from and to the nodes.Thanks for your help,
Leo
Suggested Topics
-
💬 ESP Power Strip
OpenHardware.io • 23 Apr 2017, 17:37 • openhardware.io 23 Apr 2017, 17:37 -
iBoard - Ethernet Gateway - Check Wires
Troubleshooting • 13 Feb 2015, 20:38 • tbully 16 Feb 2015, 17:22 -
SONOFF Issues?
Hardware • 12 Apr 2017, 06:40 • Samuel235 20 Apr 2017, 19:07 -
[SOLVED] NodeMCU ESP8266 and SPI with NRF24L01 + SD card module - sanity errors?
Troubleshooting • 26 Apr 2017, 20:53 • Kokosnoot 28 Apr 2017, 17:33 -
RFM69HW antenna
General Discussion • 4 Jul 2019, 13:42 • tsunami 8 Jul 2019, 09:45 -
Combining Serial and MQTT/Ethernet Gateway
Troubleshooting • 12 Feb 2015, 13:13 • codenea 28 Apr 2015, 15:09