A homemade [dawn simulation](https://en.wikipedia.org/wiki/Dawn_simulation) lamp.
A homemade [dawn simulation](https://en.wikipedia.org/wiki/Dawn_simulation) lamp.
The time is kept using a real-time clock, coupled with an NTP connection to avoid drift.
The time is kept using a real-time clock, coupled with an NTP connection to avoid drift.
##Material
##Material
- ESP8266-powered board (such as the [Wifi D1 mini](https://robotdyn.com/wifi-d1-mini-esp8266-dev-board-usb-ch340g.html) from RobotDyn)
- ESP8266-powered board (such as the [Wifi D1 mini](https://robotdyn.com/wifi-d1-mini-esp8266-dev-board-usb-ch340g.html) from RobotDyn)
- Real-time clock + SD card shield (such as the [Data logger shield](https://robotdyn.com/wifi-d1-mini-data-logger-shield-rtc-ds1307-with-battery-microsd.html), or two separate shields)
- Real-time clock + SD card shield (such as the [Data logger shield](https://robotdyn.com/wifi-d1-mini-data-logger-shield-rtc-ds1307-with-battery-microsd.html), or two separate shields)
- Light dimmer (such as [this one](https://robotdyn.com/ac-light-dimmer-module-1-channel-3-3v-5v-logic-ac-50-60hz-220v-110v.html))
- Light dimmer (such as [this one](https://robotdyn.com/ac-light-dimmer-module-1-channel-3-3v-5v-logic-ac-50-60hz-220v-110v.html))
- Switches (1 temporary rocker and 1 on-on rocker)
- Switches (1 temporary rocker and 1 on-on rocker)
- Light bulb + connectors
- Light bulb + connectors
##Hardware installation
##Hardware installation
TODO
TODO
##Software installation
##Software installation
Pre-requisite: a [TimeZone database](https://timezonedb.com) API key is needed to convert from UTC to the local timezone
Pre-requisite: a [TimeZone database](https://timezonedb.com) API key is needed to convert from UTC to the local timezone
1. Install the [Arduino IDE](https://www.arduino.cc/en/Main/Software)
1. Install the [Arduino IDE](https://www.arduino.cc/en/Main/Software)