im after a little help im trying to set up magic home led controler, i have flashed it with esphome, i can upload code, i can control the colour to an extent, red works and is red, blue shows up as green and green just turns the light off, i have gone through the code and no matter what i do with the gpio pins nothing changes after uploading, swapping green and blue gpio pins in code i thought green would be green and then blue would turn of but no blue is still green and green still turns the strip of, im using a esp8285 the pin out for this is red pin 5 green 12 blue 13
esphome:
name: node_name
platform: ESP8266
board: esp8285
wifi:
ssid: "SKY4D"
password: ".."
# Enable logging
logger:
# Enable Home Assistant API
api:
password: ""
ota:
password: ""
light:
- platform: rgb
name: backlight
red: pwm_r
green: pwm_g
blue: pwm_b
restore_mode: ALWAYS_ON
output:
- platform: esp8266_pwm
pin: GPIO5
frequency: 1000 Hz
id: pwm_r
- platform: esp8266_pwm
pin: GPIO12
frequency: 1000 Hz
id: pwm_g
- platform: esp8266_pwm
pin: GPIO13
frequency: 1000 Hz
id: pwm_b
text_sensor:
- platform: template
name: "light_id"
id: light_id
lambda: |-
return {"esphome_diyhue_light;b8:27:eb:77:77:b0;backlight;CT-BOOST;RGB-BOOST"};
update_interval: 24h
web_server:
port: 80