Water Level expansion starting and stopping intermittently

Expansion modules and attachments
Endaar
Posts: 28
Joined: Tue Apr 02, 2013 9:56 pm

Re: Water Level expansion starting and stopping intermittent

Post by Endaar »

I can't get it to do it with that code installed. Instead of the if/then can I use the other call?
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Water Level expansion starting and stopping intermittent

Post by rimai »

The code I posted should turn the pump on and off based on the level.
Roberto.
Endaar
Posts: 28
Joined: Tue Apr 02, 2013 9:56 pm

Re: Water Level expansion starting and stopping intermittent

Post by Endaar »

it does. I mean I can't get it to start and stop.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Water Level expansion starting and stopping intermittent

Post by rimai »

So the code is working as intended now?
Roberto.
Endaar
Posts: 28
Joined: Tue Apr 02, 2013 9:56 pm

Re: Water Level expansion starting and stopping intermittent

Post by Endaar »

if I leave that code you just gave me in.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Water Level expansion starting and stopping intermittent

Post by rimai »

Now, that's weird...
Sorry man, I think I need to sleep on this problem... It's very confusing how one code works and the other doesn't when they are basically the same thing... lol
Roberto.
Endaar
Posts: 28
Joined: Tue Apr 02, 2013 9:56 pm

Re: Water Level expansion starting and stopping intermittent

Post by Endaar »

Good Night. Thanks for the help.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Water Level expansion starting and stopping intermittent

Post by rimai »

The only thing I can think of is the way we are reading the values for the water level on the fly, instead of using an actual variable to store the information.
So, I'll change the libraries to store the information in a variable, which also makes it work better anyway.
It'll be in the next patch.
https://github.com/reefangel/Libraries/issues/82
Roberto.
Endaar
Posts: 28
Joined: Tue Apr 02, 2013 9:56 pm

Re: Water Level expansion starting and stopping intermittent

Post by Endaar »

Roberto,
I grabbed the files you updated in issue 82 and added ReefAngel.WaterLevelATO(Port1,300,61,63); back and the ATO still seems to behave the way it was. If I move the water level sensor below 61 the ATO will run continuously until it gets to 61 then it will run intermittently above 61 and I never see the screen get to 63.
I also moved the top end to 68 and I see the same behavior.
Could it be the sensor causing the issue?
Ant
Endaar
Posts: 28
Joined: Tue Apr 02, 2013 9:56 pm

Re: Water Level expansion starting and stopping intermittent

Post by Endaar »

Oh yeah I forgot to mention. When the RA is plugged into the relay and sensor the RA never times out, but if it the RA is powered on and the relay not connected and the water level reads 0 I will get a timeout as expected.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Water Level expansion starting and stopping intermittent

Post by rimai »

Did you just update the file or you updated the libs to latest 1.0.5?
Roberto.
jtomasi
Posts: 22
Joined: Thu Oct 25, 2012 11:35 am

Water Level expansion starting and stopping intermittently

Post by jtomasi »

did you try and re calibrate 0-100? No sure if that would help
coolsilver
Posts: 20
Joined: Mon Apr 01, 2013 7:15 am

Re: Water Level expansion starting and stopping intermittent

Post by coolsilver »

Try recalibrating the water level sensor

instructions from the water level expansion manual :

1. Using the joystick, navigate to “Water Level Calibration”.
2. Hold the pvc pipe outside of the water.
3. Let the reading stabilize and press the “Ok” button. :geek: (0 %)
4. Immerse the PVC pipe in water until it reaches the PVC adapter. (put the pipe in the holder inside the sump)
5. Let the reading stabilize and press the “Ok” button. :geek: (100 %)
Post Reply