Last active
July 5, 2025 02:49
-
-
Save OothecaPickle/036ca8dcdabdfd7fd09a3b777447f8f0 to your computer and use it in GitHub Desktop.
https://archive.ph/7U5IF (WiFi 110V)
This file contains hidden or 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
substitutions: | |
name: ln882h-rgbcct-bulb | |
device: ln882h_rgbcct_bulb | |
friendly_name: LN882H RGBCCT Bulb | |
esphome: | |
name: ${name} | |
friendly_name: ${friendly_name} | |
# needs https://github.com/ESP32Async/ESPAsyncWebServer/pull/214 to compile, unnecessary for versions > 3.7.9 | |
libraries: | |
- ESPAsyncWebServer=https://github.com/ESP32Async/ESPAsyncWebServer.git#main | |
ln882x: | |
board: generic-ln882hki | |
# Enable logging | |
logger: | |
# Enable Home Assistant API | |
api: | |
password: "" | |
ota: | |
- platform: esphome | |
password: "" | |
wifi: | |
ssid: "XXX" | |
password: "XXXXXXXX" | |
# Enable fallback hotspot (captive portal) in case wifi connection fails | |
ap: | |
ssid: "Ln882H-Rgbcct-Bulb" | |
password: "XXXXXXXX" | |
bp5758d: | |
data_pin: PA05 | |
clock_pin: PA06 | |
output: | |
- platform: bp5758d | |
current: 6 | |
id: output_blue | |
channel: 1 | |
- platform: bp5758d | |
current: 6 | |
id: output_green | |
channel: 2 | |
- platform: bp5758d | |
current: 6 | |
id: output_red | |
channel: 3 | |
- platform: bp5758d | |
current: 6 | |
id: output_cold_white | |
channel: 4 | |
- platform: bp5758d | |
current: 6 | |
id: output_warm_white | |
channel: 5 | |
light: | |
- platform: rgbww | |
name: ${friendly_name} | |
id: ${device} | |
blue: output_blue | |
green: output_green | |
red: output_red | |
cold_white: output_cold_white | |
warm_white: output_warm_white | |
cold_white_color_temperature: 6500K | |
warm_white_color_temperature: 2700K | |
color_interlock: true | |
web_server: | |
# maybe limits functionality? | |
#local: true | |
version: 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment