2024 Ohio Reef Frag Swap

2024 flyer

Author Topic: Apex programing  (Read 1528 times)

0 Members and 1 Guest are viewing this topic.

Offline lazylivin

  • Administrator
  • Adult
  • *****
  • Posts: 11,471
Apex programing
« on: January 23, 2017, 21:10:43 »
Currently my lights run 4pm-10pm every day. I wouls like on Saturday to run them from 10am-6pm. Is there an if statement i can do for unique schedule sat?

This is what i have now

Fallback OFF
Set OFF
If Time 16:00 to 22:00 Then ON
If Temp > 80.0 Then OFF
Min Time 005:00 Then OFF


Offline Wall_Tank

  • Administrator
  • Adult
  • *****
  • Posts: 3,756
Re: Apex programing
« Reply #1 on: January 23, 2017, 23:23:15 »
The Day of Week statement is like this.
If DoW SMTWTF- Then OFF     .....will turn the outlet off any day, but Saturday
If DoW -M-W-F- Then ON      .....will turn the outlet on, Mon, Wed and Friday

Here is an example.  This turns the outlet on an hour early on Sat and Sun.

Fallback ON
Set OFF
If Time 07:00 to 08:00 Then ON
If DoW -MTWTF- Then OFF
If Time 08:00 to 19:30 Then ON

Your case is more difficult.  We need to use Dummy Outlets, Pretty sure this will work.  But I didn't test it.

DUMMY1    (On Saturday from 10 to 18)
Set OFF
If Time 10:00 to 18:00 Then ON
If DoW SMTWTF- Then OFF

DUMMY2    (ON Everyday but Saturday 16 to 22)
Set OFF
If Time 16:00 to 22:00 Then ON
If DoW ------S Then OFF

Light   (This is the actual Outlet)
Fallback OFF
Set OFF
If Outlet DUMMY1 = ON Then ON
If Outlet DUMMY2 = ON Then ON
If Temp > 80.0 Then OFF
Min Time 005:00 Then OFF

Offline lazylivin

  • Administrator
  • Adult
  • *****
  • Posts: 11,471
Re: Apex programing
« Reply #2 on: January 24, 2017, 19:50:18 »
SWEET! Thanks paul :)

 

Powered by EzPortal