Page 1 of 1

Connection between LightsOnPorts and Actinic/Daylight value?

Posted: Thu Aug 30, 2012 3:13 am
by phrusher
I just noticed that when I turn on the lights through the portal or Android RA Status then my Actinic and Daylight (analog dimming output) values are reset to 20% each. Is that by design or have I just missed something? It's a bit annoying since I run my Tunze on my analog out which means they stop when I turn on the lights (they need at least 25% to run).

This only happens when I manually turn the lights on. When my light schedule in RA turns on the lights it does not affect the analog out.

I can post my .ino later on when I get back home if you like.

Re: Connection between LightsOnPorts and Actinic/Daylight va

Posted: Thu Aug 30, 2012 7:43 am
by rimai
Yes, by design.
This is the LED lights override.
They will actually pulls values from memory location:
Mem_B_LEDPWMDaylight and Mem_B_LEDPWMActinic. If you set them to whatever value you prefer, your tunzes will turn into that value when you override lights on.

Re: Connection between LightsOnPorts and Actinic/Daylight va

Posted: Thu Aug 30, 2012 8:00 am
by phrusher
Is it possible to bypass this somehow? I'm going to use the separate dimming expansion module for the leds so I would prefer to not change the pumps depending of the light.

Re: Connection between LightsOnPorts and Actinic/Daylight va

Posted: Thu Aug 30, 2012 8:03 am
by rimai
:)
Yeah it is possible. You know that :twisted:
Look at line 619 of ReefAngel.cpp
Maybe anothe define??? ;)

Re: Connection between LightsOnPorts and Actinic/Daylight va

Posted: Thu Aug 30, 2012 8:11 am
by phrusher
Awesome!

defines to the rescue :)