goecharger / go-eCharger-API-v2

New API specification for V3 and V4 go-eCharger
91 stars 20 forks source link

New ChargingReason modelStatus code 28 introduced in Fronius Wattpilot firmware 40.7 #214

Closed pbrooks29 closed 3 months ago

pbrooks29 commented 5 months ago

Using the Fronius Wattpilot integration which is based on this project, getting an error due to an unhandled status code 28 in ChargingReason.

'Reason why we allow charging or not right now - values are listed at: https://github.com/goecharger/go-eCharger-API-v2/blob/main/apikeys-de.md -> modelStatus'. Looking at the Solar.Wattpilot app, this code is associated with the message "Charging Stopped by OCPP backend" on the WattPilot app. Which I suspect is newly added in the Fronius Wattpilot 40.7 firmware and wasn't there when this 'goecharger' code was written. The table in 'apikeys-de.md' or 'apikeys-en.md' for 'modelStatus' stops at code 24. Please add entry for new modelStatus code 28:

NotChargingBecauseOCPPBackend=28

(I haven't uncovered any of the middle codes 25, 26 or 27 yet) Thanks.

0xFEEDC0DE64 commented 5 months ago

I have updated the list on github according to our firmware source code.