Replies: 2 comments 2 replies
-
@chaveiro very interesting an promising. Just one question because something is not clear for me. When flashed with tasmota, this means that device (not the Wifi part but CPU part of DDS238) is just sending data over serial, correct? |
Beta Was this translation helpful? Give feedback.
-
@chaveiro So it looks like you have the solution and should be documented in the template repository. Templates, rules, scripting etc... are here for that purpose : customize Tasmota framework to a specific device without adding code. Hard coding a specific device in the code is restricted to devices where this cannot be done differently which is obviously not the case here. Please document your findinds into Tasmota template repository : https://templates.blakadder.com/new.html @hallard the decoding of TuyaCMU Energy message is performed in xdrv_16_tuyamcu.ino. Search for ENERGY. |
Beta Was this translation helpful? Give feedback.
-
Currently there is only native support for the ModBus version.
This request is for the Wifi version that has a TuyaMcu for energy measuring (with total kw/h accumulation build in) and a TYWE3S / ESP8266 with 1Mb Flash inside the same device.
Some previous work on manual config available here https://github.com/krikk/Hiking-DDS238-2-WIFI-Din-Rail-Energy-Meter-flashing-Tasmota
Also compatible with eMylo EAI-90 if you replace the WB3S Module by an ESP-12
Current TuyaMCU driver already supports this device with bellow config:
My request is to make a native supported Module for this device with all the configurations set automatically.
Add a new driver that uses TuyaMCU driver as the helper to pool the Tuya MCU every 2-3 second, and gather the data on the energy driver so the tele-Energy works seamlessly without custom configurations.
I can help testing or even create some code, just have difficulty starting up.
Sample end result:
11:13:05.937 MQT: stat/Tasmota/STATUS8 = {"StatusSNS":{"Time":"2021-04-29T11:13:05","ENERGY":{"TotalStartTime":"2021-04-28T00:00:00","Total":5.127,"Yesterday":2.850,"Today":1.907,"Power":1771.5,"ApparentPower":1857.3,"ReactivePower":558.2,"Factor":0.95,"Voltage":234.1,"Current":7.934}}}
Beta Was this translation helpful? Give feedback.
All reactions