Have installed Local Tuya on Home Assistant and integrated a DETA SMART TOUCH SWITCH with power monitoring ( 6920HA). Have got contollable seprate switches and from a bit of digging have determined (I think) the DPI codes related to Voltage, current, power and possibly energy. Dissapointingly it appears that the GPO aggregates measurement of current and power rather than showing values related to each switch gang.
Need info on translation from the DPI codes to function as follows, where I think I know the mapping I have shown it
code 1 Left Switch
code 2 Right Switch
code 9 timer????
code 10 timer ???
code 17 energy kWh ????
code 18 current mA
code 19 power W
code 20 voltage V
code 21 ?
code 22 ?
code 23 ?
code 24 ?
code 25 ?
code 38 ?
code 40 ? binary true/false
code 101 ? binary true/false
Has anyone implemented this switch and can fill in the queries/unknowns for me please