It is a 3 Layer model - each can be used as lib: pylontech_base.py - Communication layer, RS485 to pylontech with raw frame support. pylontech_decode.py and pylontech_encode.py for decoding and ...