Mirabella genio plug (ESPHOME Flashed) LED does not light up

I have flashed (tuya_convert OTA) Mirabella genio plug with ESPHOME, My ESPHOME config is as follows:

  devicename: "lamp"
  readable_devicename: "Lamp"

  name: $devicename
  platform: ESP8266
  board: esp01_1m

  ssid: "MYSSID"
  password: "MYPASS"

# Enable logging

# Enable Home Assistant API

  - platform: gpio
    id: button
      number: GPIO13
      mode: INPUT_PULLUP
      inverted: true
      - switch.toggle: relay
      - switch.toggle: red_led
  - platform: status
    name: "${readable_devicename} Status"

  - platform: gpio
    name: "${readable_devicename} Plug"
    pin: GPIO12
    id: relay
  - platform: gpio
    id: red_led
      number: GPIO2

I can control the plug via HA and physical button, however, the led does not light up, can anyone validate the GPIOs? Has anyone got it working?

What’s the exact plug model?

On ESPHome website, there is an example but it is not the same GPIO:

I have Mirabella genio plug (kmart) 2nd example in the cookbook.

Just to be clear its not brilliant one.

Fixed, LED is on GPIO4 not GPIO2

Hey guys, any advice on flashing one of their power-board’s with ESP-Home?

Genio Wi-Fi 4 Outlet Power Board with 2 USB

Probably best to post this in the generic Mirabella thread rather than an old thread about an issue regarding a different product, which was fixed…

Also, see here.

1 Like

Ta mate, didn’t see that thread. Cheers.

no worries, but open the second link I provided, it’s got the code you need for ESPhome

1 Like

Awesome, I was just about to ask about ESP Home. I also found that first thread very useful. I’ve ordered the power-board and this will be my first go at flashing a device, so I’m sure to be back on the forums with other questions. Thanks for your help mate, it’s appreciated.