I bought a branded hiking tomzn 3 phase breaker and I flashed ESPHome onto it. All is working fine but the 3 sensors that should send the phases voltage, current and power are sending a raw value which doesn't make absolutely any sense.
E.g. phase A:
```
18:39:16 [D] [tuya:300]
Datapoint 6 update to 00.00.00.00.00.00.00.00.03.E8.00.00.00.09.0F (15)
18:39:16 [D] [tuya.text_sensor:018]
MCU reported text sensor 6 is: 00.00.00.00.00.00.00.00.03.E8.00.00.00.09.0F (15)
18:39:16 [D] [text_sensor:064]
'Phase A voltage, current, and power': Sending state '00.00.00.00.00.00.00.00.03.E8.00.00.00.09.0F (15)'
18:39:16 [D] [uart_debug:114]
<<< 55:AA:03:07:00:13:06:00:00:0F:00:00:00:00:00:00:00:00:03:E8:00:00:00:09:0F:34
```
According to what I got thanks to UPK2ESPHome (thanks for the good soul that made the tool), the description of the field comes back as:
```
1. Phase A voltage, current and power
2. Data format, HEX format, 18 bytes in total
3. Unit accuracy: voltage, 2 bytes, unit 0.1V. Current, 3 bytes, unit 0.001A. Phase A active power, 3 bytes, unit 0.0001kW
4. Message format
Example: 08 80 00 03 E8 00 27 10 means phase A is 217.6V, phase A current is 1.000A, phase A power is 10.000KW
5. Communication channels:
1) Users enter the panel and actively query. When the user enters the panel, the panel immediately sends 10x08 to the electric meter. The electric meter reports the data to the cloud platform. The panel obtains the data and then displays it. Note: The latest WIFI support.
2) The electric meter reports data based on a certain period. Suggestion: In WIFI mode, report once every 15 seconds. In NB mode, it is reported once every hour.
```
(as you can imagine that was decoded and translated by chatgpt and google, and on some places there was a mention that the values where on big-endian format)
Either way, not even the example works, I haven't been able to parse the 3 values that should come from the sensor. Any help?
E.g. phase A:
```
18:39:16 [D] [tuya:300]
Datapoint 6 update to 00.00.00.00.00.00.00.00.03.E8.00.00.00.09.0F (15)
18:39:16 [D] [tuya.text_sensor:018]
MCU reported text sensor 6 is: 00.00.00.00.00.00.00.00.03.E8.00.00.00.09.0F (15)
18:39:16 [D] [text_sensor:064]
'Phase A voltage, current, and power': Sending state '00.00.00.00.00.00.00.00.03.E8.00.00.00.09.0F (15)'
18:39:16 [D] [uart_debug:114]
<<< 55:AA:03:07:00:13:06:00:00:0F:00:00:00:00:00:00:00:00:03:E8:00:00:00:09:0F:34
```
According to what I got thanks to UPK2ESPHome (thanks for the good soul that made the tool), the description of the field comes back as:
```
1. Phase A voltage, current and power
2. Data format, HEX format, 18 bytes in total
3. Unit accuracy: voltage, 2 bytes, unit 0.1V. Current, 3 bytes, unit 0.001A. Phase A active power, 3 bytes, unit 0.0001kW
4. Message format
Example: 08 80 00 03 E8 00 27 10 means phase A is 217.6V, phase A current is 1.000A, phase A power is 10.000KW
5. Communication channels:
1) Users enter the panel and actively query. When the user enters the panel, the panel immediately sends 10x08 to the electric meter. The electric meter reports the data to the cloud platform. The panel obtains the data and then displays it. Note: The latest WIFI support.
2) The electric meter reports data based on a certain period. Suggestion: In WIFI mode, report once every 15 seconds. In NB mode, it is reported once every hour.
```
(as you can imagine that was decoded and translated by chatgpt and google, and on some places there was a mention that the values where on big-endian format)
Either way, not even the example works, I haven't been able to parse the 3 values that should come from the sensor. Any help?