Created
June 2, 2021 17:38
-
-
Save CRTified/ebb47ec0fe093cf781c7e7097deb1382 to your computer and use it in GitHub Desktop.
H801 esphome.io base config
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
esphome: | |
name: h801light | |
comment: Base Configuration for H801 LED controller | |
platform: ESP8266 | |
board: esp01_1m | |
ota: | |
output: | |
- platform: esp8266_pwm | |
pin: GPIO12 | |
frequency: 1000 Hz | |
id: pwm_b | |
- platform: esp8266_pwm | |
pin: GPIO13 | |
frequency: 1000 Hz | |
id: pwm_g | |
- platform: esp8266_pwm | |
pin: GPIO15 | |
frequency: 1000 Hz | |
id: pwm_r | |
- platform: esp8266_pwm | |
pin: GPIO14 | |
frequency: 1000 Hz | |
id: pwm_w1 | |
- platform: esp8266_pwm | |
pin: GPIO04 | |
frequency: 1000 Hz | |
id: pwm_w2 | |
- platform: esp8266_pwm | |
pin: GPIO05 | |
frequency: 1000 Hz | |
id: pwm_d1red | |
inverted: true | |
- platform: esp8266_pwm | |
pin: GPIO01 | |
frequency: 1000 Hz | |
id: pwm_d2green | |
inverted: true | |
light: | |
- platform: rgbww | |
name: "H801 Light" | |
red: pwm_r | |
green: pwm_g | |
blue: pwm_b | |
cold_white: pwm_w1 | |
warm_white: pwm_w2 | |
cold_white_color_temperature: 6536 K | |
warm_white_color_temperature: 2000 K | |
- platform: monochromatic | |
name: "Red LED" | |
output: pwm_d1red | |
- platform: monochromatic | |
name: "Green LED" | |
output: pwm_d2green | |
binary_sensor: | |
- platform: gpio | |
pin: GPIO3 | |
name: "GPIO3-TX" | |
device_class: motion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment