Circadian lighting with Home Assistant: Like f.lux, but for your house
tylercipriani.com
tylercipriani.com
I feel we were 20 years too early (we shut down about 5 years ago).
Our tech enabled smart circadian lighting (we called it adaptive lighting) without configuration, an app, or wifi. The lightbulbs worked without any smart gadgetry necessary.
Every time the switch turned on the light made a 20 ms computation based on the time it stored (via a low power clock and a super cap) and turned to the right brightness and color temperature automatically. This was protected by a patent but also could not find a buyer for the tech despite how differentiated it was
Now I have an entire home with hue downlights + bulbs that does circadian lighting (with HASS as well) and while its not nearly as elegant of a solution as Twist (aforementioned startup), it is pretty great and a huge life changer to me and my fiancè.
Edit: for context we use Philips Hue downlight retrofits + bulbs in other fixtures, all white ambiance, and Lutron Aurora dimmers, connected to HASS on a RBPI, running adaptive lighting from HACS
The actual patent covered the method for tracking time without power and for synchronizing clocks over a low power mesh network
People are simply not aware that their blue-heavy LED lights either cause harm to their sleep schedule or simply feel clinical at night.
I live in a very affluent mountain town now, one thats very aware of light pollution and is a general haven for health nuts, and yet 75% of the houses I see with lights on at night have blue-white lights. Especially in their kitchens. This makes sense as they are working areas
I tend to agree. I'm inclined to appreciate the technology, yet at the same time I don't think I like it well enough to blow $60/each to replace all my can lights with Hues. I just run 2700K bulbs for almost every light in the house (excepting the garage & my workshop), and in some areas I make it very bright in lieu of going towards the blue end of the spectrum.
In my office, the ceiling light is a daylight bulb, but i also have a couple lamps with warmer lights. During the day, I run the ceiling light, and after sunset, turn the ceiling light off and turn the lamps on.
Perhaps a bit Luddite, but less fuss and cost.
I dont want to get into too much speculation, but the answer obiviously is building a fort?
Yes. No computer of any sort, the alarm clock's only advanced technology is radio-synchronization and I don't even let a book enter the bedroom - that is for the living-room couch. Does wonder for sanctuarizing the late evening !
And definitely use f.lux or equivalent, which is built in these days (at least the phones I've had recently).
The other nice thing about reading on my phone rather than reading a physical book before bed as I used to do is that I don't need a light. I have the phone brightness turned way down, and obviously use light text on black background. Helps with falling asleep and doesn't disturb my wife if she's going to sleep before me.
Drug addicts have been vilified for many decades yet most western population falls into some addict category, be it screens, various fetishes, sugary products/chocolate, tobacco products, alcohol, prescription drugs and so on just from legal state-approved sphere.
Just look at average teens these days. Try taking them their gadgets if you want to see some proper hate in their eyes.
No judgment, either; I struggle without coffee.
Mine also has a setting to allow the phone if people call twice within 3 minutes or something.
Here's "blue light sleep":
https://clinicaltrials.gov/ct2/results?term=blue+light+sleep...
Do you see any affect of blue light on sleep? Or do you see conclusive evidence that blue light does not affect sleep?
The first one I clicked on showed blue-blocking lenses measurably improve sleep. I don't find the need to confirm more research at this point, given that it clearly helps me.
Or maybe you could sync to a local radio time station?
Our low power clock + super cap added $1.25 of BOM which translates to $2.50-$3 of cost to the user.
Led bulbs at Home Depot are $3-5 on the low end.
Actually I already did. LIFX day night bulbs cost more than that and don't have the functionality that you had in your product out of the box.
Actually personally I would pay as much as 50 USD per bulb for standalone bulbs that just follow a cycle pre-set by myself over BLE or wifi or even a freaking USB port :p
Maybe they exist but I haven't been able to find them.
Local radio time is generally iffy if you can't afford bigger antenna. Syncing my watch is basically impossible indoors, althought you might be able to get a bit bigger antenna in a bulb... but they will also be in much worse locations (near walls and inside metal enclosures)
Those radio time services over AM/FM better and cheaper for thst.
The bulbs could have been updated either by A) having a wifi bulb that then synchronized each other node via a low power mesh network, or B) by opening the app and connecting to the network.
We effectively used the BLE radio to make a mesh network and a BLE device (phone) could connect and send and receive over the mesh.
Instead I now have a crappy overly complex setup that involves a bunch of lifx bulbs, a flic hub and buttons and a synology NAS running some python scripts from task scheduler every few minutes to set the desired temperature at certain time ranges (hard coded).
That Twist idea sound(ed) perfect. What a bummer that it didnt work out.
MQTT + some schema for typical devices would be a dream. Maybe have some of those devices be able to act as hub themselves with option to connect to "bigger" controller (whether cloud or on premise) but still be able to handle basic functions when say internet is down
Matter/Thread exist as well, and some smart device makers claim to already have adopted it, so we'll see how that all goes.
> Matter/Thread exist as well, and some smart device makers claim to already have adopted it, so we'll see how that all goes.
I'm kinda worried it will be the usual bloated standard by comitee result; tho I guess even if that happens it would still be better to have to implement one bloated standard instead of dozen incompatible ones.
Also at least wikipedia page says its "Proprietary, by certification" so eh, I'm worried
Like, I converted one of (sadly out of production) mpower pro power strips (it was great, cheap 6 socket with power measurement per socket) to talk to it but it wasn't exactly great experience.
The config of IoT devices should be just "start an app, point it to your (or cloud) controller, done", not "browse compatibility list and hope HASS supports it and the manufacturer won't break that support on update".
A lot of the claims surrounded how we designed and manufactured a light bulb that was modular.
We could support speakers, cameras, and sensors in the same form factor without any material mechanical or electrical changes.
> Every time the switch turned on the light made a 20 ms computation based on the time it stored (via a low power clock and a super cap) and turned to the right brightness and color temperature automatically.
Where it got the time sync from ? You said it didn't need configuration or an app ?
Why didn't the raise succeed?
It's too bad it didn't work out. I wonder if there's been any success stories where an idea failed but then later the founder tried again?
I'm guessing usually the first experience burns them out they probably dont bother again.
I’m happy to talk about it now though.
I think the problem was twofold. We were trying to raise during a tumultuous time for consumer hardware — when VCs were really skeptical of hardware without subscription revenue streams. And our unit economics story was really challenging. COGs grew considerably to get to shipping and that compressed our margins in a way that made the growth story seem capitally intensive. I was convinced we could reduce costs and increase AOV / LTV but VCs really wanted subscriptions
Simple and cheap, but requires extra lamps.
even if you want to control the time of day this happens, surely you realize that your body evolved according to the sun's timetable, and benefits from that timetable.
if you're not a day shift worker I understand completely.
The automatic part is also important since I need it to get up from bed.
It’s truly heartbreaking, and doubly so when we lose out on companies like Twist.
It's kind of a bummer that Hue doesn't support it natively, but since I was already in the Homekit ecosystem, it was fine for me.
I've paired this with powerful Sowilo [1] light strips, which have excellent warm/daylight white range and brightness, and it's kept S.A.D. in relative check.
[1] https://sowilodesign.com I'm sure some people can come up with a cheaper solution via AliExpress than Sowilo's, but having a turnkey solution that integrated with Hue was essential for me.
Wiz bulbs will also be getting Matter support within the next year, so we'll be able to add them to HomeKit "natively".
Wiz joined Signify in 2019. Signify is the new name for Philips Lighting (post spin out from Philips).
https://www.apple.com/ios/ios-16/
> 14. The new Home architecture is a separate update in the Home app, and will be available in a software update later this year. It requires all Apple devices that access the home to be using the latest software. Sharing control of your home and receiving Home notifications require a home hub. Only Apple TV and HomePod are supported as home hubs.
At least it's consistent now.
I must add that full-color lighting has turned out to be a gimmick. But a wide "white" color range (what Hue calls "White Ambiance") has been the real game-changer for me. Sowilo does a great job with its 2200k to 6500k "white" range.
These kind of LED lights are called "CCT" for "Color Calibrated Temperature", if you're searching on AliExpress.
Ultimately, regular indoor lights just aren't bright enough to engage the biological response of daylight, regardless of color temperature.
Your bulbs are probably 1100 lumen. Lumen and lux are different. Specifying lux requires specifying the distance or area. 8800 lumen on ceiling would be more like 800 lux at normal distance. Which is a bright room but not sunlight bright which is needed for SAD.
I agree that most indoor lights are not bright enough, but that's mainly because there hasn't been an easy way to regulate them. There's no reason why you can't light your living space to 500 or more lux (most living rooms are barely 150 lux) at 6500k and regulate it down at night, and something like this makes it easy to do.
I've never heard of lighting a space more than 500-1000 lux unless extreme fine detail work is being done. At 20k lux would you even be able to see what's on your computer screen?
... Do you think people don't travel, or that we only have Northern Europeans living here in Europe?
Some people get it bad (like me) some people get it mildly. For some reason I can't find figures right now but I recall it being something like 10% of people living in northern Europe get SAD seriously and up to 30% more mildly.
I spend time in the evening working on art projects where the color rendition of LED-based "warm" bulbs is awful (can't tell the difference between the coated and uncoated sides of inkjet paper), although there are some halogen-based "warm" bulbs that are a lot better.
Most of the lights in my house are set to "warm" but I do use "cool" when I need to make fine sensory distinctions and I have a work area with a few of those halogen-based bulbs that I turn on as needed.
That said we did have pretty good results with the (IIRC) Philips high CRI fluorescent tubes. Working at the photo lab it was a trip taking a print from the back (good lights) to the reception area (regular commercial lights) to the outside and seeing the colors on the print shift.
What fraction of houses do you think qualify? Hence what proportion might benefit from technology?
Here in Boston the sun will set at 4:30 today, but that's way too early to be starting to send my body "time to go to bed" signals.
Starting with adaptive_lighting 1.2.0, it is possible to specify a max_sunrise_time and/or min_sunset_time that ensures that the virtual sun always rises at at most a specific time and sets at at least another specific time.
Basically, you can pin your virtual day to have at least e.g. 12 hours of daylight with optionally even more based on the real sun.
The amount of effort is unbelievable, but I'd love to have something like this at home. I can only imagine the impact on my productivity during winter evenings…
A few years back there was a philanthropist who wanted to donate housing to a university, but one of his stipulations was that everyone got their own room, and that the rooms that didn't get natural light would be outfitted with an artificial window like this.
Ideally it should be a strong lamp. Like a 100W equivalent LED bulb.
I then tried it with home assistant a few years ago, until I finally stopped using both f.lux and leaving my lights on yellow anyway ;)
Guide/Forum: https://community.smartthings.com/t/circadian-daylight-smart...
Makes the evenings more laid back and I'm able to sleep a bit easier. Well worth the effort to get it setup.
I would love to find a replacement that supports multiple color temperatures.
Suggestions solicited!
Some manufacturers make dumb bulbs that dim-to-warm, which are very nice for some applications. (Dim-to-warm recessed LEDs exist, but they weren’t optimal for my application.)
The decision was made easier when the living room ceiling collapsed on me.
https://www.amazon.com/73742-SYLVANIA-Adjustable-SmartThings...
Smart things has been a bit of a mess lately with their automation related to zigbee. They've got a hotfix rolling out, but it's been a month or two of random lights turning on or refusing to turn off.
I wish there were more studies done with computer monitors, rather than light boxes directly.
Here is a simple search on real trials:
https://clinicaltrials.gov/ct2/results?term=blue+light+sleep...
In my opinion:
The f.lux guy is intellectually dishonest. He's been at it long enough. He's got a lot of axes to grind. I don't see any trials in https://justgetflux.com/research.html.
f.lux use by normal people and other similar stuff is a good canary for how sophisticated a person is.
Many, many adults suffer from going to bed too early, not too late, especially older adults, a huge number, millions. People have been trying blue light as an intervention for them, and it doesn't work.
What do you mean by this?
Personally I find warmer colours easier on the eyes, especially in dark rooms. Nothing to do with sleep.
Sleep duration and sleep quality are different. Blue light definitely affects sleep quality, as your own link shows multiple studies that found this result. The causal association of blue light and sleep quality is pretty solid.
I want to live in a world where more people understand that 100 studies finding something still doesn't make it true...
My main use case is energy tracking: it does a marvelous job collecting and graphing data across a bunch of different sources: from the solar panels from one vendor, the semi proprietary smart meter protocol my electricity company has, weather data etc. Having all that data together in 1 place is an invaluable tool to make any investment decisions on energy improvements to our house.
https://github.com/bemasher/rtlamr
does a good job of receiving and decoding those broadcasts using a cheap SDR. My local water utility also broadcasts consumption as SCM+, also 900MHz. I'm able to grab both with the single SDR.
And you do not have to firewall the bridge from calling home once a minute.
tl;dr - for the core phone/laptop F.lux use case, no, it isn't substantiated
https://www.health.harvard.edu/staying-healthy/blue-light-ha...
We kind of even know why, because of blue light receptors in our eyes linked to hormones released in the morning to increase alertness. This is linked to the light spectrum seen at sunrise.
I found this worked for me, since I only needed to create four automations:
- What happens if the lights are turned on after/before sunset (2)
- What happens if if the lights are already on after/before sunset when it changes (2)
This implementation seems more around more fine adjustments to brightness/colour/colour temp, but mine's more geared towards "Is the sun down? Change the scene."
[1] https://mattdemers.com/sun-specific-light-automations-with-h...
I use it in all my bedrooms, the living room, bathroom and toilets. At the end of the evening I just switch to red light and wind down for bed. At night I use the red light everywhere. I have a newborn and it's fantastic to be able to change him or take him downstairs for a bottle without bright light waking him too much.
1: https://github.com/jonls/redshift
2: https://play.google.com/store/apps/details?id=com.urbandroid...
It is an ESP board with some MOSFETS soldered on a perf board, connected to a huge RGBW LED strip and powered by a beefy power supply I found. 230V cables barely covered and the perf board naked to the elements.
The ESP hosts a page that displays sliders to control the light, which send a websocket command to change the PWM duty cycle. I implemented a lamp temperature to RGB that I found on God knows where, and then had a python script on a raspberry pi to slowly raise brightness and color temperature for sunrise etc by sending directly the websocket commands.
It is a single C++ arduino file with all the html and Javascript as big char arrays. It is horrendous. But hey, been running for years and I know I will never touch the code again anyway :)
My house has maybe 20 light bulbs in it, most of them under 75 watts, except for a couple of strategic halogen fixtures.
Sometimes I think about getting LED smart lighting, but then I think about how many iterations of setups I would have to go through it get everything dialed in, all the e-waste I would be contributing to, all the plastic, all the security vulnerabilities, all the software updates, all the glitches, all the flicker from cheap PWD circuitry and I decide to stick with simple glass and red hot metal.
Well, you might not have a problem, but some people like colour temperatures >3000K.
> Sometimes I think about getting LED smart lighting, but then I think about how many iterations of setups I would have to go through it get everything dialed in, all the e-waste I would be contributing to, all the plastic, all the security vulnerabilities, all the software updates, all the glitches, all the flicker from cheap PWD circuitry and I decide to stick with simple glass and red hot metal.
I’ve found a lot of that hassle is mitigated by getting high-end dumb LED bulbs, paired with reliable smart switches (only where specifically required for automation purposes) from a traditional lighting manufacturer with long support periods. (Lutron.)
So I'm not sure that the whole color shifting makes a big difference if you don't get rid of the blue as well. White LEDs are generally blue LEDs with phosphor coatings, but they still leak the blue. It's quite annoying.
I've been going back to incandescents and they're properly nice in the evenings.
That's what I figured. LCD monitors are all painful for me to look at as well.
I have some Citizen "CITILED Amber Color COB" on top of my kitchen cabinets. They have a little hump in the blue portion of their spectral graph, but are fantastic. Rated at 2200K
https://ce.citizen.co.jp/cms/ce/lighting_led/dl_data/COB_Amb...
Also have some Amber Philips 2000K bulbs, which are quite nice.
Of course I'm just one person so it's all anecdotal, but it definitely has helped my sleep in a noticeable way since I did it.
Once you get used to much lower lighting at night, ordinary whole-room lighting seems insane. Why try to make it as bright as day at night? You can read, play board and card games, play music, even draw or something like that, with a small faction as much light as the typical house puts out when you flip the light switch in a room. And it has big effects on sleepiness (if you don't ruin it by staring at a hyper-stimulating glowing rectangle—color temp may help a little, but Internet-connected screens are sleep poison)
Works really well. Lifx bulbs have excellent CRI (proper color temperature adjustments, not just fumbling with RGB) the only downside being they are not cheap. Worth it IMO though.
https://support.apple.com/guide/iphone/control-accessories-i...
- Philips Hue + Hue Hub : the default Hue app can do this, leveraging Hue Labs "Feel better with light" that runs from the hub so you don't need a laptop or other device after the formula is installed.
- Apple HomeKit Adaptive Lighting + Hue or Eve -- I'm a big fan of Eve light strips. See more accessories here: https://www.imore.com/best-accessories-with-homekit-adaptive...
Beyond those, there are other options w/o getting too tricky:
- Hue + Hue Automations + LivingScenes (or similar) + shift at sundown/sunrise
- Hue Labs (various other options)
- Third party apps like HueDynamics, and f.lux itself
- IFTTT: https://ifttt.com/connect/weather/hue
For what it's worth, the Philips Hue white bulbs that vary the white temperature are great, with a better fuller white than the full color bulbs.
I've automated all the lights in my house using Zigbee switch / dimmer modules behind the light switches on the wall. This was a very affordable option, but unfortunately I can't change the color. I can only turn lights on and off or change the brightness. I'll have to think about getting some ceiling lights with adjustable color temperature whenever I move to a new house.
One thing I really like about my current system is that it still works without any internet or network connection, or if my Home Assistant server is offline. The light switches just function normally. I think this would be a bit more complicated with controllable ceiling lights, but it could probably be done via Zigbee binding and a Zigbee wall switch.
It's cool having my basement office lighting switch to evening mode (they dim slightly), have the color temp adjust, all at the same time my Mac switches from light mode to dark mode.
HomeKit is pretty powerful if you're willing to bolster it with Homebridge and use an alternate app for configuring it (I use Controller for HomeKit).
For example: I have an automation that opens/closes my garage door as I arrive/depart as long as my phone is in CarPlay mode. Yes, I could push the button on my rear view mirror, but it's one less thing to do. Glueing this together required a Personal Automation that updates a Homebridge dummy switch which tracks my phone's CarPlay status. Then I could make a HomeKit automation which triggers on my phone's location but only when the switch that track its CarPlay status is on.
That said, as a developer, I do sometimes wonder why I'm not just using Home Assistant.
I’d be very interested to see the actual code of this as I’d like something similar. That said, CarPlay gives me a button to open/close the garage (which I have linked via Homebridge to my garage door opener, works 70% of the time). I just wish it was better tied to the alarm system.
I just have the automation to open when I arrive home and to close when I leave home. Arrive and leave are built-in HomeKit triggers for automations.
> Does it open when you start the car?
Nope, for that I press the button on the wall inside my garage as I'm walking to my car. I want the garage door open before I start the car.
> How quickly does it open the garage when you get home?
Based on using "when I arrive home" the door opens when I'm about 30 seconds away, maybe 500 yards? HomeKit also has location based triggers where you can draw the circle different sizes. I just used the canned "arrive home" and "leave home" triggers.
> That said, CarPlay gives me a button to open/close the garage (which I have linked via Homebridge to my garage door opener, works 70% of the time).
The point of this was to avoid interaction, otherwise I'd use the button on my rear-view mirror which on my Mazda is more accessible than the CarPlay button on the Mazda display.
> I’d be very interested to see the actual code of this
I've got a pair of dummy switches in Homebridge:
1. "Phone CarPlay Status"
2. "Garage Door Trigger"
I have two personal automations (via the Shortcuts app) on my iPhone:
1. When CarPlay connects -> Set "Phone CarPlay Status" to On
2. When CarPlay disconnects -> Set "Phone CarPlay Status" to Off.
I have the following HomeKit automations:
1. When I Arrive Home and Phone CarPlay Status is On, set Garage Door Trigger to On.
2. When I Leave Home and Phone CarPlay Status is On, set Garage Door Trigger to Off.
3. When Garage Door Trigger Turns On set Garage Door Target Door State Open
4. When Garage Door Trigger Turns Off set Garage Door Target Door State Closed.
The last two automations (3) and (4) are needed because a door is a secure accessory and those require confirmation if added directly to an automation. But if you trigger them via a dummy switch, you can avoid the confirmation.
I used the Meross Garage Door Opener to make my 2004 Wayne Dalton openers HomeKit aware. I'm running a pair of garage doors off of it actually.
My issue is that there are several competing control standards (with 0-10V being the more common but primitive one for America), and plenty of them (like PoE Ethernet lighting - super cool IMHO) are very much commercial-only. And stuff like Lutron's RadioRA is quite proprietary, with not much interoperability.
On the other hand, going with Phillips Hue or similar will lock me into that ecosystem - which also dictates which lights and switches I could use.
Good news, there's no lock in with Hue. I have about 20 of those bulbs around my house and they all work great with the generic Zigbee coordinator attached to my Home Assistant box. I don't use the Hue Hub, nor do I use the app.
Alongside those bulbs I have another 15-ish Sengled bulbs that also speak Zigbee. They're cheaper and similar in quality, but the color temps don't get as low as Hue. (2700K vs. 2200K on the Hue)
Only caveat with the Hue bulbs is that if you need to reset them for any reason, you'll need either a Hue Hub or one of their dimmers to do that. So I guess there's a little lock-in on that front, but it's not an ecosystem thing where you're stuck.
I'm using a Sonoff Zigbee 3.0 dongle (available on ebay for $20, uses a TI Zigbee chip) plugged into a small single board computer server. Zigbee2MQTT is FOSS software which interfaces with the Zigbee dongle and manages the Zigbee network. You can pair devices to the network with with its web GUI. Zigbee2MQTT allows you to control the devices over MQTT, a lightweight messaging protocol. I wrote a Python script for this. It connects to MQTT and listens for messages from the buttons (on, off, brightness up/down, CCT up/down). When it gets a message from a button or motion sensor, the script sends a MQTT command to the relevant bulb / group of bulbs.
My setup is all Ikea Tradfri, but I could very easily add in Hue bulbs or other Zigbee devices such as ones from Aqara or Sonoff. I just purchased a Zigbee thermostat but haven't gotten around to setting it up yet. The whole thing works without internet access. Though you could expose the MQTT server to the internet and set up a method to control your devices when away from home.
The main risk is that the industry moves past Zigbee. It's already moving to Thread & Matter, but I've only done a bit of research into that. I think Zigbee will be supported and products will continue to be available for a while. Or a self-hosted Thread software might also end up existing.
The tradfri bulbs don't dim to 0.1% but they get pretty dim. And your control software could do things like selectively turn off certain bulbs in a room as you command it to lower brightnesses. The CCT range is good enough for me. The Tradfri bulbs are specified as >90 CRI. They don't flicker.
What options are you looking at? I will probably be looking into some of these soon.
And in terms of QoL impact it's been a pretty big deal for us. For context I live near the Canadian border, so not Alaska-level in terms of differences in night/day over the course of a year but far enough north that it does vary quite a lot. Being able to have a whole "sunrise" scene for the house, to have "daylight" with varying use of color and brightness (I've added 2 or 3 way bulb systems to a bunch of lamps to deal with Hue color bulbs not having as much brightness range as would be ideal), and warmth at night has made it so much easier to maintain proper sleep cycles. Rather then an audible alarm, I have a 15-minute animation of "sunrise" I put together that gently wakes me up and by the time it's getting to the whiter/bluer portion I'm set, I head down without any grogginess even when it's still black out. This all works for motion sensors too, and I've been able to massively cut down blue light emission and emission period of outdoor light at night without compromising safety and that I think is quite important for wildlife. There has been research on rampant blue light (and artificial light in general) affecting insect populations, which are under pressure anyway.
I think Smart Home kit is powerful and can be (and certainly has been) misused. I will not touch anything with any sort of internet requirement, I segment things onto their own VLANs, and I'd be more cautious about it for things without the same visible indicators or with more potential side effects. But it has a real place too, and lighting is a perfect use case. I hope efforts like Matter pan out, the real issue is how vertically tied a lot of stacks are.
Here's their A19 (normal bulb) specsheet: https://bioslighting.com/wp-content/uploads/2021/02/BIOS_A19...
There is also a spotlight-style BR30: https://bioslighting.com/wp-content/uploads/2020/11/BIOS_BR-...
Made the installation much simpler for me, because you can use standard dimmers without an extra communication path for CCT.
This is for a room with very little natural light, where the lights are on most of the day. Having them respond to the position of the sun lets me still feel the rhythm of the day outside.
I wish that Hue and LIFX would also make a physical adjustment switch/knob for color temperature.
https://www.philips-hue.com/en-us/p/hue-dimmer-switch--lates...
It turns out there are really only 3-4 different temperatures I use normally, and this allows you to switch between them. I also use the Hue timers so I frankly don't need to use this that often, but it's nice to be able to switch between both scenes and brightness levels without pulling out my phone (edit: and more importantly so people who aren't me can control the lights if they need).
It's not a perfect solution: there are still some annoyances with people forgetting to leave the main switch on and only use the mounted remote, but overall I am very happy with this system.
I use light switch covers. They just screw on over the switch, and have one side open so you can manually manipulate it if you want, but it prevents accidental state changes.
https://www.theonion.com/woman-who-drinks-6-cups-of-coffee-p...
1. It's midday, your lights are bright and blue 2. You turn the switch off. The bulb (and ESP) no longer has power. 3. It's 9pm; you turn the light on.
Would you not get bright blue light for a second or two until it had a chance to sync? You can get timely local execution with something like Tasmota but it has no consistent internal clock, so you're at least one network hop away from it taking proper state.
I think that would have the same effect, without needing those specialized bulbs.
A good option might be to move to those new Inovelli Blue Zigbee switches and pair them directly with the bulbs. But I've already swapped all the switches in my house once...
Using DALI as control-bus for our lights with products from Kiteo for tunable white they can go from 1.8k-16k with an CRI > 90 and be dimmable from 1%-100% as added benefit they can display the full RGB level aswell.
HCL is a very niche topic for residential lightning and certainly more expensiv than going with Hue but im betting that high quality HCL will improve our lives especially during winter seasons.
https://justgetflux.com/lighting/
I have this in my office setup, and it works well. Very nice, especially this time of year when it gets dark while I'm still working.
But this is something along the lines of what I would hope home assistance would do as well as being all self-hosted!
A crap ton of decorative "Edison-style" bulbs have this cheap or non-existant circuitry in them. Buying from Amazon is a huge gamble. I have slow-mo video of disappointing lights.
The quality bulbs will power the LEDs from a smooth DC voltage and not flicker.
I wouldn't be surprised if this has some quiet smallish long term negative effect on our brains and eyes. In same vein as 24fps-is-enough-for-everybody was a lie
I have a Hue setup at home and I do something like this, but hackier through an iPhone app I set up 4-5 years ago (it hasn't broken yet and I haven't touched it); I believe there are more elegant software solutions these days.
While making your LED lamps warmer is more pleasant to the eyes, without affecting how you view your screens.
LED lights have far more problems than color temperature not matching the circadian rhythm (if that's even a problem... I just avoid blue light in general). 99% of them flicker, even without a dimmer, and most probably have bad color rendering qualities (CRI) too. In my experience, they're all too cold. They'll also be too dim yet still give you that "getting blinded" feeling. I visited a $7500 apartment and it was laughable how they included LEDs that flicker at somewhere around 60-100Hz. I just stopped using LEDs until I understand the market more, after already wasting hundreds on failed attempts to find an acceptable LED. For now sticking with warm color temperature incandescent bulbs, which are almost perfect. I don't need to raise the color temperature in the day.
This is what home automation is. If there's any truly practical use beyond not overwatering a lawn that you should probably replace with native flora anyway I've never seen one. But this project is super cool! I enjoyed the read, also enjoy excessive automation with home assistant as a hobby, and thank you OP for sharing. We need more joy of tech for the sake of joy of tech.
Electricity consumption, waste heat, short lifetime, ... Not to mention much less control over color temperature; you get what you get. With LED you just have more choice.
OK, you visited an expensive apartment which put no thought into its lighting. So? It'd have been a better experience if they'd put no thought into their lighting but used incandescent bulbs instead?
Yes.
Also looking for basic motion sensor to turn them off when nobody is down there.
Make sure the CRI is above 90, assuming you care.
I can understand night being dark when you live in the middle of nowhere. In the city not so much.
Also it gets dark here at like 5:30
The two essential tools for creating a tolerable light in our modern world are dimmer switches and the using safe color temperatures for LED light sources.
> The most significant benefit I’ve noticed is that I can get back to sleep after getting up in the middle of the night—now that I’m no longer blinded by harsh overhead light in the bathroom.
My bathroom has too much light most of the time. If I was "working on my makeup" the amount of light would be just right, but that's not me. I bought my first dimmer switch at Habitat for Humanity. It was the kind that has a little lever next to the on/off switch - basically you decide on the amount of light, then it's pre-set to that amount.
The Habitat dimmer switch was okay, but I'd still walk into the bathroom from a black hallway and blind myself, as I never checked the light level before hitting the switch. On surveying the dimmers at Home Depot, I settled on the kind that starts "off", and gradually increases the light level.
My other dimmer switches are the classic round-dimmer option, and one that has a button and a big 'how much light do you want' .... "slide":
https://www.homedepot.com/b/Electrical-Wiring-Devices-Light-...
I have three bedroom light switches. Ceiling fan light has halogen bulbs with a slide dimmer. Outlet switch has a deep red LED bulb in a table lamp. There was a 5000K fluorescent above the closet that I replaced with a fixture from the thrift store, that has a mix of orange and red bulbs.
The kitchen has horrible hanging lights over the stove. Someone installed 3000K LED bulbs. I replaced these with incandescents and halogens, and installed a dimmer, but they were all terrible. Eventually I found some 2000K "Amber" Philips LED bulbs. These work with my LED dimmer, and are tolerable. With the Amber bulbs at least you're not staring into an artificial sun. If it was up to me, I'd get rid of the hanging lights and go back to the 90's light canisters in the ceiling.
tl/dr: Good lighting is invisible. Bad lighting forces people to stare into artificial suns. "5000K" light sources are for plants, NOT people. To protect eyes, slide dimmers that always start with the minimum amount of light are the greatest.
Philips 'warm glow' bulbs are warmer when dim, and cooler when bright. I use these throughout. In combination with smart dimmers that allow setting the 'on power' in HA. At sunrise and sunset the on-power for my dimmers is reset to 100% and 30% respectively.