Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: My Open Sprinkler has been having trouble connecting lately #74258

    SpikeyGG
    Participant

    @pfurrie, if you’re using Home Assistant check out the HACS Integration for opensprinkler. There’s also a HACS Frontend opensprinkler-card that makes the interface VERY nice! Those two things make hooking OpenSprinkler up to Home Assistant a BREEZE! I’ll attach a snapshot of my Home Assistant interface for OpenSpinkler so you can see how it looks.

    Now that we have the reboot program, I ran OpenSprinkler during summer 2022 with absolutely no issue!

    Attachments:
    in reply to: My Open Sprinkler has been having trouble connecting lately #71694

    SpikeyGG
    Participant

    I updated to the latest version 2.1.9(9) which includes the optional reboot schedule and I set mine up for twice a week. So far, I’m over a week and a half and I haven’t had it disconnect on me (knock on wood)! I know it’s a bandaid for the underlying issue but at least for me, it’s working.

    in reply to: OpenSprinkler Unified Firmware 2.1.9(9) released #71632

    SpikeyGG
    Participant

    Awesome, I just updated and set up my :>reboot schedule to reboot twice a week. Hopefully, this keeps the connectivity issues to a minimum. 😀 Thanks for the change @Ray.

    in reply to: Cannot change timezone #70943

    SpikeyGG
    Participant

    I have this problem with the timezone being off by an hour too (presumably daylight savings time) and it’s greyed out so I cannot correct it manually. Currently, it is actually 10:24pm and my opensprinkler device shows 21:22pm. I have NTP enabled and it’s pointing at my local NTP device, when I reboot the OS device I can see packets come through on the NTP port so I’m pretty sure it’s sync’ing up. Per Ray’s suggestion in 2015, I even enabled the WUnderground API key but that did not seem to correct the Timezone value from -07:00 to -06:00 (which is what it should be for my location). I tried changing the location manually (east coast/west coast) but the Timezone value seems to persist and always be greyed out. :-/


    SpikeyGG
    Participant

    Alright, I started really keeping track since the last time I posted a few months back and it does seem to be on a regular weekly cadence.

    – Gone 06/22/21 @ 2:43am – Reset 06/22/21 @ 8:00am
    – Gone 06/29/21 @10:43am – Reset 06/29/21 @10:30pm
    – Gone 07/09/21 @ 7:14am – Reset 07/09/21 @ 7:41am
    – Gone 07/17/21 @ 5:33pm – Reset 07/18/21 @ 8:45am
    – Gone 08/01/21 @ 7:06pm – Reset 08/02/21 @12:30am
    – Gone 08/09/21 @ 2:15am – Reset 08/09/21 @ 7:08am

    I’ve found that when it goes into this state, the sprinklers seem to still run so the unit isn’t completely offline but it is inaccessible via WiFi. I might try the static IP method that Val suggested to see if that breaks the cycle.


    SpikeyGG
    Participant

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


    SpikeyGG
    Participant

    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.

    Thanks,
    -Greg
    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.

    in reply to: Opensprinkler on ESP8266 #63316

    SpikeyGG
    Participant

    Guys, I have the components but I’m a bit of a newb when looking through the code. I’ve got the ESP8266 programmed to hook up to my wifi and I can see the web service. I have the RTC and LCD working but I can’t figure out how to hook up the 74HC595 so it controls the relays. Does someone have a wiring diagram of the ESP8266 and the 74HC595? I don’t understand how the shift register works with this…

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