ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
Re: [ECS] Sunrise and Sunset times
Kevin Trainor
Wed, 30 Aug 2000 16:13:11 -0500

Mark:

I am currently running ECS Version 4.4.004.  According to the manual for
that version, and according to your post below, I should have to add 60
minutes to the sunrise-time and sunset-time to get the proper values
adjusted for daylight time.  BUT, I appear to be getting proper daylight
time values without doing any further math.  Am I doing something wrong?

Based upon Latitude=+42 , Longitude=+87, Central time zone, and today's date
(8/30/00), I am getting a sunrise of 6:12 AM and a sunset of 7:23 PM.  These
are the correct times without any further adjustment.  I don't mean to
complain about getting the right answer.  But, doesn't this mean that I will
have to create code for the opposite correction when we revert to standard
time?

Kevin





----- Original Message -----
From: Mark Gilmore <omnip@usit.net>
To: <ecs-list@netbloc.com>
Sent: Wednesday, August 30, 2000 2:03 PM
Subject: Re: [ECS] Sunrise and Sunset times


> Hi Kevin,
> This has been addressed in the current beta.
> If you prefer to wait, add 60 to the times
> after they are calculated.
> --
> Mark Gilmore
> Omnipotence (ECS home automation software)
> http://omnipotencesoftware.com
> 423-745-0026
> Hours: Mon-Sat, 9AM-8PM/EST
>
>
> > Kevin Trainor wrote:
> >
> > I am having difficulty in making the sunrise-time and sunset-time work
> > as I expect.  Given the values that I put in for latitude, longitude,
> > and time zone, the sunrise-time and sunset-time seem to be assigned
> > reasonable values.  But, according to the documentation, these times
> > should be one hour early during the current daylight savings time.  I
> > can't tell if I am giving the parameters wrong or if perhaps ECS has
> > been enhanced to handle daylight savings time and the documentation is
> > just out of date.
> >
> > I live at approximately 42N, 87W (Chicago).  I am putting +42 in for
> > the latitude.  I am putting +93 in for the longitude (180-87).  I am
> > putting Central in for the time zone.  Can anyone see that I am doing
> > something wrong?  Or, has the daylight savings time problem been
> > solved and not documented?
> >
> > Thanks for your help.
> >
> > Kevin
>


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.