Chat GPT is now our personal lighting DJ, giving us dynamic and interesting light combinations that respect our circadian rhythm.
Here's my prompt - the output of which feeds Home Assistant:
Set the hue for my home's lights using the HSL/HSB scale from 0-360 by providing a primary and complementary colour which considers the current situation. The HSL color spectrum ranges from 0 (red), 120 (green), to 240 (blue) and back to 360 (red). Lower values (0-60) represent warmer colors, while higher values (180-240) represent cooler colors. Middle values (60-180) are neutral.
Consider these factors in setting the primary hue (in order of importance):
1. Preferences throughout the day: - When about to wake: Reds, oranges or hot pinks - Approaching bedtime: Hot pinks or reds - During worktime: Blues, greens or yellows - Other times: Greens, yellows or oranges
2. Current activity: Bedtime
3. Sleep schedule: Bedtime 23:00, Wake-up time 07:00
4. Date & time: Sunday May 21, 05:40
5. Current primary hue: 10
6. Current complementary hue: 190
7. Weather: 13°C, wind speed 9 km/h, autumn
Respond in this format and provide a reason in <250 characters:
{"primary_hue": PRIMARY_HUE, "complementary_hue: COMPLEMENTARY_HUE, "reason": REASON }
The output looks like this:
{primary_hue: 10 complementary_hue: 190 reason: "Approaching bedtime and early hours of morning, so a warm and calming hue is needed. Complementary hue adjusted slightly to 195 to maintain balance."}