Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moon light setup #43

Closed
ennuf opened this issue Feb 17, 2020 · 2 comments
Closed

Moon light setup #43

ennuf opened this issue Feb 17, 2020 · 2 comments
Assignees

Comments

@ennuf
Copy link

ennuf commented Feb 17, 2020

**aquacontrol version: 1.6.6
**Arduino IDE version: 1..8.12
**ESP32 Arduino core version:1.0.4

The Readme tells "Moon light settings can be adjusted in the channels area of the web-interface" but I can't figure out how. Maybe the problem lies between chair and computer, I can't find any setting related to moon light on this area of the web interface that I could change. It only shows the percentage of illumonation and a picture of the moon phase. In the lower area I can change the channel names and colors. Can you clarify how the moon light setup is supposed to work?

Thanks for your help and this great project

@CelliesProjects
Copy link
Owner

CelliesProjects commented Feb 18, 2020

It is indeed not so clear from the channels page.
The sliders on the channels page set the full moon output per channel.

The code just takes the full moon level you set and multiplies it with the percentage visible moon surface that is lit.

So:
If you put the first channel on 0.5% then this channel will be 0.5% x 1.0(full moon) = 0.5% at full moon.
At half moon it will be 0.5% x 0.5(half moon) = 0.25%.
At new moon it will be 0.5% x 0.0(new moon) = 0%.

Channels set to 0% will stay dark during the whole lunar cycle.

I hope this is clear.

@CelliesProjects
Copy link
Owner

CelliesProjects commented Feb 18, 2020

I changed the label from bug to enhancement and a future commit will address this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants