-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add YLXD62YI (
yeelight.light.ceiling24
) support (#83)
- Loading branch information
Showing
10 changed files
with
111 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# configuration based on: | ||
# - https://github.com/syssi/esphome-yeelight-ceiling-light/blob/main/yeelight_light_ceiling15.yaml | ||
|
||
substitutions: | ||
name: yeelight-light-ceiling24 | ||
|
||
esphome: | ||
name: ${name} | ||
min_version: 2024.6.0 | ||
|
||
esp32: | ||
board: esp32doit-devkit-v1 | ||
framework: | ||
type: esp-idf | ||
sdkconfig_options: | ||
CONFIG_FREERTOS_UNICORE: y | ||
advanced: | ||
ignore_efuse_mac_crc: true | ||
|
||
wifi: | ||
ssid: !secret wifi_ssid | ||
password: !secret wifi_password | ||
|
||
ota: | ||
platform: esphome | ||
|
||
logger: | ||
level: DEBUG | ||
|
||
api: | ||
|
||
sensor: | ||
- platform: adc | ||
pin: GPIO32 | ||
name: "${name} adc1" | ||
attenuation: 12db | ||
- platform: adc | ||
pin: GPIO33 | ||
name: "${name} adc2" | ||
attenuation: 12db | ||
|
||
output: | ||
- platform: ledc | ||
pin: GPIO19 | ||
id: output_warm | ||
- platform: ledc | ||
pin: GPIO21 | ||
id: output_cold | ||
|
||
light: | ||
- platform: cwww | ||
name: "${name} ceiling light" | ||
id: ceiling_light | ||
cold_white: output_cold | ||
warm_white: output_warm | ||
cold_white_color_temperature: 6500 K | ||
warm_white_color_temperature: 2700 K | ||
# disabling constant_brightness makes color temperature transition smooth without brightness dips | ||
# constant_brightness: true | ||
gamma_correct: 0 |