161 Commits (b7544c92e0a78793eee0bfd0ec8fcc0224204c65)
 

Author SHA1 Message Date
  Maurice Makaay 3c3a52b720 Used an if: condition in the example, instead of a lambda, for turning on and off the front panel illumination, based on night mode yes/no. 3 years ago
  Maurice Makaay e97a530c03 Update issue templates 3 years ago
  Maurice Makaay 1b61078f42
Create CODE_OF_CONDUCT.md 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 5183dc6645 A few improvements to the example.yaml, to make it easier to read and use. 3 years ago
  Maurice Makaay 402f57f040 Fixed front panel brightness indicator scale + random color button. 3 years ago
  Maurice Makaay 539bb8eb3a
Merge pull request #5 from mhostyn/patch-1 3 years ago
  Maarten Hostyn 0c416f96a3
Update example.yaml 3 years ago
  Maurice Makaay 8062272df9
Merge pull request #4 from mmakaay/add-license-1 3 years ago
  Maurice Makaay dee0ea2e27
Create LICENSE.md 3 years ago
  Maurice Makaay cbe7b075a9 Updated project status in the README.md. 3 years ago
  Maurice Makaay 00941c6975 Fixed some method access levels that got messy over time. 3 years ago
  Maurice Makaay 57e74e9e6e Implemented a float output, that is used to control the front panel light. 3 years ago
  Maurice Makaay 0ea3651056 pass target brightness to on_brightness handlers, instead of actual brightness, during transitions. 3 years ago
  Maurice Makaay 5fddc6733c The slider sensor now has a configurable value range. 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 ae3cade531 Updated examples with the new binary_sensor feature. 3 years ago
  Maurice Makaay ec8205d32e Added a binary sensor component, which can be used to handle touch/release events for the parts of the front panel (power button, color button and slider). Note that for the slider, this binary_sensor only detects the touch events. This cannot be used for detecting the actual slider level that was touch. For that purpose, a separate sensor will be created. 3 years ago
  Maurice Makaay 6e2bb7b0c0 Front panel event code cleaned up and added an on event callback option, so I can let events propagate. 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 8c2ab117e7 Fixed invalid config block in the example-full.yaml. 3 years ago
  Maurice Makaay 24f16c8a3a Use espressif32 v3.2.0 + arduinoespressif32 1.0.6 3 years ago
  Maurice Makaay dd9143dfa9 Added a configuration example that includes all yeelight_bs2 component configuration options. Normally, you can fully omit this component from the device yaml configuration. It will implictly load working defaults. 3 years ago
  Maurice Makaay dcfe951307 Added the front panel I2CComponent to the hub component. 3 years ago
  Maurice Makaay 6d83a2edd6 Updated the example configuration for the latest code. 3 years ago
  Maurice Makaay 90fc42e141 Moved the last few light GPIO pins into the HUB comopnent. 3 years ago
  Maurice Makaay 3d5a68d9c4 Merge branch 'main' of https://github.com/mmakaay/esphome-yeelight_bs2 into main 3 years ago
  Maurice Makaay e29968d86a Introduced a HUB component + front panel IRQ handling 3 years ago
  Maurice Makaay 8c7ccfb995
Merge pull request #3 from tabacha/docu-url-fix 3 years ago
  Sven Anders 8a0245a2e3 Use Soldering_points.jpeg from repo not from home-assistant forum 3 years ago
  Sumrf from the homeassistant forum 71395dc567 Add Soldering Points photo 3 years ago
  Maurice Makaay 9edea79ff7 Fixed error when using light ID in an automation 3 years ago
  Maurice Makaay 7c3ee035d8
Update FLASHING.md 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 6c56a3e973 Documentation updates. 3 years ago
  Maurice Makaay 18706557c5 Replaced all interpolation code with esphome::lerp(). 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 7b198eab1d Some calibration on the RGB night light settings. 3 years ago
  Maurice Makaay 4e323c76ff A round of code cleanup. 3 years ago
  Maurice Makaay c0507e642b In RGB mode, brightness level 1 now triggers a night light mode that actually uses the RGB settings. So this makes it possible to have a night light in a specific color, instead of only the default night light setting. In white light mode, this default is used, so color temperature does not affect the night light color. 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 fe3fd69052
Update FLASHING.md 3 years ago
  Maurice Makaay 956660c2bf Added some extra information to the FLASHING.md document. 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