suntracker.lua

Lua program to read the daily turn-on and turn-off times. Compares these times to the current internet time to turn a lamp on or off.

text/x-lua - 3.82 kB - 06/27/2017 at 13:58

Download

lamptimes.txt

A text file which contains the turn-on and turn-off times for each day of the year.

text/plain - 6.49 kB - 06/28/2017 at 11:41

Download

init.lua

Automatically executed at power-on. Waits for 30 seconds before launching the main program (suntracker.lua).

x-lua - 324.00 bytes - 06/15/2017 at 14:29

Download

Circuit.png

Circuit diagram to show how an ESP-01 is connected to a pair of relays.

Portable Network Graphics (PNG) - 70.39 kB - 06/30/2017 at 12:15

Preview
Download

Relay.jpg

An example of the relay board that I use.

JPEG Image - 53.33 kB - 06/30/2017 at 12:15

Preview
Download

Breadboard.png

Breadboard version of the circuit. Note that I don't have an image for the relay board, so I just showed the header.

Portable Network Graphics (PNG) - 46.07 kB - 06/30/2017 at 12:13

Preview
Download