Clarisea Mod For Apex Control With Optical Sensor

SuncrestReef

That Apex guy
View Badges
Joined
Jan 18, 2018
Messages
4,214
Reaction score
9,217
Location
Oregon
Rating - 0%
0   0   0
@SuncrestReef

is the min time off statement necessary in both
Klir and Klircontrol? I recently changed the timing on both of those statements to 15 minutes. Today i had a strange situation where the osc function spun the motor but for some reason within 15 min the float tripped and the klirlimit switched on and stayed on but because the float remained up it never shut off and therefor did not roll again. I think it might have had something to do with the defer timing so i increased that. Im also going to change the min time to 5 minutes but want to clean it up if i dont need it in both...
Notice in my code there was a 4 second Min Time ON which exactly matched the 4 seconds ON of the OSC command. If you only changed the Min Time value to 15 minutes but left the OSC at 4 seconds, then every single time the OSC runs the Min Time will force it to remain On for 15 minutes. I really doubt that's what you intended. The Min Time 000:04 Then ON was needed to make it run for 4 seconds only when manually triggered by the physical button.

This was a carefully-crafted solution. Be sure you thoroughly understand what it's designed to do before tinkering with the timers. If you want it to run for different amounts of time when manually triggered but only 4 seconds on the OSC schedule, then the whole thing needs to be re-architected because you can't accomplish that by just changing the Min Time value.
 

infinite0180

Valuable Member
View Badges
Joined
Apr 25, 2018
Messages
1,821
Reaction score
1,096
Rating - 100%
1   0   0
Notice in my code there was a 4 second Min Time ON which exactly matched the 4 seconds ON of the OSC command. If you only changed the Min Time value to 15 minutes but left the OSC at 4 seconds, then every single time the OSC runs the Min Time will force it to remain On for 15 minutes. I really doubt that's what you intended. The Min Time 000:04 Then ON was needed to make it run for 4 seconds only when manually triggered by the physical button.

This was a carefully-crafted solution. Be sure you thoroughly understand what it's designed to do before tinkering with the timers. If you want it to run for different amounts of time when manually triggered but only 4 seconds on the OSC schedule, then the whole thing needs to be re-architected because you can't accomplish that by just changing the Min Time value.
Heres what i was running:

[KlirControl] -- VO
Set OFF
If S_KLIR CLOSED Then ON
If Output KlirLimit = ON Then OFF
Min Time 015:00 Then OFF

[KlirLimit] -- VO
Set OFF
If S_KLIR CLOSED Then ON
Defer 000:04 Then ON

[Klir]
Fallback OFF
OSC 000:00/000:01/239:59 Then ON
If Output KlirControl = ON Then ON
Min Time 000:04 Then ON
Min Time 015:00 Then OFF
If Output ReturnPump = OFF Then OFF

Here is my day from noon on. Take a look at 4pm, when i got home and saw what was happening i manually shut klirlimit off at 6:22pm.

182021-03-22
12:00:00
Klir
ON
192021-03-22
12:00:05
Klir
OFF
202021-03-22
12:14:48
Heater1
ON
212021-03-22
12:27:31
TmpHighPower
ON
222021-03-22
12:27:31
Heater2
ON
232021-03-22
13:15:00
T5-2
ON
242021-03-22
13:15:00
T5-Fan
ON
252021-03-22
14:30:00
T5-4
ON
262021-03-22
15:00:04
TmpHighPower
OFF
272021-03-22
15:00:04
Heater2
OFF
282021-03-22
16:00:00
Klir
ON
292021-03-22
16:00:05
Klir
OFF
302021-03-22
16:11:29
KlirControl
ON
312021-03-22
16:11:33
KlirLimit
ON
322021-03-22
16:11:33
KlirControl
OFF
332021-03-22
16:31:00
Feeder
ON
342021-03-22
16:31:30
Feeder
OFF
352021-03-22
16:49:33
TmpHighPower
ON
362021-03-22
16:49:33
Heater2
ON
372021-03-22
18:22:08
KlirLimit
OFF
382021-03-22
18:22:08
KlirControl
ON
392021-03-22
18:22:08
Klir
ON
402021-03-22
18:22:12
KlirControl
OFF
412021-03-22
18:22:13
Klir
OFF
422021-03-22
18:35:20
TmpHighPower
OFF
432021-03-22
18:35:20
Heater2
OFF

I had changed the osc function to 1 sec to simplify the code because the min time on kept it going for 4 sec regardless....
 

infinite0180

Valuable Member
View Badges
Joined
Apr 25, 2018
Messages
1,821
Reaction score
1,096
Rating - 100%
1   0   0
@SuncrestReef

it appears what happened was at 4pm the roller advanced like it should but within 15 min the water was dirty enough to lift the float. Because it was within 15 min of 4pm the klir did not turn on but klirlimit was activated as it should because the float lifted for more than 4 sec. The float remained in the open position and kept klirlimit on even after the 15 min expired. If i did not intervene then it would have all corrected itself at 8pm. My thought is to lower the 15 min off time to something closer to 5 min, that way its only preventing a stuck float switch, which is the goal. Any thoughts?
 

David Cher

Well-Known Member
View Badges
Joined
Feb 8, 2016
Messages
850
Reaction score
156
Rating - 0%
0   0   0
So I got tired of the Clarisea controller beeping and being annoying so I decided to cut it off and directly wire it into the power adapter it came with. Lo and behold, the roller turns on when plugged in which makes it a great fit for the Apex!

My current program turns on the fleece roller for 4 seconds every 25 minutes:

Fallback OFF
OSC 000:00/000:04/025:00 Then ON


I was interested in adding in an optical sensor here to turn on for 4 seconds if the sensor is closed and wait 15 mins between times that its allowed to turn on again. Does this code look kosher to ya'll?

Fallback OFF
Set OFF
OSC 000:00/000:04/025:00 Then ON
If OS1 CLOSED Then ON
If OS1 OPEN Then OFF
Defer 000:04 Then OFF
Min Time 015:00 Then OFF

@stacksoner how did you hardwired it ?
 
OP
OP
stacksoner

stacksoner

Well-Known Member
View Badges
Joined
Jul 29, 2018
Messages
810
Reaction score
1,163
Rating - 0%
0   0   0
@stacksoner how did you hardwired it ?
You need to cut off the control module on the cord, splice both wires, and connect them.

What's cool is that you can make the roll spin in either direction depending on which way you connect the two ends.
 

Creating a strong bulwark: Did you consider floor support for your reef tank?

  • I put a major focus on floor support.

    Votes: 26 39.4%
  • I put minimal focus on floor support.

    Votes: 16 24.2%
  • I put no focus on floor support.

    Votes: 22 33.3%
  • Other.

    Votes: 2 3.0%
Back
Top