Connection between LightsOnPorts and Actinic/Daylight value?

Related to the development libraries, released by Curt Binder
Post Reply
phrusher
Posts: 65
Joined: Fri May 25, 2012 12:22 am

Connection between LightsOnPorts and Actinic/Daylight value?

Post 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.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Connection between LightsOnPorts and Actinic/Daylight va

Post 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.
Roberto.
phrusher
Posts: 65
Joined: Fri May 25, 2012 12:22 am

Re: Connection between LightsOnPorts and Actinic/Daylight va

Post 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.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Connection between LightsOnPorts and Actinic/Daylight va

Post by rimai »

:)
Yeah it is possible. You know that :twisted:
Look at line 619 of ReefAngel.cpp
Maybe anothe define??? ;)
Roberto.
phrusher
Posts: 65
Joined: Fri May 25, 2012 12:22 am

Re: Connection between LightsOnPorts and Actinic/Daylight va

Post by phrusher »

Awesome!

defines to the rescue :)
Post Reply