v2.2.2 Reboot and Recovery
In this release:
- I thought I had found a neat way to reboot the ECU, a "reboot" command was sufficient. Unfortunately this feature was disabled with firmware ECU_R_PRO_2.1.23 (hardening ECU firmware). I hope that APsystems will facilitate us with a software reboot command. Until then, a software reboot can be initiated by changing the WiFi parameters. Users without ECU-R-Pro or ECU-C can control the ECU reboot if necessary via an automation and a smart plug. In this case just ignore the added WiFi parameters.
- Changed some config controls to keep the values within logical ranges.
- Discovered and solved a bug in the query interval, adjusted values where never used, now they are.
- There was this issue where the ECU could no longer be found. Analysis of the data showed that the ECU no longer provides complete data when queried after a reboot. Inverter data is not available for the first (max) 10 minutes and the current power shows a value of 0. By indicating in the error message that the ECU may still be recovering from a reboot, this is now made clear. During this period the cached data is used if available.
- Included some code cleaning.