Maurice Makaay
fa5fae019b
Added links for TOC.
3 years ago
Maurice Makaay
1555e1dc52
Added all new pictures to the flashing guide.
3 years ago
Maurice Makaay
7570f5960f
Lowered resolution of new doc pictures.
3 years ago
Maurice Makaay
923c320876
Backup work on flashing guide.
3 years ago
Maurice Makaay
2fa266c531
Backup work on flashing guide.
3 years ago
Maurice Makaay
5e9131d3fe
Work in progress on the flashing guide.
3 years ago
Maurice Makaay
3d4e51f125
Fixed a few documentation links.
3 years ago
Maurice Makaay
50e4b86244
Added images for describing the flashing process.
3 years ago
Maurice Makaay
dc0eee0fa3
Switched to using my own arduino-esp32 unicore build.
3 years ago
erwinschoonhoven
c15191fb98
Fixes some links ( #20 )
3 years ago
Maurice Makaay
c1036e2f4d
Use the active color for the long press power button night light.
3 years ago
Maurice Makaay
52e1a20014
Added a test plan to the documentation. I use this test plan to check for regression, before releasing new versions of the code.
3 years ago
Maurice Makaay
b690c290cf
Multi touch events ( #17 )
Documentation and binary sensor code quality improvements.
3 years ago
Maurice Makaay
e58c4fba3d
Better config checks for presets.
3 years ago
Maurice Makaay
3c2ffd111f
Small configuration updates in line with new documentation.
3 years ago
Maurice Makaay
d65b33e14d
Added navigation links.
3 years ago
Maurice Makaay
4efd438fe0
Added navigation links.
3 years ago
Maurice Makaay
0423fee8dc
Added navigation links.
3 years ago
Maurice Makaay
ed67f359c9
Added navigation.
3 years ago
Maurice Makaay
7e2b0d556d
Added navigation links.
3 years ago
Maurice Makaay
1aa9f551f0
Fixed achored links.
3 years ago
Maurice Makaay
99becd829e
Added text_sensor docs.
3 years ago
Maurice Makaay
ba2f6c1c00
Added front panel illumination output docs.
3 years ago
Maurice Makaay
87bd1e3dd7
Added sensor (slider level touch events) docs.
3 years ago
Maurice Makaay
c470ec171a
Small configuration updates in line with new documentation.
3 years ago
Maurice Makaay
bac01ba676
Added binary_sensor documentation.
3 years ago
Maurice Makaay
6f1cc06d30
Update configuration.md
3 years ago
Maurice Makaay
444aa54f5d
Update configuration.md
3 years ago
Maurice Makaay
042121b63f
Documented light component options.
3 years ago
Maurice Makaay
e04db2d4d1
Add "platform xiaomi_bslamp2" to config guide.
3 years ago
Maurice Makaay
fff529c7a2
Started working on the configuration guide.
3 years ago
Maurice Makaay
da204ed363
Create sponsoring.md
3 years ago
Maurice Makaay
702f24751a
Terminology consistency and preparing documentation for stable release.
3 years ago
Maurice Makaay
f85ff71d43
Add support for presets ( #9 )
Implemented support for presets.
3 years ago
Maurice Makaay
cf397858ba
Big change: renamed yeelight_bs2 to xiaomi_bslamp2
The reasoning behind this can be found in this issue:
https://github.com/mmakaay/esphome-yeelight_bs2/issues/7
When you are already using a previous version of the firmware,
then note that the following changes are necessary:
* Update to the latest version of the custom component code.
* Rename your folder `custom_components/yeelight_bs2` to
`custom_components/xiaomi_bslamp2`
* Update your yaml config by changing all occurrences of `yeelight_bs2`
into `xiaomi_bslamp2`
The links to the github repository will remain functional after
the renaming operation, so it's not required to grab a fresh clone.
3 years ago
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
0ac7589484
Some changes to make the text_sensor work for logic expressions.
For example: `id(${id_light_mode}).state == "night"`
This is used in the example.yaml to turn off the illumination
of the front panel, when the lamp goes into night light mode.
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.
The indicator was not halfway when using 0.5 as the output value.
Also added an example of how the output could be wrapped in a
light component, to expose it to Home Assistant as a monochromatic
light. Not that useful probably, but a nice display of ESPHome's
flexibility.
The example.yaml now also updates the brightness indicator when
the light brightness changes. When switching the device to night
light mode, it will turn off the front panel illumation completely.
And last but not least: the example configuration now shows a way
to set the device to a random color when touching the color button.
3 years ago
Maarten Hostyn
0c416f96a3
Update example.yaml
Add 'id: ${name}' to light section of the example configuration
3 years ago
Maurice Makaay
57e74e9e6e
Implemented a float output, that is used to control the front panel light.
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
8c2ab117e7
Fixed invalid config block in the example-full.yaml.
Thanks for the notice, @davorin .
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