Please login or register.

Login with username, password and session length

Poll

If using the calculated dusk times in ActiveHome, are you happy with accuracy of those calculated times

very happy - switching times as expected
- 2 (50%)
OK - but surprised by variations sometimes
- 1 (25%)
Switching times all over the place
- 0 (0%)
Given up - gone back to using fixed times
- 1 (25%)
given up on Activehome
- 0 (0%)

Total Members Voted: 4


Author Topic: Dawn/Dusk - calculated activation times - Tools/Statistics menu  (Read 13406 times)

dash

  • Full Member
  • ***
  • Helpful Post Rating: 1
  • Posts: 57

My very first schedule using the CM12 (UK) PC interface module ran OK last night. Not from the PC though; I dowloaded it all to the EEPROM in the CM12. I have 2 macros and 4 individual timed events running on selected modules.

I used the dawn/dusk option in one of my macros and chose a different offset (from dusk) for each of 3 modules.

However, the activation time did not coincide with the time listed in the Tools/Statistics menu (it switched about 10 mins later). Are different formalae being used in different parts of the system, or is there some other error?

Would be interested to hear anyone elses experience/suggestions....

  Dave  ;)
« Last Edit: August 28, 2007, 03:13:57 AM by dash »
Logged
Automation is great - but really frustrating when it doesn't work as expected !!

Charles Sullivan

  • Hero Member
  • *****
  • Helpful Post Rating: 94
  • Posts: 1565
    • HEYU - X10 Automation for Linux, Unix, and Mac OSX
Re: Dawn/Dusk - calculated activation times - Tools/Statistics menu
« Reply #1 on: August 26, 2007, 11:15:04 AM »

My very first schedule using the CM12 (UK) PC interface module ran OK last night. Not from the PC though; I dowloaded it all to the EEPROM in the CM12. I have 2 macros and 4 individual timed events running on selected modules.

I used the dawn/dusk option in one of my macros and chose a different offset (from dusk) for each of 3 modules.

However, the activation time did not coincide with the time listed in the Tools/Statistics menu (it switched about 10 mins later). Are different formalae being used in different parts of the system, or is there some other error?

Would be interested to hear anyone elses experience/suggestions....

  Dave  ;)

The CM12U has only a 1K EEPROM and your schedule of events has to be made to fit into that space by using a stair-step approximation to the daily times of dawn and dusk.  My recollection from studying the ActiveHome 1.42 software several years ago is:
  1. It doesn't do a very good job of computing the stair-step approximation in the first place - it really falls apart in the last few weeks of the year.
  2. It's not actually using the stair-step it shows you.

A 10 minute error from the _actual time_ of dusk for your locality is not too bad considering you have 3 separate sequences of dusk times, however the daily dusk-time curve is still relatively flat at this time of year.

Presuming your events all occur on the same days of the week and over the same date interval, you can improve the precision by using only one sequence of dusk times and using a time delay for the other two offsets.  I.e., your macros are all executed at dusk (or dusk minus some offset), but each event is appropriately delayed from that execution time.

Logged
Yesterday it worked.
Today it doesn't work.
X10 on Windows is like that.

HEYU - X10 Automation for Linux, Unix, and Mac OS X     http://www.heyu.org

dash

  • Full Member
  • ***
  • Helpful Post Rating: 1
  • Posts: 57
Re: Dawn/Dusk - calculated activation times - Tools/Statistics menu
« Reply #2 on: August 26, 2007, 11:21:54 AM »

"Presuming your events all occur on the same days of the week and over the same date interval, you can improve the precision by using only one sequence of dusk times and using a time delay for the other two offsets.  I.e., your macros are all executed at dusk (or dusk minus some offset), but each event is appropriately delayed from that execution time."

Hi Charles

Thanks for the comments. What you described in your last paragraph (pasted above) is exactly what I have done...  I've managed to squeeze the full 50 resolution for dawn/dusk onto the EEPROM

Cheers

 Dave
Logged
Automation is great - but really frustrating when it doesn't work as expected !!
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.