Frankkkkk / python-pylontech

Python lib to talk to pylontech lithium batteries 🔋 (US2000, US3000, ...) using RS485
MIT License
67 stars 32 forks source link

Pack 1 (master) of 7 errors when I get details. #22

Open CrappyTan opened 2 years ago

CrappyTan commented 2 years ago

I have 7 2000C with firmware 1.7 flashed onto them. They all functioning as-expected and talk quite happily to BatteryView and the Victron Inverter.

When I try get details for pack 1 (the master) the python crashes on the line

    assert got_frame_checksum == int(frame_chksum, 16)

If I run pack 2-7, works just fine. How can I debug this?

petero-dk commented 1 year ago

I have this problem but only when I run with a plain 2000 as the master and 2000C as secondary.