OpenSprinkler Forums OpenSprinkler Unified Firmware Have WIFI auto reconnect

This topic contains 4 replies, has 4 voices, and was last updated by  Ray 1 week ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #53902

    trillian
    Participant

    I 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

    #53949

    My 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.

    #54029

    Ray
    Keymaster

    @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.

    #62088

    therealdb
    Participant

    @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.

    #62108

    Ray
    Keymaster

    OK, thanks for the report. Will try to improve the auto reconnect functionality in the net firmware.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

OpenSprinkler Forums OpenSprinkler Unified Firmware Have WIFI auto reconnect