Notes:
chargingState & loadStatus were tested very well. (They were my main goal in updating this)
Faultcodes does not have any decoding done, just reports the raw number for now.
4 of the new fields use multiple registers of 2 bytes each to store the values, as they are long-term incrementing registers. My device is fairly new, so I cannot properly test if my combining of multiple registers is done correctly. If anyone has had a device for long enough that those total/cumulative fields require more than 2 bytes, I would appreciate your feedback to know if I am decoding those fields correctly or not.
I had need of reading the charging mode from my device, (Idle, MPPT, Boost, Float, etc) so I dug into the documentation, and extended your project.
Changes:
Notes: chargingState & loadStatus were tested very well. (They were my main goal in updating this) Faultcodes does not have any decoding done, just reports the raw number for now. 4 of the new fields use multiple registers of 2 bytes each to store the values, as they are long-term incrementing registers. My device is fairly new, so I cannot properly test if my combining of multiple registers is done correctly. If anyone has had a device for long enough that those total/cumulative fields require more than 2 bytes, I would appreciate your feedback to know if I am decoding those fields correctly or not.