UtilitechAS / amsreader-firmware

ESP8266 and ESP32 compatible firmware to read, interpret and publish data to MQTT from smart electrical meters, both DLMS and DSMR is supported
Other
386 stars 73 forks source link

Wrong negative Amp shown #497

Closed PerBuch54 closed 1 year ago

PerBuch54 commented 1 year ago

Pow P! and L+G When i produce solarpower the Amp shown are with a bug I have seen up to -1.2A, when i produce more the amp for that fase goes to 100%, turns red and displays more than 2mil Amp.

gskjold commented 1 year ago

Country?

Also, if you are able to run a debug session, that would be great: https://amsleser.no/blog/post/24-telnet-debug

PerBuch54 commented 1 year ago

It is DK1 😊

PerBuch54 commented 1 year ago

*** Remote debug - over telnet - for ESP32 - version 3.0.5

PerBuch54 commented 1 year ago

image

PerBuch54 commented 1 year ago

It is DK1 zone

gskjold commented 1 year ago

Thanks for the debug. I think I know what is going on here.

If I remember correctly, Pow-P1 has esp32s2 chip, double check on status page before uploading. Here is a test firmware: esp32s2.zip Unzip and then upload firmware.bin file in the firmware section on status page: Screenshot from 2023-03-27 08-51-08

PerBuch54 commented 1 year ago

Just the firmware.bin ?

gskjold commented 1 year ago

Yes, only upload firmware.bin

PerBuch54 commented 1 year ago

image

PerBuch54 commented 1 year ago

No negative current even when i am exporting 383W ?

gskjold commented 1 year ago

Apparently not. At least in the payloads you attached earlier, L2 current was always 0.000

gskjold commented 1 year ago
/LGF5E360

0-0:1.0.0(230327064230W)
1-0:1.8.0(00002564.183*kWh)
1-0:2.8.0(00000067.342*kWh)
1-0:3.8.0(00000000.284*kVArh)
1-0:4.8.0(00002130.176*kVArh)
1-0:1.7.0(0000.002*kW)
1-0:2.7.0(0000.007*kW)
1-0:3.7.0(0000.000*kVAr)
1-0:4.7.0(0000.244*kVAr)
1-0:21.7.0(0000.000*kW)
1-0:22.7.0(0000.014*kW)
1-0:41.7.0(0000.002*kW)
1-0:42.7.0(0000.000*kW)
1-0:61.7.0(0000.008*kW)
1-0:62.7.0(0000.000*kW)
1-0:23.7.0(0000.000*kVAr)
1-0:24.7.0(0000.196*kVAr)
1-0:43.7.0(0000.000*kVAr)
1-0:44.7.0(0000.003*kVAr)
1-0:63.7.0(0000.000*kVAr)
1-0:64.7.0(0000.043*kVAr)
1-0:32.7.0(229.4*V)
1-0:52.7.0(230.7*V)
1-0:72.7.0(230.1*V)
1-0:31.7.0(000.9*A)
1-0:51.7.0(000.0*A)
1-0:71.7.0(000.1*A)
!9B00
PerBuch54 commented 1 year ago

Then i cant see where my solar are connected ? seems like its on L2 as the other are still using.

gskjold commented 1 year ago

22.7.0, 42.7.0 and 62.7.0 are L1, L2 and L3 export active power registers, so it looks like you export on L1. Could it be that your meter only shows absolute current?

PerBuch54 commented 1 year ago

The smart meter only shows W not current.

gskjold commented 1 year ago

I'm not sure why you never get a negative current, but at least the bug for L2 crazy current value is fixed