Thread

Zero-JS Hypermedia Browser

Relays: 5
Replies: 7
Generated: 15:41:56
I've been wanting to do this for years. The lights are programmed to come on throughout Advent n=2^(kt) such that the last light comes on midnight on Christmas eve. I am trying to build anticipation in my kids instead of just being tired of all the decorations by Christmas. image
2025-12-07 11:05:19 from 1 relay(s) 2 replies ↓
Login to reply

Replies (7)

t: is the time in seconds since the start of Advent. k: is a constant calculated from the equation k=log(N)/(t_f * log(2)) Where N is the total number of lights you have and T_f is the total length of Advent in seconds. Because N and T_f could change, k is specific to whatever your setup is. That way 2^(k*t_f) = N i.e. at the end of Advent all your lights are on.
2025-12-08 16:03:40 from 1 relay(s) ↑ Parent 1 replies ↓ Reply