Mirabella Genio Smart Home

I wonder if someone else has cracked the case on them. :frowning:

Labelling looks like

I003335 Wifi LED GLS
9W 75mA RGB+CCT
2700-6500K
240V 50hz Wifi 2.4Ghz
Made in China 250121

and

I002608 Wifi LED GLS
9W 75mA RGBW +2700K
240V 50Hz Wifi 2.4Ghz
Made in China 221020
V0002

Itā€™s very frustrating :confused: because Tuya can do it, so there must be some command that can be pushed.

One lot is RGB+CCT (works with the script) the other is RGBW (doesnā€™t work with the script).

Use the Tuya app to set the RGBW bulbs to a setting you like, then take note of hs_color setting of the bulbs in HA, and try use that in the script instead of color_temp

So maybe something like this would work.

kitchen_dim:
  alias: Kitchen Dim
  sequence:
    - service: light.turn_on
      entity_id: light.k1
      data:
        brightness: 115
        hs_color: 26.722, 28.925

No luck with that one, though your scripts are layed out differently to mine, I suspect youā€™re using another HA tool, to push data.

Iā€™m using the script menu and editing in YAML.

Mine look like this:

service: light.turn_on
target:
  entity_id: light.0480250810521cd70759
data:
  hs_color:
    - 26.722
    - 28.925

If I paste in your:

hs_color: 26.722, 28.925

In there, it doesnā€™t like it.
Anyhow it still didnā€™t ā€˜pull it back toā€™ white mode.

I also just tried, adding a scene in tuya, in the hope that scene would pull into HA and then I could simply call a Tuya scene, alas not the case.

I donā€™t have any scripts with hs_color, so not sure of the formatting of the values.

I create my scripts directly in the yaml file - I donā€™t use the HA editor, which gives the layout you I have I believe.

So, when you set the lights in questions to a white value you like using the Tuya app, what values does HA show you in Developers Tools?

Let me double check right now, but Iā€™m almost certain that these changes arenā€™t reflected in HA in the dev viewer. I feel like, because HA didnā€™t ā€˜pushā€™ the most recent white (nice white) to the bulb, HA isnā€™t aware of what the current state is.

Iā€™ll double check now but it feels that way.

HA should. Easy way to check, set the bulb, check HA, then change the bulb, check again, and so on.

So the only thing I can identify, is if I set the globe to warm white mode.
Then change brightness down, then brightness back up to maximum I can pull a read of the brightness value changing to 1000.

Frustatingly the problem has gone away and I know for a fact, itā€™s done this before.
So now, I can consistently set colour / not colour on my globes. Pretty annoying to be honest, because I know in a weeks time, itā€™ll stop working for no reason again.

Hey all, figure Iā€™d document this here so everyone can see and hopefully itā€™s of use to someone!

Iā€™ve managed to flash one of the Mirabella 9W RGBCCT downlights (I002741) to ESPHome but Iā€™m having some really weird behavior with coloursā€¦

Dimming and colour temperature work fine, so does toggling on/off via Home Assistant (FYI the LEDs are actually 2700k, canā€™t force them warmer sadly). However when I choose a colour for the LEDs, they change to that colour and the light no longer responds. I can toggle it off, change back to warm/cold, or pick a different colour but nothing happens. I can see the messages in the logs of the different channels being set, but until I power cycle the light from the mains, itā€™s stuck on whatever colour I first choseā€¦

I could only find the Tasmota template for this specific device (Mirabella Genio 9W RGBCCT Downlight (I002741) Configuration for Tasmota) and did some googling to get my configuration. Has anyone else experienced this or anything like it?

esphome:
  name: ensuite-downlight1
  platform: ESP8266
  board: esp01_1m

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:
  password: ""

wifi:
  ssid: "IoT Devices"
  password: !secret wifi_password
  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Ensuite-Downlight1"
    password: ""

captive_portal:

sm2135:
  data_pin: GPIO14
  clock_pin: GPIO12

# Individual outputs
output:
  - platform: sm2135
    id: output_red
    channel: 1
  - platform: sm2135
    id: output_green
    channel: 0
  - platform: sm2135
    id: output_blue
    channel: 2
  - platform: sm2135
    id: output_white
    channel: 3
  - platform: sm2135
    id: output_warmwhite
    channel: 4

light:
  - platform: rgbww
    name: "Ensuite Downlight 1"
    red: output_red 
    green: output_green 
    blue: output_blue 
    cold_white: output_white 
    warm_white: output_warmwhite 
    cold_white_color_temperature: 6500 K
    warm_white_color_temperature: 2700 K
    color_interlock: true
    # Ensure the light turns on by default if the physical switch is actuated.
    restore_mode: ALWAYS_ON
    
    gamma_correct: false

Hey mate, I struggled with these heaps until I realised itā€™s the gamma_correct thatā€™s cause this issue. By default itā€™s set kinda high (2.8 from memory) which crushes all the lower values to 0.

under ā€œlightā€ set ā€œgamma_correct: falseā€ and you should be able to dim down to 1% :slight_smile:

1 Like

Has the Tuya integration wildly broken for people recently?

Iā€™m being asked to make an iot account and create a linked cloud platform according to the wiki articles.

What is this all about? Has the whole thing changed entirely?

Read the 2021.10 release notes.

Hey guys has anyone got a ESPhome config for the late type Mirabella Genio 9W White dimmable LED bulbs with SM2123E drivers ?

I have three I bought from WW at half price last week. They have the TYLC5 ESP module and a SM2123E PWM LED driver chip. I flashed the first one via serial connection with a default ESPhome config so far.

Edit: Not to worry, I found the right I/O. This works.

output:
  - platform: esp8266_pwm
    id: output_ww
    pin: GPIO14
    max_power: 0.80

light:
  - platform: monochromatic
    name: "Genio-E27-WW-1"
    id: ww_light
    output: output_ww

can confirm that it works with the tuya app now after factory resetting the bulbs via the off on sequence.

tuya seems to have changed their HA integration though and you now need to create a tuya iot account and link the tuya app to that, then link the iot acct to HA

im quite certain you cant use the newest (RGBW + CCT) ones from woolies with tuya-convert or have they changed it now?

Iā€™m fairly certain also. I flashed mine to ESPhome via soldered on hardware serial.

Question for the floor, has anyone flashed the gu10 RGB+CCT bulbs via serial? Theyā€™re sold at woolies ( Mirabella Genio Wifi Dimmable 6w Led Downlight 240v Gu10 Each | Woolworths)

Iā€™ve flashed a bunch of the RGB+CCT downlights from kmart (theyā€™re great!) and want some GU10s for lighting in the bar area :slight_smile:

Iā€™m going to pick one up In the next few days to see if I can disassemble it, otherwise itā€™s a long wait from Ali Express for the Athom ones lol

Hi Guys,

I just purchased an Arlec Neutral Bulb from Bunnings and is was still running a TYWE3L.

I know this isnā€™t a Mirabella bulb but they look identical inside please see pictures attached also i found if i removed the chip from the main board i couldnā€™t flash it.

I have mine flashed with WLED and its working fine so far.

Cheers









Has anyone tried one of these doorbells?
https://www.kmart.com.au/product/full-hd-wi-fi-video-doorbell-with-chime/3864805
Seems to have a PIR. Do they provide a direct stream?