basnijholt / adaptive-lighting

Adaptive Lighting custom component for Home Assistant
https://basnijholt.github.io/adaptive-lighting/
Apache License 2.0
1.81k stars 134 forks source link

Realistic Color Adjustment #100

Open spencerthayer opened 3 years ago

spencerthayer commented 3 years ago

It is possible to add these start times: Astronomical Dawn, Nautical Dawn, Civil Dawn, Golden Hour Morning, Morning, Solar Noon, Golden Hour Evening, Civil Dusk, Nautical Dusk, Astronomical Dusk, Night, and finally Solar Midnight? And then set the Color Temp/RGB for each timestamp?

I ask because I would like to reproduce the following chart. The large spikes right before and right after sunrise and sunset are due to the reflection of ambient light in the atmosphere. If this took into account these additional daily time stamps I think we could reproduce it.

image

Chreece commented 3 years ago

+1

RubenKelevra commented 3 years ago

While this ticket is about the pure light temperature, a bit color would also be nice, if there's rgb ambient lighting available. So I added a ticket for this #131

spencerthayer commented 3 years ago

@RubenKelevra had some good insight and that can be found here.

RubenKelevra commented 3 years ago

Hey @spencerthayer,

can you provide the data in this graph for a sun above the horizon scale at x?

Is the source for this data public domain?

spencerthayer commented 2 years ago

@RubenKelevra here you go. https://www.photoverse.co/art-natural-light-photography/

RubenKelevra commented 2 years ago

@spencerthayer well, that's not open source/public domain. We can't just copy the data off an image which has copyright attached.

You could in theory generate your own data: Just setup a grey card and let your phone do a timed burst with 5-second intervals or something like this.

The photos will contain tint and color temperature :)