Sunrise-like Alarm Clock Via House Assistant Android

Aus Vokipedia
Version vom 3. September 2025, 11:38 Uhr von LynetteCozart6 (Diskussion | Beiträge)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche


Quite just a few years in the past I got here throughout Lighten Up! Coupled with a halogen bulb (that’d start out very yellow at lowest brightness) I had a wonderful sunrise-like alarm clock and it was much, much nicer than a beeping alarm. The LCD shows within the Lighten Up! I couldn’t change the programming, which was a hassle because the clocks in them drifted by a couple minutes per month. With a mixture of COVID-19 remote work eliminating the necessity for an alarm clock and the devices dying, within the trash they went. I’ve been attempting to use an alarm to stay on a more common sleep schedule and while a bunch of other wake-up lights can be found, they're devoted items which can be principally alarm clocks with built in lights. I actually favored the elegance of the Lighten Up! I couldn’t discover anything else prefer it. For some time I thought about developing my own hardware version that’d additionally work with LED bulbs, but by no means received around to it.



This winter I’ve been experimenting with House Assistant (HA), and it seems that with a couple cheap Zigbee elements (bulb and EcoLight solar bulbs pushbutton from IKEA) it allows for a wonderful substitute/improve sunrise alarm thought. A next-technology Lighten Up! With every little thing put together the lamp next to my bed will now slowly come as much as brightness 15 minutes earlier than the wake-up alarm on my telephone, reaching closing as the normal alarm triggers. If I change the alarm time on my telephone, or shut it off, the light-up alarm in HA will observe swimsuit. Moreover, a physical button on the nightstand turns off the sunshine off while replicating a sunrise alarm, or in any other case toggles the light on and off. Even higher, if I’m not home or if the alarm is about for aside from between 3:00 AM and 9:00 AM (times throughout which I’d seemingly be in bed and desirous to wake up) the sunshine won’t activate. This enables me to make use of alarms during the conventional day for different things with out activating with the sunshine, or reduce energy consumption while traveling without waking Kristen.



Between this and the gently-increasing volume (and reduce energy consumption vibration) alarm built into the Android clock which triggers at the end of the sunrise cycle it’s a very nice, EcoLight solar bulbs gradual wake-up system. And, all of this happens without any cloud services or ongoing subscriptions. My HA occasion is native; the phone app communicates straight with it across both my home or EcoLight solar bulbs the public networks. Communication between the physical controls and lights is an area, EcoLight private network. On this post I’ll doc the key building blocks of how I did this so that another person with fundamental House Assistant expertise (and a functioning HA setup, which is beyond the scope of this writeup) can do the same. With the house Assistant Companion App for Android working on an Android phone, Home Assistant can get the date and time of the subsequent alarm. After putting in the app, go into Settings → Companion app → Manage sensors and allow the next alarm sensor. Notice that this is not accessible if an iPhone (or other iOS machine) is used.



IDs. In case you are setting this up you’ll want to use the GUI and build these out yourself using the code for reference. Ashley’s Gentle Fader 2.0: This script takes a light and, over a configured amount of time, fades from the light’s current setting to the defined setting (each brightness and colour temperature) using pure feeling curves (easing). It will also cancel the fade if some situations are met. I exploit this to have the light fade, over 15 minutes, using a sine operate, to 70% brightness and 4000K temperature, and cancel the fade if the sunshine is turned off or brightness modifications significantly, the latter of which allows the button subsequent to the bed to cancel the alarm. To make this occur I activate the bulb at 1% brightness and 2202K (it’s warmest temperature), then use the script to fade to 70% and 4000K over the course of 15 minutes.

Meine Werkzeuge
Namensräume

Varianten
Aktionen
Navigation
Werkzeuge