this post was submitted on 02 Dec 2025
1533 points (98.5% liked)

Programmer Humor

27601 readers
2877 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] couch1potato@lemmy.dbzer0.com 3 points 11 hours ago (1 children)

If you're using home assistant there is a "sun" integration.

My lights turn on 30 minutes before sunset and turn off 30 minutes after sunrise.

My wife didn't want them turning on and off at the same time every day because observers could see the pattern... at least this way it's a little more hidden.

[–] AtariDump@lemmy.world 1 points 7 hours ago

Yep. You can also use the sun’s position in the sky as well; I had one of the AIs write up the YAML.