Hiking Single Phase 65A Din Rail
Energy Meter
Model reference: DDS238-2

Available from:
Aliexpress.com
Flashed with:
Tuya-Convert
GPIO # | Component |
---|---|
GPIO00 | None |
GPIO01 | Tuya Tx |
GPIO02 | None |
GPIO03 | Tuya Rx |
GPIO04 | None |
GPIO05 | None |
GPIO09 | None |
GPIO10 | None |
GPIO12 | None |
GPIO13 | None |
GPIO14 | Led1i |
GPIO15 | None |
GPIO16 | Button1 |
FLAG | None |
Template
{"NAME":"hiking dds2382wifi","GPIO":[0,107,0,108,0,0,0,0,0,0,56,0,17],"FLAG":0,"BASE":1}
Tuya-Convert might not be possible for this device if the manufacturer started using newest Tuya firmware since this template was published (2020-09-03).
Backlog TuyaMCU 33,20; TuyaMCU 32,18; TuyaMCU 31,19; SetOption66 1; SetOption19 1; SetOption53 1;
TuyaMCU 33,20
-> Voltage doesnt shows correctly in tasmota (usually shows thousands of volts, it’s not calibration related problem, I guess its a resolution problem), so I used Home Assistant instead.
RESULT = {"TuyaReceived":{"Data":"55AA030700081402000400037922C9","Cmnd":7,"CmndData":"1402000400037922","DpType2Id20":227618,"20":{"DpId":20,"DpIdType":2,"DpIdData":"00037922"}}}
37922C9 -> 37922 -> hex a dec -> 227618 -> 227,618vac (tasmota shows 22761 V)
Home Assistant config:
sensors.yaml:
- platform: mqtt
name: "Automatico dds2382wifi tuya"
state_topic: "dds2382wifi/tele/RESULT"
value_template: >-
{% set message = value_json.TuyaReceived['20'].DpIdData | int(base=16) %}
{{ (message|float) / 1000.0 }}
unit_of_measurement: 'V'
icon: mdi:alpha-v-circle-outline