Cloudfree RGBCW bulb On/Off power cycle?

Home Assistant novice. Installed first device - Cloudfree Smart Bulb RGBCW (ESP8266) converted from native Tasmota to ESPHome without issue. All HA entity controls appear to work as expected.

Problem - Under the Tasmota firmware the bulb could be On/Off controlled by the main power wall switch. Now the bulb can only be turned Off with wall switch, not On.

What did I miss in the firmware conversion?

Thanks,
Bo3b

Difficult to say without seeing your esphome yaml.

# Define output pins
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_warm_white
    pin: GPIO13
  - platform: esp8266_pwm
    id: output_cold_white
    pin: GPIO5

light:
  - platform: rgbww
    name: "CF Bulb"
    red: output_red
    green: output_green
    blue: output_blue
    cold_white: output_cold_white
    warm_white: output_warm_white
    cold_white_color_temperature: 6500 K
    warm_white_color_temperature: 2000 K

Continuing research appears to suggest the CF Bulb firmware needs to include installed firmware code similar to below for a Sonoff S31 plug which also has a physical main AC power On/Off switch.

binary_sensor:
  - platform: gpio
    pin:
      number: GPIO0
      mode: INPUT_PULLUP
      inverted: True
    name: "button"
    on_press:
      - switch.toggle: relay 
  - platform: status
    name: "status"

switch:
  - platform: gpio
    name: "relay"
    pin: GPIO12
    id: relay
    restore_mode: ALWAYS_OFF

If so, Questions now become -

  1. How to determine exactly which ESP chip is in the Bulb?
    Prior Tasmota firmware diagnostic reported - ESP Chip ID: 13631364 (ESP8266EX)

  2. Once specific chip is known - Which Pin(s)/GPIO(s) are required for AC power control?

  3. Can the Bulb be damaged through experimentation and selection of wrong pins?

Thanks again for any help…

Anyone?

Think the “binary.sensor” section of code above is on the right track. Just would be great to get some experienced confirmation and correct pin needed. Or feedback on potentially damaging the bulb if guessing wrong on pin assignments.

Also, is there a better forum to be asking this type of question?

Thanks again…

I don’t have an answer for you, but is your bulb still working?

I had some similar bulbs I bought last year, and all 4 failed within a month. But at least I was able to return them.