I’ve bought these bulbs from amazon:
They use the tuya smart app so I hoped they would flash ok without me having to open them up. Downloaded tuya-convert onto my pi4 and flashed them with esphome no problem. Trouble is the example config I used is for a mirabello bulb that I hoped was similar and now although I can turn the bulb on and off and dim it via esphome\home assistant I cannot control the colour at all, which was working fine through the tuya app.
When I did my first flash with tuya-convert it had the following info:
Getting Info from IoT-device
VTRUST-FLASH 1.5
(c) VTRUST GMBH https://www.vtrust.de/35c3/
READ FLASH: http://10.42.42.42/backup
ChipID: 64e234
MAC: EC:FA:BC:64:E2:**
BootVersion: 7
BootMode: normal
FlashMode: 1M QIO @ 40MHz
FlashChipId: 1540c8
FlashChipRealSize: 2048K
Active Userspace: user2 0x81000
My current config that doesn’t work with RGB is:
output:
- platform: esp8266_pwm
id: output_red
pin: GPIO4
- platform: esp8266_pwm
id: output_green
pin: GPIO12
- platform: esp8266_pwm
id: output_blue
pin: GPIO14
- platform: esp8266_pwm
id: output_white
pin: GPIO5
light:
- platform: rgbw
name: "rgbw_01"
id: light1
red: output_red
green: output_green
blue: output_blue
white: output_white
Has anybody got a working esphome config for these bulbs or could advise me on how to make my own?