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

  • 10
  • 1
  • 3
  • 1
  • 2
  • 2
  • 5
  • 12

47
Online

11.4k
Users

11.1k
Topics

112.6k
Posts