Is there a Gateway connection timeout?
-
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.
-
@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