# Fade effect at defined time

**URL:** <https://forum.xod.io/t/fade-effect-at-defined-time/2334>\
**Category:** Uncategorized\
**Created:** [June 12, 2019, 2:06am UTC](https://forum.xod.io/t/fade-effect-at-defined-time/2334 "2019-06-12T02:06:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nono007](https://avatars.discourse-cdn.com/v4/letter/n/839c29/32.png) [@nono007](https://forum.xod.io/u/nono007)\
**Post date:** [June 12, 2019, 2:06am UTC](https://forum.xod.io/t/fade-effect-at-defined-time/2334/1 "2019-06-12T02:06:43Z")

</div>

Hi everybody,  
I have an aquarium, and so I would like a blue light and a white with sunrise and sunset effect, at exact times. Has anyone ever done anything for an aquarium or terrarium ? Or an example 🙂  
thanks

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [June 12, 2019, 3:21am UTC](https://forum.xod.io/t/fade-effect-at-defined-time/2334/2 "2019-06-12T03:21:17Z")

</div>

If you want exact times, you will need an RTC (Real Time Clock) module. If you can put up with some drift and occasionally resetting it, you could use very long delays and basically use the something like the traffic light example. With the later option, you can assume it is sunset (or sunrise) when board is reset.
