Thanks, I’ll check out those prebuilt images, I still like EasyESP though…
Hopefully I can get some time to work more on this soon, just moved interstate and started a new job so my play time is limited to an hour or two of an evening at the moment.
I finally got some time to put into this (and found my Raspberry Pi 3, moving sucks!), I have the Mirabella RGBW Globe, I used tuya-convert running on a Raspberry Pi 3 as per the instructions worked first time, no issues.
I setup Tasmota as a Generic Module using these pin assignments:
this is me every night when i’m playing with home automation. after a long day at work and an evening cleaning up and time with the kids i have this small window of opportunity to do stuff, and then you find something new you didn’t know before and … it’s soooo late … but …
The Bunnings “Brilliant” smart wifi plug for $20. it’s just another Tuya, so i’ve been installing tasmota using tuya-convert on my Ubuntu laptop. The procedure was identical to the Genio wifi plug from K-mart. the only difference is the GPIO settings in tasmota as they are wired slightly differently inside.
I’ve been testing ESPHome on my devices lately and am finding it a lot more stable than Tasmota, if anyone is interested in trying ESPHome this is my current config for the Genio RGB globes:
Extending on from the ESPHome configuration posted by @bircoe for the RGB version of the Genio bulb, please find below mine for the both the tunable and cool white / warm white bulbs.
Nice one, I’m going to “borrow/steal” the on_boot bits…
I’m trying to start a repo of all my ESPHome configs, it’s pretty light on at the moment because most of my stuff is Wemos Mini D1 based custom so may not be very useful to other prople but I’ll get them all in there soon… if you don’t mind I can add yours, would be nice to have an all in one reference for Australian products.
The GPIO mapping in here would have saved me a bunch of time lol!
I read in your Git that you are using tuya-convert and have switched from Tasmota to ESPhome. Are you going straight from the original firmware to ESPhome using the third party .bin instruction as per the bottom line of the readme? (replacing the .bin file with one downloaded from ESPhome?)
Of the 3 Tuya devices I’ve converted so far I started all of them with Tasmota, but yeah considering doing a generic preflash ESPHome image then OTA the final image.
I’ve personally gone straight to uploading the complied ESPHome .bin using tuya-convert and skipping Tasmota all together. Worked flawlessly on the 6 Tuya based devices flashed.
i’ve successfully used tuya-convert to flash these with tasmota and it’s working perfectly. identical flashing procedure to the kmart genio, but the tasmota GPIO settings are slightly different.
one of the tear-downs i read specified that the USB port was not connected to the ESP chip and ran directly from the AC power. i think this is a common tuya design as i’ve seen other tuya based devices with the same limitations.
i think the biggest problem would be that you want to pull a few amps from the USB and that couldn’t be supplied from the ESP chip - you’d need to use another relay to switch it.
i purchased a bunch of Mirabella Genio bulbs to play around with in HA and used your config above. after playing around with the colours, i couldn’t get the bulb brightness up to the normal white as it came out of the box. i eventually worked it out - you need to have separate controls for the “white” channel for this bulb.
i added in the appropriate lines and it started working, however i noticed that the controls in HA seemed “out of sync” with what was going on. i went back to the tasmota/HA documentation and found a much better configuration. i’ve combined this with the white channel below and now it works beautifully.
i also discovered you can do “effects” to automatically cycle colours and also a disco mode
note - in order for my config below to work, open up the console on your tasmotised mirabella RGBW bulb and issue the console commands:
SetOption17 1 - This enables decimal colors
SetOption59 1 - This enables sending of tele//STATE on POWER and light related commands
@wizdude this is exactly why I’ve switched to using ESPHome, so I can avoid the config garbage and just get on with using my devices, you just need to configure the ESPHome firmware with the correct channels and it auto configures HA via mqtt discovery, or API if that is more your thing.