September 10, 2020 at 10:27 am #68208
I’ve been losing my network as well. I’m now running Firmware 2.1.9 (7) on Hardware Version 2.3 – AC. I upgraded the Firmware recently hoping that would help but the problem persists. Originally, I was plugged into a TP-Link Wireless Mini Router. It would go offline often so I thought it was because the WiFi signal was weak in the garage but the router never lost connectivity so it wasn’t that. I then ran a cat5e cable to the garage, added an access point and plugged OS in to the access point. Same issue. Offline every few days. I now have OS plugged directly into my switch but the problem persists.
When this happens, I still see activity on the OS NIC port. OS screen still shows as online with the correct IP address. It no longer responds to connections. Sometimes, I’ll start responding again on its own but usually, I just have to unplug the power and plug it back it in.September 20, 2020 at 8:53 am #68297
Hello @Stefan, I have your OS2196_wifi_sleepmode.bin running since about a month. I could always connect via app or webbrowser. So seems this fixes the issue. Thanks a lot for this update!November 18, 2020 at 9:08 am #68685
I have also tried Stefan’s firmware. Unfortunately, it doesn’t seem to resolve the problem I’m having. I’ve now got a mesh system (before I had a single access point), and I think it’s a new variant of the problem (the unit drops off and back on randomly rather than just off and staying off like it did before) but it can’t complain about the strength of the signal now. Every other device in the house is rock-solid on the wifi, so it’s just an opensprinkler problem AFAICT. I still have a couple of things to try, but I’m not optimistic that this can ever be as reliable as something like this needs to be.May 7, 2021 at 3:14 am #70031
I have only had my OpenSprinkler working for a week and it has “disconnected” 3 times (twice while using the wired ethernet adaptor and today on wifi).
I was using a DHCP reservation on my EdgeRouter 4 so I have just set the address to Static in the OS to see what happens.
Firmware: 2.1.9 (7)
Hardware: 3.2 – ACMay 9, 2021 at 6:12 pm #70050
Today I could not “connect” with the app or via a browser even though I could ping the device.
I powered off then on to get “connected” again and then removed the address reservation in my router and will see how that goes.
Did previous posters resolve their problems?June 6, 2021 at 10:24 am #70334
Mine also drops off WiFi occasionally and I’ve found that if I power cycle it, it comes back online and works well. I’ve started a log to keep track of how often I need to reset it so I can speak more precisely about the frequency and symptoms but it feels like every couple of weeks I need to remove and restore power to the thing. There seems to be something in the programming that breaks over time.
I have an esp8266-based OpenSprinkler device running App Version: 2.2.4, Firmware: 2.1.9 (7) and Hardware Version: 3.0 – AC. It’s also hooked up to home assistant so I can monitor it easily. The last time I power cycled the unit to get it back online was 5/22/21. This morning I noticed from the home assistant logs that my OpenSprinkler device was dropping offline periodically, today, only dropping for a few seconds every hour or two in the last 24 hours. I kicked off the program without resetting OpenSprinkler from the OpenSprinkler webpage and noticed that the clock froze after counting for a few seconds. I refreshed the page and it was counting correctly and after a few seconds it stopped again.
I brought up the console and refreshed again. When the clocks stop I see this message appear in the console:
app.js:1 Uncaught TypeError: Cannot read property ‘wl’ of undefined
at HTMLHtmlElement.n (app.js:1)
at HTMLHtmlElement.dispatch (app.js:1)
at HTMLHtmlElement.g.handle (app.js:1)
at Object.trigger (app.js:1)
at HTMLHtmlElement.<anonymous> (app.js:1)
at Function.each (app.js:1)
at x.fn.init.each (app.js:1)
at x.fn.init.trigger (app.js:1)
at i (app.js:1)
at Object.<anonymous> (app.js:1)
This was very repeatable! I did it five or six more times, even did a ctrl-F5 on Chrome to have it wipe all the cache away and that didn’t matter. This was a problem that the device was sourcing. I just went out and power cycled it and kicked off a sprinkler zone to see if I could get it to do that again and I couldn’t. It’s almost like the FW gets into a funk over time and needs to be power cycled to refresh some variables that get corrupted.
I suspect that this is an issue for a lot of people. I’ve googled for “OpenSprinkler wifi drop” and variations of that over the last year as I keep experiencing this problem and found a lot of threads on the subject but no solutions. One guy said that he put a WiFi-controlled relay in between OpenSprinkler and its power supply so he could reset it at will. I’ve been thinking about employing the same solution because if I’m away from my house and I can’t get to OpenSprinkler I have no recourse to get it back online.
@Ray, I don’t suppose you could add a feature into the firmware for a daily or weekly forced-restart option? I know that security cameras have this feature because they know that their firmware may become problematic and that’s an easy way to flush out any problems regularly. Obviously, it’s a bandaid and not a root-cause corrective action but from what I’ve experienced with the device having used it for just over a year, it works well for a few weeks and then the WiFi either disconnects or gets spotty and the device needs a restart.
P.S. Also, I’m using a Unifi AP AC Pro and it’s located in my garage about 20 feet from the OpenSprinkler device with nothing but air in between them. I have four ESPHome smart home devices connected to the same access point which are all ESP8266-based, have run for over a year and they have no problems like this.June 7, 2021 at 4:27 am #70349
@SpikeyGG: I am actually considering adding a feature to the firmware, that makes use of a program, to reboot the controller at some designate times. Basically the idea is that if the program name starts with :> then what follows it is expected to be a command (e.g. reboot etc.). This way it can make use of the existing program scheduling structure to execute, say, a reboot command. The advantage is that this requires no UI changes (thus avoiding the annoying iOS app store approval process); the downside is that it does waste one program.June 7, 2021 at 8:25 am #70352
@Ray, I think that’s a solid plan. I wouldn’t have thought of using a program to handle the reboot (or other system-related things) but that would make it much simpler to integrate. Thanks for the quick response. By the way, the OS project is my favorite home-made device in my smart home arsenal. Thank you for building, maintaining, and making it available to the masses.June 12, 2021 at 6:29 pm #70405
For what it’s worth, I found the most stable configuration on the latest firmware by disabling DHCP (uncheck) and setting a static IP address on the opensprinkler unit and assigning (reserve) it on the router too. I now have two OpenSprinklers (one at home and one at the beach house) and they have been quite stable. On the unit at home, I run it via a tp link Wi-Fi extender next to the OpenSprinkler as I don’t believe it has enough wifi power to transmit to the wifi router some of the time (even though the wifi router shows good strength). Cheers. Val.July 15, 2021 at 8:32 pm #70676
I’m a few weeks into owning my unit and have had this happen about once per week. It doesn’t connect via app or web UI, requires reboot etc. I just went to run a manual program and noticed it in this state. I’m finding it ran programs this morning but did not run a program this evening. I’ve put an extra Zigbee plug at the power plug and will come up with some schedule to reboot overnight…
- You must be logged in to reply to this topic.