Maurice Makaay
dc0eee0fa3
Switched to using my own arduino-esp32 unicore build.
3 years ago
Maurice Makaay
976c947f52
One small typo for man, one big bug for compiler kind.
3 years ago
Maurice Makaay
a61a546c70
Formatted the codebase using the ESPHome clang rules.
3 years ago
Maurice Makaay
10ce0ba6c9
Merge branch 'main' of https://github.com/mmakaay/esphome-xiaomi_bslamp2 into main
3 years ago
Maurice Makaay
c90d9677f8
Applied ESPHome-style code styling.
3 years ago
Maurice Makaay
6e4e9859f2
Update CHANGELOG.md
3 years ago
Maurice Makaay
79fefff9aa
Update CHANGELOG.md
3 years ago
Maurice Makaay
2a92e72f10
Started the CHANGELOG.md.
3 years ago
Maurice Makaay
197ccfe0d3
Suppress transitions for night light mode.
Fixes #10
"When changing RGB color settings, while night light mode is active,
transitions don't look good. On many of the transitions, the light
level shows a significant drop."
This commit fully suppresses transitions when the light is in
night light mode.
3 years ago
Maurice Makaay
7f718a6d7e
Use DISABLE_ASYNCTCP_ACK_TIMEOUTS to fix client disconnects (depends on not yet accepted pull request: https://github.com/esphome/esphome/pull/1712 ).
3 years ago
Maurice Makaay
d4f8675fa7
Fixed a few C++ build warnings.
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
c9847317f5
Removed accidentally added bogus file.
3 years ago
Maurice Makaay
db273e7214
Merge branch 'main' of https://github.com/mmakaay/esphome-xiaomi_bslamp2 into main
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
ed4c10c2ad
Tiny fix in component vs. components.
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
43a249ba8d
Added sponsoring link.
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
8147c5b66b
Update FUNDING.yml
3 years ago
Maurice Makaay
ee15f27c45
Update FUNDING.yml
3 years ago
Maurice Makaay
1c8b2b1494
Update FUNDING.yml
3 years ago
Maurice Makaay
feca8b39ec
Added a funding link for the repository
Some people wanted to buy me beer, coffee and the like as a thank you for the work that I put into the ESPHome firmware code for the Xiaomi Mijia Bedside Lamp 2. Well, I don't say no to a beer, cheers! ;-)
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
8ad6aafc3d
Made the bug report template less application-y.
3 years ago
Maurice Makaay
a9f5b86165
Merge branch 'main' of https://github.com/mmakaay/esphome-yeelight_bs2 into main
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
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.
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