Page 1 of 1

Dimming lights to 0

Posted: Wed Nov 12, 2014 10:09 pm
by paperdesk
My lights are dimming very low, but they still glow slightly even at 0%. I was told that the following code would take care of this, but I didn't get it to work. Can someone help?

if ( hour()>=13 && hour()<21 )
ReefAngel.PWM.SetChannel( 5, 0 );
else
ReefAngel.PWM.SetChannel( 5, PWMSlope(21,0,13,0,0,MoonPhase() ,60,0) );


And here is my current code:

ReefAngel.PWM.SetDaylight( PWMSlope(8,0,21,0,0,40,60,0) );
ReefAngel.PWM.SetActinic( PWMSlope(8,0,21,0,0,50,60,0) );

Thank you,

Ted

Re: Dimming lights to 0

Posted: Wed Nov 12, 2014 10:59 pm
by paperdesk
paperdesk wrote:My lights are dimming very low, but they still glow slightly even at 0%. I was told that the following code would take care of this, but I didn't get it to work. Can someone help?

if ( hour()>=13 && hour()<21 )
ReefAngel.PWM.SetChannel( 5, 0 );
else
ReefAngel.PWM.SetChannel( 5, PWMSlope(21,0,13,0,0,MoonPhase() ,60,0) );


And here is my current code:

ReefAngel.PWM.SetDaylight( PWMSlope(8,0,21,0,0,40,60,0) );
ReefAngel.PWM.SetActinic( PWMSlope(8,0,21,0,0,50,60,0) );

Thank you,

Ted
BTW, I did put my own times in, but still it didn't seem to work.

Re: Dimming lights to 0

Posted: Thu Nov 13, 2014 3:35 am
by rimai
What drivers are they?
Does the screen show 0%?
Not all drivers are capable of turning off at 0%.

Re: Dimming lights to 0

Posted: Thu Nov 13, 2014 5:35 am
by lnevo
Are these the evergrow? You need to put something that says if the dimming is at 0 turn off the relays for the lights. They won't shut off at 0 by themselves.

Re: Dimming lights to 0

Posted: Thu Nov 13, 2014 8:26 am
by paperdesk
Sorry, I forgot to post the details. Inevo is right, I have the Evergrow D120 PWM version. One light dims to about 8% the other to about 7%. After that they blink to "0%" but actually retain a very faint glow. The RA app shows they are dimmed to 0%.

I ran out of plugs on my relay box, so the lights are not powered by the RA.

Am I out of luck unless I invest in another relay box?

If I can't fix it, could the drivers be damaged by this? For now I have the lights on a basic wall timer but the timer doesn't match the lights on/off cycle perfectly so they end up "glowing" for a while before and after they are dimmed at 0% by the RA.

Re: Dimming lights to 0

Posted: Thu Nov 13, 2014 1:39 pm
by lnevo
I dont think you can damage anything but dont take my word for it. I would set the timers/dimming schedule so that the timer shuts things off before they get to that point. I would recommend another relay box.

Re: Dimming lights to 0

Posted: Thu Nov 13, 2014 11:58 pm
by paperdesk
I was afraid this would be the answer!

Re: Dimming lights to 0

Posted: Fri Nov 14, 2014 5:37 am
by lnevo
Well think of all the money you saved getting evergrow lights :)

Re: Dimming lights to 0

Posted: Fri Nov 14, 2014 8:13 am
by paperdesk
Lol true!

Re: Dimming lights to 0

Posted: Fri Nov 14, 2014 2:33 pm
by AlanM
I run my large DIY light array on a separate outlet and on a little wall timer instead of off the ReefAngel. I just do it to keep another outlet on my Relay Box free for things that are more interesting than on in the morning and off in the evening.