Jump to content

WAIT commands failed after EST to DST time change


Nestor
Go to solution Solved by larryllix,

Recommended Posts

Posted (edited)

I have a program that I use at bedtime to switch off lights, etc, including  a WAIT command to set my thermostat after several hours. I woke up this morning to find my thermostat hadn't returned to normal temperature. 

Another program I have keeps a rolling average of lux values from my tempest. (Thanks, @GSpitale01 ) It too has a short WAIT command and quit just before 0200. 

My time zone is Canada, ON, Toronto; DST checkbox is disabled. 

The lux program is more recent, but the bedtime program was used without issue when I had the 994i.

Is this a bug in EISY or am I misunderstanding a fundamental concept about the WAIT command? 

 

 

Edited by Nestor
  • Like 1
  • Solution
Posted (edited)

This is a problem that will not ever go away with Wait commands. When the Wait command is encountered ISY installs an absolute time into a stack to to be checked for that exact time to trigger an event or return to your program.

Now when there is no absolute time between 2:00 AM and 3:00 AM (doesn't exist) your Wait expiry time never occurs.

This has been discussed ad nauseum in these threads. Other problems occur when the clock return to STD time.

The cure needs to evaluate each case on its own conditions and provide a fix to suit. IIRC there are about 6 different scenarios to be handled differently and they have not implemented anything that complex due to other technologies taking most of the development time.

I always use  some "all else fails"  retrigger conditions in my IF section to circumvent loops stalling forever such as:

If
    time is 7:00 AM
 OR
   time is 7:00 PM
 OR
   other trigger conditions

THEN
    repeat every 5 minutes
        do something

ELSE
    -------

I received a warning that my CAO Wireless tags heartbeat failed, based on a heartbeat signal every 5 minutes. I have since extended that test to 90 minutes to avoid these annoyances.

Dear Doug Ford,
  Please stop the DST time nonsense and who cares what NY or QC is doing?

Edited by larryllix

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...