ADICON Support Forum Applied Digital, Inc.
Page 1 of 1 1
Topic Options
#19678 - 03/21/08 07:06 AM Missing Event
Neil Offline
enthusiast


Registered: 02/03/05
Posts: 211
This routine works like a charm, everyday all the time, as the time reaches first then the light level drops (Var #25).

However, if its a cloudy day, and the light level drops first and then the time follow (sunset -120 mins), the routine would not execute.

Please help.

0254 - IF Variable #25 becomes < 195 // Living Room Light
0255 - AND Time of Day is > Sunset offset -120 minutes //
0256 - THEN Timer #30 = 1 // start timer
0257 - IF Variable #25 becomes > 195 // light level goes high
0258 - AND Time of Day is > Sunset offset -120 minutes //
0259 - THEN Timer #30 = 0 // stop timer
0260 - IF Timer #30 becomes > 100 // ligh level stays low for 2 min
0261 - THEN X-10 House B / Unit 6, Turn ON // Living Rm
0262 - THEN Timer #30 = 0 // stop timer
_________________________
Neil

Top
#19680 - 03/21/08 11:17 AM Re: Missing Event [Re: Neil]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6548
Loc: Montreal, QC, Canada
In that case you need to another routine: one where the time triggers the timer if the light level is low. Something like this (added lines 257 to 259):

0254 - IF Variable #25 becomes < 195 // Living Room Light
0255 - AND Time of Day is > Sunset offset -120 minutes //
0256 - THEN Timer #30 = 1 // start timer

0257 - IF Time of Day becomes > Sunset offset -120 minutes //
0258 - AND Variable #25 is < 195
0259 - THEN Timer #30 = 1 // start timer

0260 - IF Variable #25 becomes > 195 // light level goes high
0261 - AND Time of Day is > Sunset offset -120 minutes //
0262 - THEN Timer #30 = 0 // stop timer

0263 - IF Timer #30 becomes > 100 // ligh level stays low for 2 min
0264 - THEN X-10 House B / Unit 6, Turn ON // Living Rm
0265 - THEN Timer #30 = 0 // stop timer
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#19682 - 03/24/08 06:07 AM Re: Missing Event [Re: Guy Lavoie]
Neil Offline
enthusiast


Registered: 02/03/05
Posts: 211
Guy:

That makes sense, will add to my routine, thank you. However there is no: If Time of Day BECOMES> Sunride offset -120.

I am having another probelm with DST, a week or 2 ago the time never changed over on Sunday, I set the controller timer to PC timer, then yesterday, Sunday, the time advance 1 hr. ????

Thanks
_________________________
Neil

Top
#19683 - 03/24/08 06:47 AM Re: Missing Event [Re: Neil]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6548
Loc: Montreal, QC, Canada
 Originally Posted By: Neil
Guy:

That makes sense, will add to my routine, thank you. However there is no: If Time of Day BECOMES> Sunrise offset -120.


You're right, sorry about that! Just use "If Time of Day BECOMES = Sunrise offset -120" instead.

 Originally Posted By: Neil

I am having another probelm with DST, a week or 2 ago the time never changed over on Sunday, I set the controller timer to PC timer, then yesterday, Sunday, the time advance 1 hr. ????
Thanks


Are you using the latest executive version? You need to be running application version 3.18 for the time to change on the new dates.
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#19684 - 03/24/08 07:03 AM Re: Missing Event [Re: Guy Lavoie]
Neil Offline
enthusiast


Registered: 02/03/05
Posts: 211
http://www.appdig.com/adicon_new/download.htm

Is the above the link for the latest update?

Code Editor: V2.00e3
Firmware V8.13/58
Application V3.18
_________________________
Neil

Top
#19685 - 03/24/08 07:19 AM Re: Missing Event [Re: Neil]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6548
Loc: Montreal, QC, Canada
The latest code editor is 2.00e5 (not e3). Have you just downloaded from that link and are seeing 2.00e3?
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#19686 - 03/24/08 09:45 AM Re: Missing Event [Re: Guy Lavoie]
Neil Offline
enthusiast


Registered: 02/03/05
Posts: 211
No, my e3 was before the link, I d/load and now showing e5.

Thanks
_________________________
Neil

Top
Page 1 of 1 1


Moderator:  Dan Smith, Monte G, ADI Tech Support, Guy Lavoie 
Hop to:
Who's Online
0 registered and 59 anonymous users online.
Recent Posts
am pm
by edr
05/05/17 05:25 PM
Shout Box

Newest Members
brigiel, vevevie, zhutree, 416, saiqul
3003 Registered Users
Forum Stats
3003 Members
19 Forums
3999 Topics
23425 Posts

Max Online: 132 @ 11/13/16 10:07 AM
May
Su M Tu W Th F Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31