question

drdiesel avatar image
drdiesel asked

Total kWh data error from MPPT 250/100 vs MPPT 250/100 VE.Can.

My system currently has both a MPPT 250/100 and one of the newer MPPT 250/100 VE.Can solar chargers. I'm reading this data out of Venus OS 3.00~25 with python, the MPPT 250/100 reads Total/System Yield correctly but the MPPT 250/100 VE.Can does not. The value used to read correct and I *think* a FW update (on the actual solar charger and not a Venus OS update) is what caused the issue but I am not sure.

Note, I give both examples below, in all cases the current day total/yields reads correct on both, only the system total on the VE.Can device reads incorrect.


Code that reads correctly on the MPPT 250/100:

result = client.read_input_registers(790, 2, unit=238) #MPPT250/100r2
decoder = BinaryPayloadDecoder.fromRegisters(result.registers, byteorder=Endian.Big)
MPPT250kWh=decoder.decode_16bit_uint()
print("MPPT250 kWh: {0:.2f}kWh".format(MPPT250kWh/10.0))

result = client.read_input_registers(784, 2, unit=238) #MPPT250/100r2
decoder = BinaryPayloadDecoder.fromRegisters(result.registers, byteorder=Endian.Big)
MPPT250kWhToday=decoder.decode_16bit_uint()
print("MPPT250 kWh Today: {0:.2f}kWh".format(MPPT250kWhToday/10.0))


Code that read correctly on the MPPT 250/100 VE.Can

result = client.read_input_registers(784, 2, unit=236) #MPPT250VECan/100r2
decoder = BinaryPayloadDecoder.fromRegisters(result.registers, byteorder=Endian.Big)
MPPT250VECankWhToday=decoder.decode_16bit_uint()
print("MPPT250VECan kWh Today: {0:.2f}kWh".format(MPPT250VECankWhToday/10.0


Code that reads incorrectly on the MPPT 250/100 VE.Can

result = client.read_input_registers(790, 2, unit=236) #MPPT250VECan/100r2
decoder = BinaryPayloadDecoder.fromRegisters(result.registers, byteorder=Endian.Big)
MPPT250VECankWh=decoder.decode_16bit_uint()
print("MPPT250VECan kWh: {0:.2f}kWh".format(MPPT250VECankWh/10.0))


As of right now, the VE.Can shows a total/system yield of 7639.76kWh and is reading 1086.2. Note these totals could be slightly off as they are both incrementing as the sun is shining.


Did perhaps the register ID change on the VE.Can models without noting it in the documentation?

BR


EDIT:

FW on the MPPT 250/100 = v1.61

FW on the MPPT 250/100 VE.Can = v3.13

MPPT Controllers
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

0 Answers