Tomcat42 / pylontech-python

Functions to communicate to Pylontech Batteries using RS-485 serial communication
MIT License
11 stars 7 forks source link

pylontech micropython raspberry pico w #8

Closed emsruderer closed 1 year ago

emsruderer commented 1 year ago

Good job, the decoding of the Pylontech Protocol

I am adapting the pylontech code for micropython. Its running with the machine.UART

By the way, if you discard the first byte in the payload of "decodeSystemParameter" the response makes sense.

I am rather new at Git. So i don't know what to do with my code, without causing trouble

emsruderer commented 1 year ago

ChargeLowerLimitCurrent should be ChargeCurrentLimit and DischargeLowerLimitCurrent should be DischargeCurrentLimit the maximum currents for charging or discharging

emsruderer commented 1 year ago

See pylontech_decode.py in pylontech-micropython