Setting up adaptive lighting in a smart home

Adaptive lighting is the automatic adjustment of the temperature of the light in your home throughout the day. The researchers argue that this approach has a beneficial effect on the body's circadian rhythms .



With the recent iOS 14 update, such a feature appeared in Apple's HomeKit platform. So far, it is only supported by a couple of smart light manufacturers.



This article will show you how to use adaptive lighting with any smart light using the Home Assistant platform as an example .





Introduction



If you are interested in the setting, skip ahead to the next section.



This story began with the appearance on the free sale of the first smart switches without zero in a round socket. They were on eWeLink and Tuya firmware.



At the same time, a new firmware was released for the eWeLink platform, adding support for the local protocol. And these switches were released with new firmware.



At that time, in the smart home community, it was customary to solder the UART to it immediately after buying a new device and fill it with one of the opensource firmware, for example, ESPHome or Tasmota . This served as an additional obstacle for the β€œnon-Gik” audience to enter the community.



, , , SonoffLAN. eWeLink. , . , .



. , Home Assistant . .



, ( Β« Β») .



β€” . , .



, , .



, - . .



, Xiaomi Gateway 3. API, ( ). Home Assistant.



Zigbee BLE Bluetooth Mesh. , . Gateway 3 .



, Mesh- Flex Switch. Yeelight SLISAON: Smart Light IS Always ON, Β« Β».



. .



, . , , , . , .



, . Yeelight .



! , , . , . , , .



: Mesh- , . , Mi Home Mesh- . Home Assistant .



. , ( ).



- Zigbee-, «» Zigbee-. .



, , . : Xiaomi Mesh E27 (MJDP09YL) / Mesh 5.0 / 5W 2700K-6500K 500lm β€” , .



. . , ( ). , , β€” .





Home Assistant . Flux, Circadian Lighting, β€” Adaptive Lighting.



- Demo, 3 .





. , . : .



Flux . . .



Circadian Adaptive . , . , .



, Home Assistant. .



, 6 , 16 (). 50 100 %, 3000 5500. :



06:00 100 % 3000
11:00 100 % 5500
16:00 100 % 3000
23:00 50 % 3000


. .



Apple HomeKit 3000 5500. , .



2700, (, Philips Hue), 3000.



. 30, 50, 80 . , Apple.



Adaptive Lighting. , . , .



  • Yeelight Lightstrip Plus (YLDD04YL) . 3800, 3000.
  • Yeelight Bedside Lamp 2 (MJCTD02YL) . 3000 3200, 2990 .
  • Xiaomi Philips Wi-Fi ( miio) 3000 5700K. «» , . 2700, 3000.


Android Light Meter. , RGB? Samsung . . 2700 . . , .



Home Assistant . . .



Adaptive Lighting:



  • GUI;
  • , , , β€” ;
  • .


Quantum Simulation Engineer at Microsoft Bas Nijholt. , , .



custom- HACS β€” . , Home Assistant, . > . .



As a result, I got three different settings for this component: for the Yeelight tape, for the Yeelight bedside lamps, and for everything else. For now, I've set up adaptive lighting for all the lamps I have and am waiting for a package of new Mesh lamps. I really want the light not to burn out my eyes on the way to the toilet in the evenings.



You can follow the development of my components and other findings on the topic of a smart home on my Telegram channel .




All Articles