Onforu Wifi Security Light

Hi All,
Has anyone managed to integrate the Onforu wifi Security lights into home assistant? I’m not sure if these are just Tuya devices, be integrated directly, or flashed with another firmware.

https://www.amazon.com/gp/product/B0BCQ9K1ZX/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&th=1

Thank You!

Bump. I’d be surprised no one had any info on these considering their price and popularity.

Also Bump, Not finding a lot of info on these - I can integrate with google home, which is obviously not preferred. Anyone have any luck nailing down these?

Just bumping this up. Still hoping someone has figured out a way to get these into home assistant. For anyone unfamiliar with them, they are pretty nice lights for a very low cost on Amazon.

@n1bbl35 did you have any luck getting these into Home Assistant?

https://fccid.io/2A3W8BDB55WF-3/Internal-Photos/Internal-Photos-6206998.pdf

Looks like it does use cbu (bk7231n)
So you can flash it esphome/openbeken
Assuming the tuya firmware’s not patched yet, you can just flash ota using cloudcutter without any teardown

Thank you for pointing me in the right direction @ferbulous. If I decide to go down this route, I’ll be sure to post my findings for anyone else interested.

A bit older, but curious if you tried the cloudcutter route and/or found a way to do it?

Bumpety bump bump anyone get this working yet?

Just did a tuya-cloudcutter OTA flash for my 100w onforu wifi flood motion light which is the same as the one linked above, jut more LEDs, I used the mfg/model from that 55w model and was successful in making it a local esphome device. Here’s the config with the default motion detection enabled, or you can remove it and drive everything via automations. Enjoy.

bk72xx:
  board: generic-bk7231n-qfn32-tuya
    
output:
  - platform: libretiny_pwm   # warm-white channel
    pin: P24
    frequency: 1000 Hz
    id: warm_pwm

  - platform: libretiny_pwm   # cool-white channel
    pin: P26
    frequency: 1000 Hz
    id: cool_pwm

light:
  - platform: cwww
    id: flood_light
    name: "Light"
    warm_white: warm_pwm
    cold_white: cool_pwm
    warm_white_color_temperature: 2700 K
    cold_white_color_temperature: 6500 K
    constant_brightness: true
    default_transition_length: 0.3 s

# ───────── Sensors & automation ─────────
binary_sensor:
  # PIR motion — P7 HIGH when motion present
  - platform: gpio
    id: motion
    name: "PIR Motion"
    pin:
      number: P7
      mode: INPUT_PULLDOWN
    device_class: motion
    filters:
      - delayed_off: 5 s
    on_press:
      then:
        - if:
            condition:
              binary_sensor.is_off: daylight        # only when dark
            then:
              - light.turn_on:
                  id: flood_light
                  brightness: 100%
    on_release:
      then:
        - delay: 60 s
        - light.turn_off: flood_light

  # Daylight sensor — P23 LOW = bright, HIGH = dark
  - platform: gpio
    id: daylight
    name: "Daylight"
    pin:
      number: P23
      mode: INPUT
      inverted: true              # “ON” means daylight present
    device_class: light