|
![]() |
|
|
#1 |
|
Registered Member
Join Date: Sep 2007
Location: Miami
Posts: 229
|
what the matter with my CODE???
I want my MH's to turn on at 6:00 pm and off at 1:00 am
Its set to auto but not working?????? If Time > 18:00 Then MH1 ON If Time > 01:00 Then MH1 OFF |
|
|
|
|
|
#2 |
|
WHO DAT??
Join Date: Sep 2009
Location: Baton Rouge, LA
Posts: 5,105
|
That's invalid syntax for the If Time statement. It must be like this:
If Time 18:00 to 01:00 Then ON The User Guide has a complete syntax chart for every command. You should download and review that.
__________________
A government that robs Peter to pay Paul can always count on the support of Paul - George Bernard Shaw When the people find that they can vote themselves money, that will herald the end of the republic - Benjamin Franklin |
|
|
|
|
|
#3 | |
|
Registered Member
Join Date: Mar 2002
Location: Atlanta
Posts: 962
|
Quote:
If you are using an Apex, try the command Alan suggested. I you are using an older Aquacontroller, try reversing the order of the commands like this: If Time > 0:00 Then MH1 ON IF Time > 01:00 Then MH1 OFF If Time > 18:00 Then MH1 ON |
|
|
|
|
|
|
#4 |
|
Registered Member
Join Date: Sep 2007
Location: Miami
Posts: 229
|
I am using an AC3 Pro ...For the firmware iam only using the interface found here:
http://192.168.0.55/ When i asked Neptune they told me not to download aquanotes???? Should I |
|
|
|
|
|
#5 |
|
Registered Member
Join Date: Mar 2007
Location: Richland WA
Posts: 542
|
Just use the interface you are using (web server built into the AC3) and change the statements for time to what Schwaggs states above. That will fix your problem. The AC3 evaluates statements in order, so seeing that the time is > 01:00, it figures it should be turning things off. If the lights were to be on at all with your statements you listed in your first post, there's no possibility for the lights to register a time that they should be on (18:00 > 00:00 - so even at midnight when time is not > 01:00, there is nothing to turn them on).
|
|
|
|
|
|
#6 |
|
Registered Member
Join Date: Sep 2007
Location: Miami
Posts: 229
|
thanks everyone....the problem was I did not have the internal clock set to 24hr time....
|
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| thread | Thread Starter | Forum | Replies | Last Post |
| Brightwell Liquid Reef vs Code A/Code B | aidandane | New to the Hobby | 5 | 08/07/2009 03:48 PM |
| Buggy Code- code conflict?????? | matt the fiddler | Neptune Systems | 5 | 10/19/2007 08:41 AM |
| Just a matter of time. | beach1 | Cephalopods | 12 | 07/16/2002 08:55 PM |