-
-
Notifications
You must be signed in to change notification settings - Fork 101
ocpp: add update firmware function #43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Ok guys, |
Hi Jeremy, there's still a bit or work required before this function can be used in HA as a custom service. So it won't be available after the merge. Your charger may accept the zip file directly, otherwise you could unzip and load to onedrive or similar cloud server. The metric "FW.Status" can be used to monitor the update process. I take it your charger supports the Firmware Management profile? |
Yes my charger supports the following: I will do a manual update then. Do you know what they mean with this feature? (see page 7 of the release notes) |
Clock aligned values are for accurately reporting energy used in given time periods eg 30min or 1hr required by Energy Retailers / Billing solutions. Not really of use for most personal applications. If you can hold off the manual update it would be useful to be able to test this feature when it's available. My charger is already on the latest firmware. |
sorry I just updated. Thanks for the clarification. |
hi @drc38, these changes look ok, thanks! I cannot download new firmware for my Wallbox charger myself, so I was not able to fully test it. Just a minor point: the pre-commit check for the formatting is failing. Did you run a pre-commit check before you pushed your changes? Just use |
@lbbrhzn, thanks I wasn't sure whether the pre-commit process was supposed to do the reformatting or whether I needed to do it locally. |
You need to do it locally. The pre-commit actions are also done as an action on GitHub, and it will result in failed checks if there are still some formatting issues remaining. |
change to hard reset, trigger post_connect and reset reconnects
Hi @lbbrhzn, this function can be used for a custom service call when ready as referred to in #34