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
Suggested Topics
-
Communication problems between MQTT Gateway (OrangePi) and Node (Arduino Nano)
Troubleshooting • 1 May 2019, 19:22 • gammlerstyle 5 May 2019, 18:01 -
RFM69HW antenna
General Discussion • 4 Jul 2019, 13:42 • tsunami 8 Jul 2019, 09:45 -
💬 MySensors ESP8266 MQTT gateway
OpenHardware.io • 6 Mar 2017, 20:56 • openhardware.io 23 Jan 2021, 18:11 -
💬 Reperter/Gateway USB Mysensors
OpenHardware.io • 5 Feb 2022, 17:10 • openhardware.io 5 Feb 2022, 17:10 -
Integrate with ThingsBoard
Development • 17 Apr 2021, 02:40 • chamroeun ou 18 Apr 2021, 06:13 -
Data collection
My Project • 22 Sept 2014, 00:36 • pvoj 22 Sept 2014, 01:52 -
Gateway sends NACK to node
Troubleshooting • 23 Jul 2022, 14:51 • mariusl 5 Sept 2022, 07:19 -
Do we have any option to enable queue in Gateway node?
General Discussion • 7 Sept 2018, 07:12 • jkandasa 7 Sept 2018, 08:29