Close

Software is updated to add more flexibility

A project log for Web-connected automatic sunset lamp

A web-connected ESP8266 controller to turn on a lamp at sunset. Useful if the wiring is far from a location where daylight may be sensed.

bredmanbredman 06/27/2017 at 14:060 Comments

I have been flooded with requests for different variants of this project. Some people want to follow a sunrise/sunset schedule. Some want to turn the lamp off in the middle of the night. Some want a different type of schedule completely.

To answer all of these requirements, I have moved away from the idea of following sunset and sunrise. Now I have only the concept of turning the lamp on once per day and turning the lamp off once per day.

To do this, I have defined a file (lamptimes.txt) which lists the daily on-time and off-time, for example

14 Mar 1837 0651
15 Mar 1839 0648
16 Mar 1840 0646

This means that the user can define any type of desired schedule, as long as it is only required once per day.

Next step is to tackle the hardware. Shouldn't be too difficult !!!

Discussions