Enbrighten Motion Security Light - basic functionality with ESPhome (via tuya-cloudcutter)

Hi everyone.
I have removed the original firmware from an Enbrighten 58185-S1 Motion Security Light following a cloudcutter guide.
All went well and it now has ESPhome running on it.
After completing the flashing, I found out too late that there is no control of it with ESPhome.
Looking at other devices that can be ‘cut’, they have .yaml files available to be installed which define pins and input/output functions.
My light has a very basic .yaml with no pins defined.

Has anyone else ‘cut’ one of these devices and figured out how configure it for control?

Thanks for your help
Craig

First question - did it successfully flash? Do you see the device online in ESPHome builder?

EDIT: No wifi - so I guess not. And since you used cloud cutter you will have no serial logs to see the issue…

Post your yaml, also is captive portal turned on in the config? Can you see an AP for the device if you scan for networks?

Hi zoogara.

Looks like my title needs to be improved/reworded. I’ll edit it, remove ‘wifi’…
It is successfully flashed. It has a wifi connection, i can connect to it through wifi but I cannot control any of its original functions as the ESPhome yaml does not encode any of the pin functions. eg turn the light on or off, turn on or off the accent light ring…

I have noticed there is a dropdown for the pins in the web portal. Do I have to trial and error to see what they control and manually config this light as the prebuilt device configuration doesn’t generate yaml that configures the pins?
(Note, this is my first time using thsese tools so literally learning as I go…)

The yaml that was uploaded is the basic profile from UPK2ESPHome:

esphome:
  name: upk2esphome-bk7231t

bk72xx:
  board: generic-bk7231t-qfn32-tuya

logger:

web_server:

captive_portal:

mdns:

api:
  password: ""

ota:
  platform: esphome
  password: ""

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  ap:

button:
  - platform: restart
    name: Restart

debug:
  update_interval: 30s

text_sensor:
  - platform: debug
    reset_reason:
      name: Reset Reason
  - platform: libretiny
    version:
      name: LibreTiny Version

sensor:
  - platform: uptime
    name: Uptime

uart:
  rx_pin: RX1
  tx_pin: TX1
  baud_rate: REPLACEME

tuya:

Here is a screenshot of the web portal I see:

This is the weblink to see the raw config files:
https://upk.libretiny.eu/?profile=enbrighten-58185-s1-motion-security-light-v1.3.7

Thanks for you help
Craig

Ok - start by going to the site linked below. Your device is not listed but if you can find an identical looking device (these things are often just rebranded) then you could try adding yaml for the listed control GPIOs.

Ignore that it says Tasmota - the pins are all we are interested in.

Hi I’ve gone through the device list on the Tasmota site but do not see anything similar.
I started messing with the dropdowns on the web portal and the device is now not connecting to wifi. I had done a reboot then factory reset but its not available as a web portal, and I do not see it when I scan my wifi.
I will dig out my raspi with cloudcutter on it and see if I can reconnect/discover the device.
After buggering it up I found a similar looking device on the cloudcutter github but can’t try anything with its yaml until I recover my device…
Let you know how it goes.

Craig