• Welcome back Guest!

    MARSH is a private reefing group. Comments and suggestions are encouraged, but please keep them positive and constructive. Negative threads, posts, or attacks will be removed from view and reviewed by the staff. Continually disruptive, argumentative, or flagrant rule breakers may be suspended or banned.

Looking for an Apex coding guru (1 Viewer)

Users who are viewing this thread

Stickboy97

Supporting Member
Joined
Dec 13, 2009
Messages
786
Reaction score
628
Location
Humble & Conroe, TX
Help me...... I want my Apex to turn on a circuit or outlet twice a week for 45 minutes. Say Monday and Friday from 8:00pm - 8:45pm

How do I write that?
 

soymilk

Supporting Member
Joined
Feb 3, 2010
Messages
2,608
Reaction score
1,347
Location
Fresno, Texas
only monday thru friday?


Fallback ON
Set OFF
If DoW -MTWTF- Then ON
If Time 20:45 to 20:00 Then OFF
 
OP
OP
Stickboy97

Stickboy97

Supporting Member
Joined
Dec 13, 2009
Messages
786
Reaction score
628
Location
Humble & Conroe, TX
I tried this, it was close, but didn't work. lol
Fallback OFF
Set OFF
If DoW -M---F- Then ON
If Time 20:00 to 20:45 Then ON

Just looking for M & F, I'll try yours but swap out for the M & F only.

Thx!
 

soymilk

Supporting Member
Joined
Feb 3, 2010
Messages
2,608
Reaction score
1,347
Location
Fresno, Texas
apex doesn't seem to like it if you use DOW then on, and if time xxxxx then on.

If the code I posted doesn't work, I can try some different syntax.



Fallback ON
Set OFF
If Time 20:00 to 20:45 Then ON
If DoW S-TWT-S Then OFF
 

Cody

Vice President
Staff member
Administrator
Moderator
Content Moderator
Board Member
Supporting Member
Joined
Jul 23, 2014
Messages
7,309
Reaction score
4,249
Location
Spring, TX
Help me...... I want my Apex to turn on a circuit or outlet twice a week for 45 minutes. Say Monday and Friday from 8:00pm - 8:45pm

How do I write that?
Out of curiosity, whatcha turning off and on at such a specific time with that there Apex?
 
Top