Finally figured out how to get these floods off of Tuya with full local control, including DDP listening from a WLED controller. Best part, this is all done over the air and no hardware to mod.
- Need a Ubuntu/Linux machine with Docker to do the install with Tuya Cloud Cutter. Git clone the repository locally.
- Download OpenBK7231T_UG_X.XX.XX.bin and place it in /custom-firmware folder
- For DDP to work you for effects you need need an ESP32 running WLED or xLights. This is running separately from the Novostella floods.
sudo ./tuya-cloudcutter.shfrom the terminal, no need for additional flags
- Choose 2 - Flash 3rd Party Firmware
- Select OpenBeken firmware that you downloaded
- Select By firmware version and name
- My version was 2.9.6 - BK7231T, double check in the smart life app under device info->updates
- Choose Tuya Generic
- Choose GU10 RGBCT Bulb
- Power cycle the flood light 6 times with about 1 second between on/off. If the light is flashing quickly, power cycle 3 more times. Should be flashing slowly.
- Pro tip use a smart outlet and press the button on it.
- Let Tuya Cloud Cutter do its magic
- Connect to the OpenBK7231T hotspot
- Navigate to http://192.168.4.1
- Configure Wifi to have the device join your network
- Let the device reboot and find the IP from your router
- Navigate to your flood light (http://192.168.xx.xxx)
- Go to Config->Configure Module
- Set these pins
- P6 (PWM0) - PWM - 1
- P24 (PWM4) - PWM - 0
- P26 (PWM5) - PWM - 2
- Choose Return to Menu then *Launch Web Application"
- Choose Tools from top menu
- Under LED tools click “100% Red, Blue, Green” to test out colors
- Go to Config->Configure General/Flags
- Flags I turn on:
- Flag 0,1,2,10 for MQTT Broadcasts
- Flag 24, for a decent white mode
- Config->Configure Name - Name of the device
Configure Home Assistant
- From the main menu choose Config->Configure MQTT
- Enter in your host info
- For Client Topic I use “flood_light_X”
- Group Topic I use “novestella”
- Check from Main Menu that MQTT is connected
- Navigate to Config->Home Assistant Configuration
- Click Start Home Assistant Discovery
- Message should queue and show up in Home Assistant MQTT
- Control you lights from Home Assistant
DDP for WLED listening
In WLED under LED preferences you can add DDP(Network) under led outputs and add the IP address for the flood light.
You can turn on/off WLED DDP listening through MQTT. This is the scripts I use:
connect_flood_lights_wled: alias: Connect Flood Lights to WLED sequence: - service: light.turn_on entity_id: - light.flood_light_1 - service: mqtt.publish data: topic: cmnd/flood_light_1/startDriver payload: DDP disconnect_flood_lights_wled: alias: Disconnect Flood Lights to WLED sequence: - service: mqtt.publish data: topic: cmnd/flood_light_1/stopDriver payload: DDP - service: light.turn_off entity_id: - light.flood_light_1
I have flashed 6 Novostellas. Four from August 2021, and a couple I got under warranty replacement last year (Sept 2022)
Product Link: https://www.amazon.com/gp/product/B08WX4QN63
OpenBeken Teardown: https://www.elektroda.com/rtvforum/viewtopic.php?p=20552462