#Wakeup lights

1 messages · Page 1 of 1 (latest)

eager raptor
#

TLDR: Aqara LED Strip, Google Calendar, slow brightness 0-255 and then slow color_temp to cooler light

Where I live, the sun doesn't really respect my needed morning hours for my job! So, to tweak my circadian rhythm, and get a nice way of waking up in the morning, I wanted a good wakeup lamp, triggered by a calendar schedule.

And alas, this morning I woke up around 5:30 to the impression that it was a very sunny day outside! It was even a bit uncanny to walk outside the bedroom to find it all dark in the windows.

I set up Aqara LED Strip T1 (zigbee) on top of my heavy curtains.
Connecting a google calendar with a recurring event every weekday morning at 5:20 (and easily reomvable for vacations and holidays).
An automation triggered by the calendar.
A script that turnts on the LED on the lowest brightness and highest color_temp (which is the same as lowest Kelvin), a repeat loop raising the brightness one step every 4 seconds (taking around 7 minutes to reach max 255) and then toward the coolest white light (another 7 minutes).

I had to script the transition. The LED has transition support for brightness, but only up to 300 seconds and also not always working for me, and it does not transition to the color temperature.

I'm very happy with the solution, having the calendar to control the wakeup time and days, and I am setting up another one for my son who has problems waking up.

I know that for circadian rhythm, it would be optimal to have the same time EVERY day, but my wife likes to sleep in on weekends 🤷

autumn totem
#

Nice work! Good thinking to use a calendar event for that.

fast flame
#

nice... was trying to do the same bit with alarm app.... so if i set up alarm at 6 it starts to light light up lets say 5:50

#

sadly didnt figured it out that time.. might take your solution 😛

autumn totem
#

I was thinking it would be cool to have an esp32 with a screen as a bedside alarm clock that controlled this. One day I’ll try to tackle this again. I’ll probably use the calendar idea first though.

I’ve also got controlled window shades, so I could try to be clever and check sunrise and do the blinds if sun is already up.

dire kestrel
#

This is probably what I'll be resporting too soon... I'd like similar functionality but the few HACS integrations or prebuilt scripts I've tried seem to result in lots of flashing at 6am 😂 I'm not a rave guy at the best of times, least of all microseconds after a deep sleep phase 😭