OpenSprinkler Forums OpenSprinkler Unified Firmware Bug: Odd programs not running on 29th and 31st days of month

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

    wgtn28
    Participant

    Hello,

    I have two programs, one for odd and one for even days. I have noticed over the last few months that the odd program does not run on the 29th or 31st days in the month.

    Odd programs set to run on the 29th day appear in the UI “Program Preview” page in advance before and after the 29th date, but once the current date is the 29th changes to “No stations set to run on this day.” and no watering is activated.

    Odd programs set to run on the 31st day do not appear at any time in the UI “Preview Program” page and no watering is activated.

    My rain sensor is not activated and I have not set a manual delay. Also my locality use dd/mm/yy if that can assist in debugging.

    Im using App version 1.2.8, Hardware 2.2, Firmware 2.1.2.

    Thanks in advance,

     

    #35461

    wgtn28
    Participant

    Hi, A further update to this.

    I have browsed the source code and found where the issue is plus several comments about skipping odd programs on the 31st and Feb 29th (leap year)  and code that handles when leap years occur. I still could not figure out why odd programs are not running on the 29th day of the month.

    So I am now curious as to why this is, why odd programs have been created to not run on 31st days of month or 29 Feb?

    Thanks

    #35462

    Mike
    Participant

    I’m not one of the developers, but it seems to me that you might want to skip the 31st because otherwise you’ll end up watering two days in a row.  You’d water on the 31st and again on the 1st.  I don’t know why you wouldn’t water on the 29th if it’s not the last day of the month.  Just my two cents.

    Mike

    #35463

    wgtn28
    Participant

    That is a very good point Mike, but I believe you could get around watering been scheduled two days in a row by using even restrictions if that allows.

    If you live in a hot area like I do and have garden watering restrictions applied to only odd days after 4pm, having two odd days back to back is a bonus!

    The only reason I noticed this problem was we had a few weeks of very high temperatures, watering only occurred on the 27th and 1st and the four days in between nothing happened when there should have been two days of watering squeezed in there (29th and 31st).

    🙂

    #35496

    Ray
    Keymaster

    @wgtn28: Odd-day restriction skipping 31st and Feb 29th is a pretty standard practice — most sprinkler controllers that support odd day restriction do the same. The reason is that the day following the 31st (as well as Feb 29th) is another odd day, so this avoids watering two days in a roll.

    Program not executing on Jan 29th is unusual. To make sure there is no other factor: are you using weather-based water time adjustment? Did you set your program to run on specific days of a week? I didn’t quite understand what you said here: “Odd programs set to run on the 29th day appear in the UI “Program Preview” page in advance before and after the 29th date, but once the current date is the 29th changes to “No stations set to run on this day.” and no watering is activated.”. Do you mean the Program Preview shows “No stations set to run on this day” or do you mean the Log shows “No stations ran on this day”? If the preview shows no stations set to run on this day, it would be either the weather-based adjustment set it to zero, or your programs are set to run only selected days of a week. Hope this makes sense.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums OpenSprinkler Unified Firmware Bug: Odd programs not running on 29th and 31st days of month