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
-
SmartSleep a feature of the Gateway
Feature Requests • 18 Jun 2017, 21:05 • strangeoptics 19 Jun 2017, 10:43 -
Communication problems between MQTT Gateway (OrangePi) and Node (Arduino Nano)
Troubleshooting • 1 May 2019, 19:22 • gammlerstyle 5 May 2019, 18:01 -
How to change Radio ID on Raspberry Pi Gateway with RFM 69
Troubleshooting • 1 Jul 2020, 20:12 • Stefan_NE 2 Jul 2020, 11:05 -
Connect sensors directly to the Gateway (again)
Development • 12 Jan 2016, 09:01 • mortommy 1 Sept 2016, 12:58 -
💬 NRF24L01 shield for Arduino Uno (for MySensors gateway)
OpenHardware.io • 13 Feb 2019, 21:39 • openhardware.io 13 Feb 2019, 21:39 -
Gateway USB and Gateway Ethernet
General Discussion • 23 Aug 2020, 07:36 • Daniel RUIZ9 15 Nov 2020, 20:11 -
Ethernet Gateway Using PCBWAY board Fifisoft57
General Discussion • 31 Aug 2021, 11:06 • Newzwaver 22 Nov 2021, 19:42 -
RFM69HW Raspberry Pi 2 Gateway
Troubleshooting • 2 Aug 2017, 12:39 • NickB149 2 Aug 2017, 14:30