cloned from: https://github.com/LibreSolar/bms-8s50-ic
cloned from: https://gitlab.opensourceecology.de/verein/projekte/cab/mppt-2420-lc