Moonlight simulation is now available
Lunar phase, moonrise and moonset are calculated directly on the controller for a natural nightly curve.

The open-source Borneo-IoT LED PWM controller now includes a built-in moonlight simulation feature. The controller uses the current time together with a configured latitude and longitude to calculate moon phase and precise moonrise and moonset times.
Every astronomical calculation runs on the MCU. No cloud service or external API is required, and the aquarium continues its natural nightly cycle when the internet is unavailable.
A lunar curve, not a timer
The controller combines lunar illumination with the timing of nightly events, then drives low-intensity LED channels through gradual moonrise and moonset transitions. Brightness changes subtly through the lunar cycle and preserves the dark intervals important to animal health.
Why it matters
Many coral species synchronise spawning and other reproductive behaviours with lunar cues. More accurate nocturnal illumination can support healthier natural cycles while giving the aquarium a restrained, engaging night view without disturbing its inhabitants.
The feature is available now in the open-source codebase. Real-world observations and contributions are welcome.

