OpenSprinkler › Forums › OpenSprinkler Unified Firmware › Have WIFI auto reconnect
- This topic has 4 replies, 4 voices, and was last updated 5 years, 5 months ago by Ray.
-
AuthorPosts
-
January 30, 2019 at 6:49 am #53902
trillianParticipantI have an OpenSprinkler Hardware 3.0 DC, FW 2.1.8 (2). Recently installed only been running for a few days.
I have noticed that it seems to fall of the wireless network. If I check the screen on the OpenSprinkler, it still displays its IP however when I check the router it’s no longer shown as connected. If I turn of the WIFI in the router (not rebooting the router, just disabling the wifi in the UI) then re-enable the WIFI it connects again.
The signal is not great, but its not terrible ether (my router indicated 2/4 bars for whatever that is worth).I guess it loosing connection, falls of the network then does not reconnect.
Can the Sprinkler be configured to try and reconnect if it loses connection?
Cheers
February 4, 2019 at 11:19 pm #53949
Michael O’LoughlinParticipantMy extender OpenSprinkler 2.3 AC was having regular dropouts recently also. It was connnected using the recommended TP Link wifi device. I ended up discovering that the dropouts were due to my FritzBox updating and now refreshing and changing the wifi channel quite regularly. After it changes channel, the TP Link doesn’t reconnect so the extender OpenSprinkler is then offline.
February 16, 2019 at 9:04 am #54029
RayKeymaster@trillian: the current firmware already implements reconnect when it detects the disconnection:
https://github.com/OpenSprinkler/OpenSprinkler-Firmware/blob/master/main.cpp#L510
basically if it detects the WiFi is no longer connected, it sends the controller back to initial state and it will try to connect again. The problem is so far I haven’t been able to reproduce the issue — I’ve tried to use our own router, unplug the power and replug the power, and the reconnect works just fine. Without reproducing the issue it’s difficult to guess what exactly is the problem. Maybe sending it to initial state isn’t sufficient, perhaps it needs to do something a big more aggressive, such as trigger a reboot, but I would rather not do that because if a program is running during the disconnect, a reboot will disrupt the running program which is undesirable.August 11, 2019 at 2:53 am #62088
therealdbParticipant@ray I have a very similar behavior. OS 3 DC connected to a Netgear Nighthawk R7000. In my case, the routers seems to detect the device as connected, but the web UI is not responding.
I have a script checking every 15 seconds for the status, in order to notify me of programs/stations activity (since no webhook or mqtt are available). I don’t know if there’s a correlation, and in my case a reboot helps too, unless a day or two.
August 12, 2019 at 5:55 am #62108
RayKeymasterOK, thanks for the report. Will try to improve the auto reconnect functionality in the net firmware.
-
AuthorPosts
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › OpenSprinkler Unified Firmware › Have WIFI auto reconnect