logo elektroda
logo elektroda
X
logo elektroda

Alternative soft for DTS238-7 Tuya IVAP Energy Meter (without MODBUS) for COP and power measurement

PSlowik 1902 11
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 20539985
    PSlowik
    Level 12  
    Hello

    I have a question if any of you may know if it is possible to integrate some software other than the org for such an energy meter, which I use for the heat pump.

    My model DTS238-7 WiFi Tuya model IVAP unfortunately without MODBUS port :(
    it works great counts nicely energy input and output, but what annoys me is this, :(
    frequently and I can not calculate on the fly the COP and power of the main exchanger :/

    maybe we could somehow work this out together ? :)

    I am sending a link from github only there is only model with MODBUS...

    https://github.com/arendst/Tasmota/discussions/16913

    I would be grateful for info.
  • ADVERTISEMENT
  • #2 20540598
    p.kaczmarek2
    Moderator Smart Home
    Hello, the linked description is about modification of a meter based on TYWE3S module, i.e. ESP8266. Is the version you have also built on TYWE3S?

    In the linked topic there is also a suggestion to use MODBUS interface - your model does not support it?
    Helpful post? Buy me a coffee.
  • #3 20540807
    PSlowik
    Level 12  
    I have to decompress in this case.
    Type: IVAP does not support Modbus.
    It is missing the output :( unless it is a small problem and it can be made?

    And so it sits there WB3S pictures below.
    Version with modbus has in circle I marked additional modbus output at me missing it

    Alternative soft for DTS238-7 Tuya IVAP Energy Meter (without MODBUS) for COP and power measurement Alternative soft for DTS238-7 Tuya IVAP Energy Meter (without MODBUS) for COP and power measurement Alternative soft for DTS238-7 Tuya IVAP Energy Meter (without MODBUS) for COP and power measurement Alternative soft for DTS238-7 Tuya IVAP Energy Meter (without MODBUS) for COP and power measurement
  • ADVERTISEMENT
  • #4 20540901
    p.kaczmarek2
    Moderator Smart Home
    Unfortunately, I don't know enough about the device to know if the soft inside still supports modbus and the connector has simply been omitted, or if it doesn't support it at all. The WB3S (BK7231T) instead of TYWE3S (ESP8266) inside is also a surprise. Overall a very tough task you have set yourself.

    One thing you could try is to hook up with the UART to the visible RX/TX from the WB3S. If this product uses TuyaMCU, it might be possible to capture something and then process it after a software change:
    https://www.elektroda.pl/rtvforum/topic3970199.html#20528459
    Unfortunately, it is a bit of work and capturing UART packets must be done with the device disconnected from the mains, so as not to short-circuit it. You have to power it safely somehow for this time.

    A word of explanation - we already had on the forum devices with TuyaMCU where it was possible to change the batch and free them from the cloud, for example here:
    https://www.elektroda.com/rtvforum/topic3941692.html
    https://www.elektroda.com/rtvforum/topic3928897.html
    By TuyaMCU I mean the structure of the device, that the measurements etc. are performed by the microcontroller, which then reports them to the WiFi module via UART (TuyaMCU protocol). Then you can relatively easily change the WiFi module software itself and process this data freely.

    If, on the other hand, this is not a device with TuyaMCU, then playing around with protocol decoding would be rather too much to be able to make modifications in a reasonable time.
    Helpful post? Buy me a coffee.
  • #5 20541531
    PSlowik
    Level 12  
    so I'm left in the black ..... :(

    this meter generally works mega cool, but it's slow to display instantaneous power consumption :/ unless it can be reconfigured ?
  • ADVERTISEMENT
  • #6 20541679
    p.kaczmarek2
    Moderator Smart Home
    And what is in the Tuya app in the settings, what is visible there?

    Even if it's the TuyaMCU, we don't know at this point whether the reporting frequency is limited by the MCU or the WiFi module, because if it's an MCU issue then changing the firmware on the WiFI module won't do us any good.
    Helpful post? Buy me a coffee.
  • #7 20541710
    PSlowik
    Level 12  
    I don't know about that, but I'm afraid you may be right that it's not wb3s that does the measurements, but some microcontroller.
    In the app there are quite a lot of settings
    Alternative soft for DTS238-7 Tuya IVAP Energy Meter (without MODBUS) for COP and power measurement Alternative soft for DTS238-7 Tuya IVAP Energy Meter (without MODBUS) for COP and power measurement Alternative soft for DTS238-7 Tuya IVAP Energy Meter (without MODBUS) for COP and power measurement

    And in the reading of the current consumption I marked in the circle it refreshes very slowly.
    Alternative soft for DTS238-7 Tuya IVAP Energy Meter (without MODBUS) for COP and power measurement .
  • #8 20541713
    p.kaczmarek2
    Moderator Smart Home
    And that 60 seconds isn't the option you're looking for? Just a guess....
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #9 20543348
    PSlowik
    Level 12  
    I don't think it is :(
    Or it is badly translated. ?

    Alternative soft for DTS238-7 Tuya IVAP Energy Meter (without MODBUS) for COP and power measurement .
  • #10 20564864
    p.kaczmarek2
    Moderator Smart Home
    I will be trying to decipher this device together with @DeDaMrAz . Here's a pic fresh out of the box:
    Alternative soft for DTS238-7 Tuya IVAP Energy Meter (without MODBUS) for COP and power measurement
    Helpful post? Buy me a coffee.
  • #11 20605685
    PSlowik
    Level 12  
    any popsteps? :) .
  • #12 21097582
    p.kaczmarek2
    Moderator Smart Home
    No problem to change the software, there are versions even still based on ESP8266 in the trade. Here the teardown:
    Three-phase smart meter Hiking DTS238-7 TOMZN 60A - interior, communication protocol .
    Helpful post? Buy me a coffee.

Topic summary

✨ The discussion revolves around the integration of alternative software for the DTS238-7 Tuya IVAP Energy Meter, which lacks a MODBUS port. Users express frustration over the inability to calculate the Coefficient of Performance (COP) and instantaneous power due to slow display updates. Suggestions include exploring the UART interface for potential modifications and examining the Tuya app settings to determine if the reporting frequency is limited by the microcontroller or the WiFi module. The conversation highlights the challenges of working with the device's firmware and the possibility of using different software versions based on ESP8266.
Generated by the language model.

FAQ

TL;DR: DTS238-7 Tuya units can be reflashed; a three‑phase variant is rated 60 A, and "No problem to change the software." For IVAP without Modbus, use WB3S UART/TuyaMCU strategies or accept app refresh limits. [Elektroda, p.kaczmarek2, post #21097582]

Why it matters: This FAQ helps heat‑pump owners using DTS238‑7 IVAP measure power and COP reliably and choose safe, practical integration paths.

Quick Facts

Can I flash alternative firmware on a DTS238‑7 Tuya IVAP without Modbus?

Yes. "No problem to change the software," and there are DTS238‑7 variants still using ESP8266. BK7231T/WB3S units can also be reworked, but require different tooling. A teardown is available for protocol guidance. Verify your module type first, then choose the appropriate flashing method and toolchain. This enables local data handling and cloud‑free operation. Always observe mains safety when opening the meter or modifying firmware. [Elektroda, p.kaczmarek2, post #21097582]

Which module is inside the IVAP version—WB3S (BK7231T) or TYWE3S (ESP8266)?

The IVAP variant shown in the thread photos uses a WB3S (BK7231T) module. ESP8266‑based versions exist in the market, but your specific unit may differ. Open the case only when fully disconnected from mains and confirm the module label on the PCB. Module identity dictates compatible flashing tools and firmware paths. [Elektroda, PSlowik, post #20540807]

Does the Tuya app provide a refresh‑interval setting for power readings?

Yes. A 60‑second interval option appears in the app’s settings for this meter. Try enabling or lowering that setting if available. It can influence how often instantaneous power updates appear in the app. If you require faster data, consider UART capture or a local firmware strategy. [Elektroda, p.kaczmarek2, post #20541713]

Why are instantaneous power updates slow, and can firmware fixes speed them up?

Update speed may be governed by the metering MCU, not the Wi‑Fi module. If the MCU limits reporting, changing the Wi‑Fi firmware will not increase the update rate. Check the app’s interval option first. If you need faster data, capture UART traffic and process it locally, provided the design uses TuyaMCU. [Elektroda, p.kaczmarek2, post #20541679]

Can I add a Modbus port to an IVAP that shipped without it?

It is uncertain. The board may lack the header and the firmware may not support Modbus at all. Even if pads exist, soldering a connector will not help if the code disables Modbus. This makes a retrofit risky and potentially futile. Consider UART/TuyaMCU integration instead. [Elektroda, p.kaczmarek2, post #20540901]

How do I safely sniff TuyaMCU UART from the WB3S to get faster data?

Use this approach:
  1. Unplug the meter from mains and isolate it; power it safely from an external supply.
  2. Connect a USB‑UART adapter to WB3S RX/TX and GND.
  3. Capture UART frames, then parse and process them locally. This avoids mains hazards and lets you inspect live metering messages for local integration. [Elektroda, p.kaczmarek2, post #20540901]

Is this meter using TuyaMCU, and why does that matter?

It likely uses TuyaMCU, where a dedicated MCU performs measurements and reports them over UART to the Wi‑Fi module. That structure lets you reflash the Wi‑Fi side and process UART data locally, freeing the device from the cloud. This method avoids reverse‑engineering the metering silicon itself. [Elektroda, p.kaczmarek2, post #20540901]

Where can I find a teardown or protocol reference for DTS238‑7?

A teardown of a DTS238‑7 variant is linked in the thread. It covers the interior and communication details, which helps when planning firmware changes or protocol parsing. Use it as a reference when mapping data points and verifying wiring. [Elektroda, p.kaczmarek2, post #21097582]

Are there DTS238‑7 versions with ESP8266 (TYWE3S) that follow Tasmota‑type workflows?

Yes. The linked community description targets a TYWE3S (ESP8266)‑based meter. If your DTS238‑7 carries TYWE3S, existing guides for ESP8266 workflows apply more directly. Always verify your hardware first, as BK7231T/WB3S units need different tools and builds. [Elektroda, p.kaczmarek2, post #20540598]

What if my unit isn’t TuyaMCU—am I stuck?

If it is not TuyaMCU, decoding the protocol becomes much harder. "Playing around with protocol decoding would be rather too much to be able to make modifications in a reasonable time." In that case, prefer non‑intrusive logging or a different meter. [Elektroda, p.kaczmarek2, post #20540901]

How can I compute heat‑pump COP if the app updates slowly?

Use interval energy instead of instantaneous power. Log input and output energy over a fixed window, then compute COP = output/input. Typical heating COP values are around 3–5, so trends are still meaningful even with slower updates. This method avoids reliance on high‑frequency power samples. [Coefficient of performance]

What safety precautions should I follow when powering the meter off‑mains for testing?

Disconnect the meter fully from mains before any work. Provide safe, isolated power during UART capture. Avoid short circuits and keep clearances. As the author notes, packet capture must be done with the device disconnected, and you must power it safely for that time. [Elektroda, p.kaczmarek2, post #20540901]
Generated by the language model.
ADVERTISEMENT