Hi David,
I read some of the other issues (/comments) and I understand this was a personal project and you have no time or interest to update the documentation.
May I just ask what SMA inverter have you used this project for?
I am going to spend some time understanding your code but just want to know that least in theory it might work with the inverter I am using (SB-4000TL).
Thanks