OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Python Interval Program V 2.0.2 now available Re: Re: Python Interval Program V 2.0.2 now available

#27549

Andrew
Participant

The timezone is set correctly in the OS and also in the options. There was a similar problem about two years ago with the original OpenSprinkler where the javascript didn’t cope with timezones significantly forward of UTC-5 from memory (Rob’s local timezone). I’ve pasted a copy of my programs below and my timezone is set to UTC+10.

For ‘today’, nothing shows even programs that have run and are in the log. For ‘prev day’ everything shows as expected, and for ‘next day’ all the non-recurring waterings display correctly and recurring waterings show the first watering only. I’ve attached the screen shots that should explain more clearly.

[attachment=2:3kggq1lo]today.png[/attachment:3kggq1lo]
[attachment=1:3kggq1lo]yesterday.png[/attachment:3kggq1lo]
[attachment=0:3kggq1lo]tomorrow.png[/attachment:3kggq1lo]

On a side note: can the options choice be removed and simply have ospi.py use the localtime from the system. Having it duplicated is a bit wasteful and then the options doesn’t automatically pickup daylight saving time, etc. Also if someone doesn’t have the underlying OS configured properly it can be masked by the time display in ospi.py

Thanks,
Andrew

Program 1: Every Weekday
Run: Lawn – front
Starting: 8:30 am for 0 mins 30 secs
Recurring every 8 hrs 0 mins until 6:00 pm

Program 2: Every Weekday
Run: Verandah baskets
Starting: 6:00 am for 1 mins
Recurring every 6 hrs 0 mins until 6:30 pm

Program 3: Every Weekday
Run: Tree fern
Starting: 6:00 am for 1 mins
Recurring every 6 hrs 0 mins until 6:30 pm

Program 4: Every 2 days, starting in 1 days.
Run: Front dripper line
Starting: 8:30 am for 60 mins

Program 5: Every 2 days, starting in 1 days.
Run: Lawn – verandah
Starting: 8:00 pm for 30 mins