Esphome esp8285

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

  name: node_name
  platform: ESP8266
  board: esp8285

  ssid: "SKY4D"
  password: ".."

# Enable logging

# Enable Home Assistant API
  password: ""

  password: ""
  - platform: rgb
    name: backlight
    red: pwm_r
    green: pwm_g
    blue: pwm_b
    restore_mode: ALWAYS_ON

  - 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

  - 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
  port: 80

Have a look at this page - it’s for Tasmota but does document the various GPIO pins for different models. Maybe that is all that is wrong.

I am pretty sure the magic home device is the arilux series - see here

A bit hard to find as they are under the sonoff page :slight_smile: