logo elektroda
logo elektroda
X
logo elektroda

Request for Help – Flashing Della Minisplit WiFi Module (WBR3 on TCWBRCU1)

dressyspider 10203 263
ADVERTISEMENT
  • #241 21761114
    p.kaczmarek2
    Moderator Smart Home
    Here is test PR:
    https://github.com/openshwprojects/OpenBK7231T_App/pull/1870
    Command is "Gen X", where X is 0, 1, 2 or 3.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #242 21761123
    vietxtlife
    Level 8  
    >>21761114 That's what I'm talking about. Thank you.
    So do I just OTA the file? Right?
  • ADVERTISEMENT
  • #243 21761141
    p.kaczmarek2
    Moderator Smart Home
    well, yes, download artifacts, extract it, find proper ota file your platform and give it a go
    Helpful post? Buy me a coffee.
  • #244 21761182
    vietxtlife
    Level 8  
    >>21761141 Dump question, sorry: extract the file with 7-Zip? Or? Lol I'm so lost
  • ADVERTISEMENT
  • #246 21761331
    p.kaczmarek2
    Moderator Smart Home
    Here is step by step explanation:
    https://www.elektroda.com/rtvforum/topic4033833.html
    Helpful post? Buy me a coffee.
  • #247 21761454
    vietxtlife
    Level 8  
    >>21761304 Thanks @divadiow @p.kaczmarek2, it seems like it does work. But I need the weather to get a bit cooler so I could really push the mini split to really know if it works. Right now I can't really push the mini split to max.
  • #248 21761976
    p.kaczmarek2
    Moderator Smart Home
    That's nice to hear, but how did you verify that it works? With power consumption check? How big is the change?
    Helpful post? Buy me a coffee.
  • #249 21762524
    vietxtlife
    Level 8  
    >>21761976 from L1 to L3 about roughly 300 W difference, take that with a grain of salt because I can't be sure if that was the result of the compressor throttle down from the option or it's reached the set temperature (set to the highest possible 88°F) because it was not that cool at the moment. Need to do more tests around Christmas, then it's really cold and the mini split will have to work hard to raise the temperature up without any doubt. I will update when I can be sure that the code works lol, again thank you all for all the work that you guys put in.
  • #250 21764091
    vietxtlife
    Level 8  
    >>21761976 Hey, could we put the GEN option in HA? I want to do automations with GEN function. Thanks, guys
  • ADVERTISEMENT
  • #251 21766471
    vietxtlife
    Level 8  
    For anyone who might have messed up their Wi-Fi module during flash, or if you’re looking for a spare one so you can play with it, search for Replacement Internet/BLE Dongle for Pioneer® WYT/WT Series Air Conditioner Heat Pump Systems @ https://www.pioneerminisplit.com. They use the same module, and the firmware's also the same, just got my delivered, jumped on Tuya dev, it's shown exactly what I have from my original module. So if need be you can get replacement now, don't have to go through Della; they’re always out of stock. Anyways, this might help someone.
  • #252 21775988
    dressyspider
    Level 2  
    Hey @vietxtlif, were you able to get OpenBeken up and running on your mini?
  • #253 21779310
    vietxtlife
    Level 8  
    >>21775988 Yes, got it running OBK; everything works as it should. Thanks.

    Added after 2 [minutes]:

    How do I get Home Assistant to discover Gen option and have Gen option display in Climate like other options (Mode, Swing, Fan, ...). I tried modifying drv_tclAC but can't get Gen to show up in Climate.
  • #254 21779313
    p.kaczmarek2
    Moderator Smart Home
    Is there a HA-specific solution for Gen? Or do you need a generic enum? You could look into enums HA discovery source code. If not, I can try to look into it myself, when I get some time.
    Helpful post? Buy me a coffee.
  • #255 21779319
    vietxtlife
    Level 8  
    Honestly, I don't know where to look. I tried, but my skill is next to none; if you could, I really appreciate.
  • #256 21779321
    p.kaczmarek2
    Moderator Smart Home
    Probably hass_createSelectEntityIndexedCustom function in OBK source code could help.
    Helpful post? Buy me a coffee.
  • #257 21779328
    vietxtlife
    Level 8  
    >>21779321 I will look at that now. Thank you.

    Added after 5 [hours] 35 [minutes]:

    thank you for the pointer, i had made changes to hass.c and hass.h. dont know if the changes are correct and i dont know how to create release to get my ota file to test
  • #258 21779457
    p.kaczmarek2
    Moderator Smart Home
    Is this your PR? It does not build yet, you have a compile error:
    GitHub interface showing failed continuous integration checks
    Helpful post? Buy me a coffee.
  • #259 21779635
    vietxtlife
    Level 8  
    >>21779457 Yes, that's what I tried. Honestly, I don't know what I'm doing. All I did was search for what you said "hass_createSelectEntityIndexedCustom" and write a new part for GenOptions in the two files I uploaded here. If you could look over those 2 files to see if I messed up somewhere.
  • #260 21779890
    p.kaczmarek2
    Moderator Smart Home
    Is the mentioned PR same as uploaded files? If so, there is no need to upload C files, all changes are visible via Github... or are you saying that there is something more in files than in your PR? If so, please submit it to Github, so it's easier to see what was changed.

    Github shows why your changes didn't compile:
    Compilation error in CI showing missing brace in drv_tclAC.c file
    Helpful post? Buy me a coffee.
  • #261 21779898
    vietxtlife
    Level 8  
    >>21779890 I have just committed hass.c and hass.h. When I create pull, all checks are errors. Don't know what I did wrong Laptop screen showing a GitHub pull request page for Update hass.c #1895

    Added after 11 [hours] 6 [minutes]:

    >>21779898 help please, i dont know what cause the errors anymore
  • #262 21780258
    p.kaczmarek2
    Moderator Smart Home
    Ok, so do you know, that if you click here on "Details":
    Closed pull requests list showing mostly failed CI test results
    You get an error message there:
    Build error showing redefinition and multiple initialization of variable “modes”
    Currently it says:
    
     D:\a\OpenBK7231T_App\OpenBK7231T_App\src\httpserver\hass.c(438,9): error C2374: 'modes': redefinition; multiple initialization 
    

    It says line 438, right? So go to line 438.
    I can see you have variable "modes" declared twice:
    Screenshot showing source code changes in hass.c file on GitHub
    It's good that you are trying to add it, possibly with a help of an LLM, but it would benefit you a lot if you read the error messages.

    Otherwise I'll look into it when I get some time, but I'm just a single person and this project is huge so sometimes I can't really help right away.
    Helpful post? Buy me a coffee.
  • #263 21781377
    vietxtlife
    Level 8  
    App settings screen showing GEN Mode with power levels 30%, 50%, and 80%



    So today I managed to capture a graph of the mini split Gen Options operate and how much power it consumed as each Gen option is engaged. Though today is on the extreme side of things, we have -9 °C with our weather, so the mini split is working really hard to heat the room it's in.

    Power consumption chart of shed AC in watts between 8:50 AM and 9:45 AM


    Looking at the graph, each time power usage goes up or down is when I engaged Gen options. With LV1 = 30% the mini split uses roughly 1200 W, LV2 = 50% = 1800 W, LV3 = 80% = 2300 W, and with no Gen = 100% = 2900 W. And because I have the mini split on all day, you can see how much energy can be saved here.
    I control it from the Tuya app, by the way, and the graph is taken from the energy monitor CT clamp that only monitors the mini split circuit
  • #264 21797390
    aleksclark
    Level 1  
    >>21566741 Hey, I've got the same module, and just cannot get anything to connect for a firmware dump. I tried `python3 -m ltchiptool flash read -d /dev/ttyACM0 ambz2 /dev/null --length 0x1000` and it times out no matter what combination of pulling A_0 and/or RXD to 3.3 V, power via 5 V, 3.3 V, pulling EN low...

    Can you share how you managed to get a dump/flash?

    Edit: also tried picocom, I get nothing from the LOG_UART. If I hook up to user UART it's definitely alive because I get a single weird char when power applied.

    EDIT: it was my fraking USB adapter. Successfully flashed w/OpenRTL87X0C, now we see if it works!

Topic summary

The discussion centers on flashing and customizing the WiFi module (WBR3 on TCWBRCU1 board) of a Della Optima Series minisplit air conditioner to run OpenBeken firmware for local, cloud-free control. Initial assumptions about the device using TuyaMCU were revised after UART traffic analysis revealed a custom protocol similar to TCL AC units, leading to the development and testing of a dedicated TCL driver in OpenBeken. The user successfully desoldered the WBR3 module, backed up its firmware using appropriate Realtek tools (ltchiptool and AmebaZ2 PG Tool), and flashed OpenBeken firmware. Key datapoints such as power, mode, fan speed, temperature, humidity, and PM2.5 were identified from the Tuya IoT platform, but the device uses a binary packet protocol rather than standard Tuya DPIDs.

The community collaboratively developed and refined the TCL driver, enabling control of power, mode (cool, heat, dry, fan, auto), fan speeds (mapped to Smart Life app presets including auto, mute, mid-low to turbo), swing positions (vertical and horizontal), buzzer (beep) on/off, and display brightness on/off. The driver was integrated with Home Assistant via MQTT with discovery support, allowing control and state feedback. Challenges included correct UART parity settings (even parity), packet parsing, and mapping driver values to Home Assistant entities. The user provided detailed logs, testing results, and UI feedback, leading to improvements in MQTT integration, UI elements for fan speed and swing controls, and bug fixes for state synchronization. The project also discussed future enhancements like better OBK UI integration, thermostat card improvements, and potential DIY thermostat projects using OBK on ESP32 with external sensors.

Overall, the thread documents a successful reverse engineering and firmware replacement effort for the Della minisplit WiFi module, enabling local control with OpenBeken, full MQTT/Home Assistant integration, and detailed community-driven driver development for a non-standard protocol device.
Summary generated by the language model.
ADVERTISEMENT