Link

Zemismart 7W BR30 Bulb

RGBW smart light bulb, BR30 shape, E27 base, 420-480lm, RGB colors + cold white, 100-240V AC 50/60Hz, natively Tuya/Smart Life, works with Tuya-convert to flash to ESPHome.

  1. Product Images
  2. GPIO Pinout
  3. Basic Configuration

Product Images

alt text

GPIO Pinout

Pin Function
GPIO13 my9231 data pin
GPIO15 my9231 clock pin

Basic Configuration

#https://www.zemismart.com/br30-wifi-rgbw-led-light-work-with-alexa-echo-google-home-assistance-ifttt-support-tuya-app-voice-timer-control-e27-lamp-p0053-p0053.html
substitutions:
  dev_name: zemismart_bulb_br30_001

esphome:
  name: ${dev_name}
  platform: ESP8266
  board: esp01_1m

wifi:

# Enable logging
logger:
  
api:

ota:

switch:
  - platform: shutdown
    name: "${dev_name}_shutdown"
  - platform: restart
    name: "${dev_name}_restart"

my9231:
  data_pin: GPIO13
  clock_pin: GPIO15
  num_channels: 4
  num_chips: 1

output:
  - platform: my9231
    id: output_white
    channel: 0
  - platform: my9231
    id: output_blue
    channel: 1
  - platform: my9231
    id: output_green
    channel: 2
  - platform: my9231
    id: output_red
    channel: 3

light:
  - platform: rgbw
    id: light_01
    name: "${dev_name}_light"
    default_transition_length: 0s
    restore_mode: ALWAYS_ON #Start with light on after reboot/power-loss event, so that it works from a dumb lightswitch
    red: output_red
    green: output_green
    blue: output_blue
    white: output_white

sensor:
  - platform: wifi_signal
    name: "${dev_name}_wifi_signal"
    update_interval: 30s
  - platform: uptime
    name: "${dev_name}_uptime"
    update_interval: 120s

text_sensor:
  - platform: version
    name: "${dev_name}_version"

Edit on GitHub