logo elektroda
logo elektroda
X
logo elektroda

OpenBeken BK7231N WVC Microinverter Tuya MCU dpID 101/102/103/18 Mapping

ondrejm111 603 12
ADVERTISEMENT
  • #1 21883769
    ondrejm111
    Level 7  
    Posts: 7
    OpenBeken + WVC Microinverter (Tuya MCU) – Working dpID Mapping

    I successfully integrated a WVC microinverter (Tuya MCU, BK7231N) with OpenBeken and mapped the correct dpIDs without needing RAW parsing.
    Silver-gray electrical unit with multiple black side connectors on a white background

    Device


    * WVC microinverter (Tuya-based)
    * BK7231N WiFi module
    * OpenBeken 1.18.x

    Working dpIDs


    * **103 → AC Power (actual output)** ✅
    * **102 → DC Power (panel input)** ✅
    * **18 → Temperature** ✅
    * **101 → ON/OFF** ✅

    Important Notes


    * **dpID 103 is the correct AC power** (matches Tuya app precisely)
    * **dpID 10 looks similar but is inaccurate → do NOT use**
    * **dpID 7 contains RAW data (power, voltage, etc.), but parsing is not needed**
    * Some dpIDs are scaled or internal values and may be misleading

    OpenBeken Configuration


    startDriver TuyaMCU
    tuyaMcu_setBaudRate 115200
    tuyaMcu_defWiFiState 4
    
    # ON/OFF
    linkTuyaMCUOutputToChannel 101 1 1
    
    # AC Power
    linkTuyaMCUOutputToChannel 103 2 2
    
    # Temperature
    linkTuyaMCUOutputToChannel 18 2 3
    
    # DC Power
    linkTuyaMCUOutputToChannel 102 2 4
    
    setChannelType 2 Power
    setChannelType 3 Temperature
    setChannelType 4 Power
    
    setChannelLabel 1 state
    setChannelLabel 2 power_ac
    setChannelLabel 3 temperature
    setChannelLabel 4 power_dc


    MQTT Recommendation


    Use a unique device name:
    MqttClient sklad_vzadu


    For multiple units:
    sklad_vzadu_1
    sklad_vzadu_2


    Home Assistant Note


    After changing device name or configuration, remove old retained MQTT discovery topics to avoid duplicate entities.

    Result


    * Accurate AC and DC power readings
    * Temperature monitoring
    * ON/OFF control
    * Full MQTT integration with Home Assistant

    This setup works reliably and avoids unnecessary reverse engineering of RAW Tuya data.

    autoexec.bat


    startDriver TuyaMCU
    startDriver NTP
    tuyaMcu_setBaudRate 115200
    tuyaMcu_defWiFiState 4
    
    linkTuyaMCUOutputToChannel 101 bool 1
    linkTuyaMCUOutputToChannel 102 2 2
    linkTuyaMCUOutputToChannel 103 2 3
    linkTuyaMCUOutputToChannel 18 2 4
    linkTuyaMCUOutputToChannel 2 2 5
    linkTuyaMCUOutputToChannel 105 2 6
    
    setChannelType 1 Toggle
    setChannelType 2 Power_div10
    setChannelType 3 Power_div10
    setChannelType 4 Temperature
    setChannelType 5 EnergyTotal_kWh_div100
    setChannelType 6 Dimmer
    
    setChannelLabel 1 "Switch"
    setChannelLabel 2 "Vykon DC"
    setChannelLabel 3 "Vykon"
    setChannelLabel 4 "Teplota"
    setChannelLabel 5 "Celkova energia"
    setChannelLabel 6 "Limit %"
    
    setFlag 7 1 
    setFlag 10 1 
    setFlag 21 1 
    setFlag 40 1 
    setFlag 19 1
    setFlag 37 1
    setFlag 51 1
    setFlag 29 1
    
    MqttClient mi_sklad_vzadu
    ShortName mi_sklad_vzadu







    OpenBeken BK7231N WVC Microinverter Tuya MCU dpID 101/102/103/18 Mapping
  • ADVERTISEMENT
  • #2 21896948
    ncore432
    Level 8  
    Posts: 13
    Rate: 2
    AWESOOOOME !
  • #3 21905303
    vincenzoernst1
    Level 9  
    Posts: 95
    Help: 3
    Rate: 7
    this turns this china stuff into interesting products! i sadly only have an old WCV1200 pre wifi unit (10 years old) around. since "cheap" inverters are all around it would be interesting if any others also uses BK chips for wifi. this should be very likly?!?

    @ondrejm111
    do you have high res internal photos?
  • #4 21908550
    ondrejm111
    Level 7  
    Posts: 7
    >>21905303
    OpenBeken BK7231N WVC Microinverter Tuya MCU dpID 101/102/103/18 Mapping
    OpenBeken BK7231N WVC Microinverter Tuya MCU dpID 101/102/103/18 Mapping
  • ADVERTISEMENT
  • #5 21908721
    vincenzoernst1
    Level 9  
    Posts: 95
    Help: 3
    Rate: 7
    >>21908550

    as i learned some time ago its better to add pics as attachmet than as images, so the resolution is much better.
  • ADVERTISEMENT
  • #6 21909316
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14515
    Help: 651
    Rate: 12518
    Thank you for sharing this unique device! Are all of dpIDs mapped? Do you happen to have original factor 2MB dump backup?
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #7 21909477
    ondrejm111
    Level 7  
    Posts: 7
    >>21909316

    There are still some RAW packets (dpID 7 and 3) not decoded yet.

    I’ve attached the original 2 MB factory dump backup.
    Attachments:
    • readResult_BK7231N_QIO_microinvertorback_2026-13-4-11-09-03.bin (2 MB) You must be logged in to download this attachment.
  • #8 21909608
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14515
    Help: 651
    Rate: 12518
    Can you provide a captured sample of those packets? Or maybe @divadiow could export schema...
    Helpful post? Buy me a coffee.
  • Helpful post
    #9 21909617
    divadiow
    Level 38  
    Posts: 4946
    Help: 432
    Rate: 881
    sure.

    from the dump:
    Code: JSON
    Log in, to see the code


    dpIDs from Tuya dev
    Code: JSON
    Log in, to see the code


    and for good measure, the boot log of original firmware.
    Code: Text
    Log in, to see the code
  • #10 21910390
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14515
    Help: 651
    Rate: 12518
    So they should be obvious. dpID 3:
    
    1. PV1 DC-side voltage, current, and power
    2. Big-endian, HEX format, total 6 bytes
    3. Unit precision: voltage, 2 bytes, unit 0.1V; current, 2 bytes, unit 0.1A; power, 2 bytes, unit 0.01kW
    4. Message format
    Example: 08 80 00 0B 03 F3 indicates PV1-side voltage 217.6V, current 1.1A, power 10.11KW
    5. Communication logic:
    Scenario A: when network configuration succeeds, the MCU reports this data.
    Scenario B: the MCU reports this value periodically. Recommendation: report once per minute in WiFi mode; report once per hour in NB mode.
    

    It seems to match OBK format:
    Code: C / C++
    Log in, to see the code


    dpID 7:
    
    1. Phase A AC voltage, current, and power
    2. Big-endian, HEX format, total 8 bytes
    3. Unit precision: voltage, 2 bytes, unit 0.1V; current, 3 bytes, unit 0.001A; Phase A active power, 3 bytes, unit 0.001kW
    4. Message format
    Example: 08 80 00 03 E8 00 27 10 indicates Phase A voltage 217.6V, Phase A current 1.000A, Phase A power 10.000KW
    5. Communication logic:
    Scenario A: when network configuration succeeds, the MCU reports this data.
    Scenario B: the inverter reports data periodically. Recommendation: report once per minute in WiFi mode; report once per hour in NB mode.
    

    It seems to match OBK format:
    Code: C / C++
    Log in, to see the code
    Helpful post? Buy me a coffee.
  • #11 21910420
    vincenzoernst1
    Level 9  
    Posts: 95
    Help: 3
    Rate: 7
    >>21905303

    also i see that these inverters (the 600W version are mentioned a lot) hat a really high failure rate. to bad.
    since the 800W are the way to go in germany i see if i can grep one of this size.
  • #12 21910422
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14515
    Help: 651
    Rate: 12518
    vincenzoernst1 wrote:

    also i see that these inverters (the 600W version are mentioned a lot) hat a really high failure rate. to bad.

    Where did you find this information, can you elaborate?
    Helpful post? Buy me a coffee.
  • #13 21910532
    vincenzoernst1
    Level 9  
    Posts: 95
    Help: 3
    Rate: 7
    >>21910422

    1st:
    there are masses of these inverters failed on the german "kleinanzeigen" app. they are sold under different brands but all named WVC-600. brands are: vevor or KD

    see wvc600

    2nd:
    there are many videos on these interverts with tries on repairs on youtube.

    so this seems to be a common problem.

    a 2nd one seems to be that the vendor changes the revision "randonly" without notes. so this might be good in terms of: they fix things directly on production line, quality should inprove.
    or
    there are several production lines that produce various rev at the same time.

Topic summary

✨ A WVC Tuya-based microinverter using a BK7231N WiFi module was successfully integrated with OpenBeken 1.18.x by mapping Tuya MCU dpIDs without RAW parsing. The working mappings identified are dpID 103 for actual AC output power, dpID 102 for DC panel input power, dpID 18 for temperature, and dpID 101 for ON/OFF control. It was noted that dpID 103 matches the Tuya app precisely, dpID 10 is similar but inaccurate and should not be used, and dpID 7 contains RAW telemetry data that is not required for this setup.
Generated by the language model.
ADVERTISEMENT