Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. General Discussion
  3. Is there a Gateway connection timeout?

Is there a Gateway connection timeout?

Scheduled Pinned Locked Moved General Discussion
gateway
2 Posts 2 Posters 40 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    A3V
    wrote on last edited by
    #1

    Hi all,
    I build a gateway using an ESP32 and connected sensors directly to the gateway.
    When the WIFI connection is not established at start up it hangs showing endlessly
    GWT:TIN:CONNECTING
    For sensor nodes using radio you can set MY_TRANSPORT_WAIT_READY_MS so it will timeout and do the sensor actions without radio connection.
    Is there a Gateway connection timeout similar to MY_TRANSPORT_WAIT_READY_MS?
    I want my Gateway/Sensor to continue setting-up and run when there is no WIFI and preferably retry,

    Any help is highly appreciated.

    mfalkviddM 1 Reply Last reply
    0
    • A A3V

      Hi all,
      I build a gateway using an ESP32 and connected sensors directly to the gateway.
      When the WIFI connection is not established at start up it hangs showing endlessly
      GWT:TIN:CONNECTING
      For sensor nodes using radio you can set MY_TRANSPORT_WAIT_READY_MS so it will timeout and do the sensor actions without radio connection.
      Is there a Gateway connection timeout similar to MY_TRANSPORT_WAIT_READY_MS?
      I want my Gateway/Sensor to continue setting-up and run when there is no WIFI and preferably retry,

      Any help is highly appreciated.

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #2

      @A3V such a feature would definitely make sense now that gateways can have local sensors. But no-one has added it unfortunately.

      A solution could be to use the code at https://github.com/mysensors/MySensors/blob/2e00bf6a10f76d6aaa1999e12313237bc3edabd3/core/MyTransport.cpp#L446 as inspiration and do something similar at https://github.com/mysensors/MySensors/blob/2e00bf6a10f76d6aaa1999e12313237bc3edabd3/core/MyGatewayTransportEthernet.cpp#L175

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      11

      Online

      11.7k

      Users

      11.2k

      Topics

      113.1k

      Posts


      Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • MySensors
      • OpenHardware.io
      • Categories
      • Recent
      • Tags
      • Popular