syssi / esphome-soyosource-gtn-virtual-meter

ESPHome component to simulate the current clamp to control the Soyosource GTN1200 limiter
Apache License 2.0
76 stars 21 forks source link

Identify the `total energy` payload of the MS51 status frame #64

Closed syssi closed 2 years ago

syssi commented 2 years ago

I assume the Nuvoton MS51 on the WiFi dongle tracks the delivered energy and provides a total energy reading available at the Android app. The payload of the Soyosource inverter doesn't contain the value for sure.

5A:01:91:40:01:C9:00:DB:00:F9:32:03:7D:00:00:16:C7
5A:01:91:40:01:C9:00:DB:00:F9:32:03:7D:00:00:16:C7
5A:01:91:40:01:C9:00:DB:00:F9:32:03:7D:00:04:16:C3
5A:01:91:40:01:C9:00:DB:00:F9:32:03:7D:00:06:16:C1
5A:01:91:40:01:C9:00:DB:00:F9:32:03:7D:00:0A:16:BD
                                       ^^^^^

0.4kWh
0.6kWh
1.0kWh
syssi commented 2 years ago

Unanswered question: The maximum total energy is 0xFFFF (65535 * 0.1 = 6553.5 kWh). Is there a wrap-around?