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
-
Battery level to openHAB
OpenHAB • 20 Jan 2015, 19:25 • bomber 20 Jan 2015, 21:06 -
Serial Gateway mystery
Troubleshooting • 21 Oct 2014, 11:51 • cribben 28 Oct 2014, 00:21 -
Anyone Using Rpi as MQTT gateway ?
Controllers • 11 Feb 2015, 15:05 • mainali 11 Feb 2015, 15:05 -
Data collection
My Project • 22 Sept 2014, 00:36 • pvoj 22 Sept 2014, 01:52 -
Strange value being sent from controller using mixed temp/relay node
Bug Reports • 2 Feb 2015, 13:56 • Gambituk 27 Mar 2015, 22:44 -
Pi 4 ethernet gateway with NRF24L01 + PA and LNA & Domoticz
My Project • 25 Jul 2020, 04:27 • bsmtdweller 3 Aug 2020, 20:43 -
RFM69HW antenna
General Discussion • 4 Jul 2019, 13:42 • tsunami 8 Jul 2019, 09:45