Page 25 of 26

Re: PaulTurner911 Code

PostPosted: Mon Dec 15, 2014 1:25 pm
by Paulturner911
I found my temp probe was out of the water in the sump, but it still should have activated anytime under 75, which it didnt.

This also "fixed" the calibration "issues" between the RA and the chiller, since the probe was in and out of the water level. Dumb mistake, but still doesnt justify it not turning on under 75. Thank you Lee

Could it have something to do with the temp probe assignments? In my code it pulls overheat from temp probe 1. You would think thats the trigger, but Im reaching for anything to make it jive in my eyes within the code...

Re: PaulTurner911 Code

PostPosted: Mon Dec 15, 2014 2:49 pm
by lnevo
Oh the standard heater only works with the T1 probe. If you cant switch them i'll write you a function

Re: PaulTurner911 Code

PostPosted: Mon Dec 15, 2014 3:31 pm
by Paulturner911
T1 IS the probe in the sump, T2 is in the stand basically ambient temp.... I can switch them, but why?

Re: PaulTurner911 Code

PostPosted: Mon Dec 15, 2014 4:06 pm
by lnevo
Nevermind was hoping that was it. Roberto can you check the code. I need some more eyes on it.

Re: PaulTurner911 Code

PostPosted: Mon Dec 15, 2014 4:29 pm
by rimai
It should be this:
Code: Select all
ReefAngel.StandardHeater(Port2,750,760);

instead of this:
Code: Select all
ReefAngel.StandardHeater(Port2,75,76);

Re: PaulTurner911 Code

PostPosted: Mon Dec 15, 2014 5:21 pm
by Paulturner911
You rock!!

Re: PaulTurner911 Code

PostPosted: Mon Dec 15, 2014 5:35 pm
by lnevo
I'm so slow...

Re: PaulTurner911 Code

PostPosted: Mon Dec 15, 2014 6:08 pm
by Paulturner911
Lee!! You've walked me through EVERYTHING! You're the man!!

Re: PaulTurner911 Code

PostPosted: Mon Dec 15, 2014 6:24 pm
by lnevo
Roberto,

Do you think if we convert the function that if the values are less than 100 we multiply by 10 automatically? I don't think anyone is going to want 2.4 degrees to 2.6 degrees celsius in any aquarium, nor do we want 7.5 -7.8, etc.

Also, I think we could add a StandardHeater2 or a StandardHeater function with an arg for the temp probe? What do you think?

Re: PaulTurner911 Code

PostPosted: Mon Dec 15, 2014 6:48 pm
by rimai
That works :)