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
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.
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ā¦
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%
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.
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
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.