ankycooper
(Ankit Sharma)
October 20, 2019, 1:14pm
1
Hi,
I have flashed (tuya_convert OTA) Mirabella genio plug with ESPHOME, My ESPHOME config is as follows:
substitutions:
devicename: "lamp"
readable_devicename: "Lamp"
esphome:
name: $devicename
platform: ESP8266
board: esp01_1m
wifi:
ssid: "MYSSID"
password: "MYPASS"
# Enable logging
logger:
# Enable Home Assistant API
api:
binary_sensor:
- platform: gpio
id: button
pin:
number: GPIO13
mode: INPUT_PULLUP
inverted: true
on_press:
- switch.toggle: relay
- switch.toggle: red_led
- platform: status
name: "${readable_devicename} Status"
switch:
- platform: gpio
name: "${readable_devicename} Plug"
pin: GPIO12
id: relay
- platform: gpio
id: red_led
pin:
number: GPIO2
ota:
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?
makai
October 21, 2019, 8:42pm
2
What’s the exact plug model?
On ESPHome website, there is an example but it is not the same GPIO:
https://esphome.io/cookbook/brilliant-mirabella-genio-smart-plugs.html
ankycooper
(Ankit Sharma)
October 21, 2019, 8:48pm
3
I have Mirabella genio plug (kmart) 2nd example in the cookbook.
Just to be clear its not brilliant one.
ankycooper
(Ankit Sharma)
November 1, 2019, 12:07pm
4
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
https://mirabellagenio.net.au/power-board-1
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.