Interesting. From the README.md section, under Charging, section 4:
They are some patched firmwares that try to address this problems, but the are patched firmwares by individuals and no source code is released. I could give them a try but I fear bricking the inverter since my only means of energy is the PV array.
It's no longer true that "no source code is released". All the patches since January 2018 (just after that website was created) have a file with a name like dsp_BF1_73.00d.txt, with all the information about all the patches, including source code at the end (in assembly language) for the major patches. Some of the minor patches (e.g. where a threshold constant is changed) are done purely in hex, but each of those has at least a sentence of comment explaining what the change is about.
Granted, there is no source code for the complete firmware, but we don't have that, and it's proprietary.
For me the interessting part is main.py which can be use to send commands and receive the output as json.
There is exactly the command I will need listed as example
Change Utility MAX charge current to 10 amps for first paralel device
> python3 axpert/main.py --usb -d /dev/hidraw0 --cmd MCHGC -v 010 -s 8
Alas, we tried that early on. The big problem with this command and others like it is that every time you send such a command, the SCC (Solar Charge Controller, or MPPT if you like) is completely reset. This results in forty seconds of no solar charging at all, while the SCC slowly and gently organises itself, checks everything, then gradually ramps up the charge current to the new limit. Weber and I spent a lot of time on this problem, and the result is Dynamic Charge Control. It allows you to change the charge current dynamically, every two seconds if you like, and the SCC won't reset. It also allows one amp resolution of the charge current, compared with ten amps. It's all documented in the Dynamic Charge and Load Control (DC&LC) manual
, available from this topic's index in the first post. Of course, to use this, you need the most sophisticated patched firmware, which is only available for the most common models (see the index
But if you can put up with the forty seconds of no-charge every time, sending MCHGC or similar commands to inverter-chargers with factory firmware could overcome the worst effects of the various bugs and flaws of the factory firmware, there would be no chance of bricking the machines, and it could be made to work with many models.
[ Edit: recent -> since January 2018. ]
[ Edit: about one minute -> forty seconds. ]
[ Added sentence about one amp resolution. ]
Learning how to patch and repair PIP-4048 inverter-chargers and Elcon chargers.