5 Commits (650115e7e2d6fd2c0ad675e0c250f6e9ac720ce1)

Author SHA1 Message Date
  Maurice Makaay 11e00c9d34
Some light transformer fixes (#51) 3 years ago
  Maurice Makaay 9427c0561d
Compatibility fix: custom light transformer implementation (#50) 3 years ago
  Maurice Makaay 9de5ac32ad
Make code compile with both v1.20.* and v1.21.0 (#46) 3 years ago
  Maurice Makaay 3868b86b05
Implemented compatibility with color mode support in the latest Home Assistant + ESPHome. (#44) 3 years ago
  Maurice Makaay 45524845a8
Moved to ESPHome external components compable repo structure. (#26) 3 years ago
  Maurice Makaay c90d9677f8 Applied ESPHome-style code styling. 3 years ago
  Maurice Makaay f85ff71d43
Add support for presets (#9) 3 years ago
  Maurice Makaay cf397858ba Big change: renamed yeelight_bs2 to xiaomi_bslamp2 3 years ago
  Maurice Makaay 0ac7589484 Some changes to make the text_sensor work for logic expressions. 3 years ago
  Maurice Makaay d1d9ecea95 Added a text_sensor, which propagates the current light mode. This is one of "off", "rgb", "white" and "night". 3 years ago
  Maurice Makaay 0ea3651056 pass target brightness to on_brightness handlers, instead of actual brightness, during transitions. 3 years ago
  Maurice Makaay 5e328bef8f Implemented the slider sensor, which is used to publish a slider level when the slider is touched. The example yaml files now use this sensor to update the brightness of the LEDs. 3 years ago
  Maurice Makaay b340ede5b3 Implemented the I2C messgage to event type parser. 3 years ago
  Maurice Makaay e5612e8235 What's better than one hub? Two HALs! I split up the HUB component into two separated components with the same kind of function: LightHAL and FrontPanelHAL. 3 years ago
  Maurice Makaay c161a12664 Added a light HAL to the hub component. 3 years ago
  Maurice Makaay 90fc42e141 Moved the last few light GPIO pins into the HUB comopnent. 3 years ago
  Maurice Makaay e29968d86a Introduced a HUB component + front panel IRQ handling 3 years ago
  Maurice Makaay 4410d1475a Added on_brightness automation trigger to the light output. 3 years ago
  Maurice Makaay edcadc146c Moved the finished light component into its own subdirectory to keep things clean when implementing other components. 3 years ago
  Maurice Makaay 46e4b69c7c Another round of code cleanup. Almost done, one more pass and I'm good to continue with the next task: the touch panel. 3 years ago
  Maurice Makaay 4e323c76ff A round of code cleanup. 3 years ago
  Maurice Makaay 7a147072a8 Fixed transitioning behavior when a new transitioning is started to the same end color of a transitioning that is already in progress (can be triggered from Home Assistant by double clicking on a target color in the RGB color circle). 3 years ago
  Maurice Makaay e9af4a9614 Fixed the transitioning flow in cass where an already active transition gets interrupted by a new transition with a different end point. 3 years ago
  Maurice Makaay 1325ef62cf Make use of smoothed progress for color transitionings. 3 years ago
  Maurice Makaay abe8137b42 Transitioning to off works too now. Transitioning to on needs some more work (it is now instant, but that won't be hard to implement correctly). 3 years ago
  Maurice Makaay bb91890389 New light transition code implemented and it works beautifully! Transitions between RGB colors and RGB to and from white light now look smooth. Some more code cleanup in the next step, but already loving how this is coming together now. 3 years ago
  Maurice Makaay e8ae6a9765 Some code cleanup as preparation for the next bits of development for transition handling. 3 years ago
  Maurice Makaay 47bb1469fc Finally going somewhere with the transitioning implementation. The basic framework for the latest ideas is up and running. Now implement the actual transitioning logic. 3 years ago
  Maurice Makaay 92d935b0b4 Experimental class structure to give my LightOutput class access to some protected data in the LightState class. 3 years ago
  Maurice Makaay d330894fdc Started my own derived LightState class to get more control over the light's transitioning behavior. 3 years ago
  Maurice Makaay 9fa8aa42ff Switch to night light mode at low brightness in both white light and RGB mode. 3 years ago
  Maurice Makaay 0b373526da Code cleanup on RGB code + RGB #FFFFFF implementation added. 3 years ago
  Maurice Makaay 49404b083d Ledc PWM frequency issues are fixed 3 years ago
  Maurice Makaay b960a5bee9 New implementation for RGB colors. It needs a round of code cleanup, but it is functional as-is. 3 years ago
  Maurice Makaay cd64ab7cbe Added night light setting, when choosing white light (#FFFFFF) at the lowest brightness level. 3 years ago
  Maurice Makaay 347fa66cc3 Don't use 10kHz, but 9765Hz for white channel PWM. 3 years ago
  Maurice Makaay 53f2d9c0df Restored working of blue colors in RGB mode. 3 years ago
  Maurice Makaay d1f3c92fd7 Added a white light implementation. Firmware is now in a broken state, but transitioning to something good here. 3 years ago
  Maurice Makaay 9e01d28bf6 Fixed RGB white color mix scaling. 3 years ago
  Maurice Makaay a99e2f1145 Work-around for the turn off transition issue. 3 years ago
  Maurice Makaay 6c5c6ca5cc Moved to a proper ESPHome component structure. 3 years ago
  Maurice Makaay a4baf100f3 Moving to PlatformIO lib format. 3 years ago
  Maurice Makaay 9be95a90cb Transforming to PlatformIO lib format. 3 years ago
  mmakaay 802b6c214c Made the light off transition fix optional. 3 years ago
  Maurice Makaay d7c642b9b9 Two fixes for light transitioning issues 3 years ago
  Maurice Makaay e3e104df41 Backup work. 3 years ago
  Maurice Makaay a230e59f86 Started some tedious work on reverse engineering the correct functions for th RGB light outputs. 3 years ago
  Maurice Makaay 3b73d2340e Backup work on I2C 3 years ago
  Maurice Makaay 77a18d52dc Completed work on the temperature-based light controls. Both RGB and white light are now fully functional. 3 years ago
  Maurice Makaay a502c7c7be Implemented temperature band 251 - 312 3 years ago