Enhancements:
-
Added support for Solarbank 3 and Power Dock system granular inverter output limit control (#339)
- Thanks @moag1000 for de-compiling and documenting the Api parameters in anker-solix-api-exploration
-
Added device cache key to reflect whether legal output limit for Solarbank and Power Dock systems is exceeded
- Key only added if a legal limit and a warning message is reported for the system, see details in #339 comment
-
Added OTA progress mapping in MQTT messages where known
- Note: This can be determined only by app de-compilation or tracing MQTT messages while doing a firmware update. A byte field moving from 0 to 100 (0x64) will indicate the OTA progress
-
Support Solarbank PPS backup charge mode (manual disaster) and plan updates (#359, #351, Thanks @nertwork)
- This completes the possible usage modes to control Power Systems with F3000 PPS devices
-
Added support for F1500 (A1772) PPS (#358)
- Thanks to @Ashok28 for the PR and validating monitoring and control
-
Added support for embedded display themes for C2000 Gen 2 PPS and A2345 / A91B2 prime chargers (#353)
- Thanks to @kb1ibt for providing the data and decrypting the control methods for various theme types
- See also breaking changes
-
Updated export module
- Removed export of deprecated and non functional dynamic price endpoints
-
Updated monitor tool
- Updated value display to recent changes in MQTT field names for PPS devices
Fixes and other changes:
-
Fixed/Enhanced AX170 Power Dock priority definitions to support fix (immutable) circuit priorities
- During setup, dedicated circuits or groups can be selected for AC Generator input or for PV input
- Such circuits (groups) show a priority of '0' (immutable), which should not be changeable after setup like for normal load circuits (groups)
-
Fixed MQTT device flagging in cache
- MQTT control support keys will now only be added if the device is not passive
-
Fixed naming of unknown device models in member systems
-
Fixed A1782 temperature unit MQTT control
- This is now mapped with the correct message code
-
Fix to exclude invalid intervals from device energy offset calculation (#663)
- Thanks @Oceanswave for isolating this problem
-
Fix to reset timezone offset calculation (#657)
- Thanks @Exclution for isolating this problem
- This was mainly a problem with Solarbank systems since the cloud timestamp behaves differently than for offset calculations from energy history stats
- The offset calculation tries to identify the minimum offset over time (between Api client and reported / recorded data time in the cloud)
- All offset calculations are now reset if a significant offset change is recognized, e.g. new offsets that would result in another timezone offset
- For Solarbank systems, see also the breaking change in their cloud data timestamp
-
Fixed Solarbank 2 breakage for SOC limit and grid export switch controls (#679)
- Thanks to @mike4001 for reporting the issue and testing the fix
- Previously SB2 systems did not report any data with the station type parameter, but due to a cloud change mid Nov. 2026 they may now report (false) data. This could be a bug introduced to the cloud, or a permanent change, who knows?
- The library (and HA integration) assumes that Solarbank systems which provide station type data (containing SOC limits and grid export switch) will also support the new Api control flow for those parameters. Solarbank 3 and Power Dock systems are such systems.
- However, for Solarbank 2 systems the station parm type queries are not fully implemented in the cloud and the device never receives the required MQTT commands from the cloud to apply the changes made via the Api station type control
- Therefore, all Solarbank 2 system types are now excluded in the device details poller from site_device_parm queries with the station type parameter
- This makes the Solarbank 2 data caching and Api control path independent of cloud response changes for station parm queries
- This change may impact Solarbank 2 AC system types, see breaking changes
Breaking changes:
-
Solarbank 2 AC systems may be affected by the exclusion of station parm queries changed with issue #679
- There was no validation or confirmation yet from the community which Api control path must be used for SB2 AC systems
- Either they use the legacy path as former SB2 systems, or will be broken for SOC limit and grid export switch control in case they use the newer SB3 station control path
-
Solarbank system data time reporting was changed
- Starting with Solarbank 2, the provided cloud data time was not always valid and has been replaced with the query time if invalid
- Technically this is wrong, since the cloud data could be aged for unknown time
- The behavior is that new data reported to the cloud will update the cloud data time as well, however it appears the field is cleared after about 60 seconds and just refreshed once new data arrive
- The library was changed to keep the last reported data time if the field is showing an invalid data time, instead of replacing it with the query time
- This gives a better indication how old the cloud data of the Solarbank system actually will be
-
Removed dynamic provider and price from polling
- The used methods are deprecated by the Anker Api cloud and should not longer be used (#658)
- One endpoint even got disabled with http error 403, which caused multiple re-authentication attempts of the data poller and lead to 24h IP bans (#659)
- Regional price provider control and registration is very complex and should only be done through the mobile app
- Dynamic price detail queries are huge and will not longer be provided with regular data polling routines
-
Moved caching of active display theme from device api cache to mqtt cache
- Since the display themes are controlled through MQTT only, the active theme information needs to be tracked and updated in the device MQTT cache
- Some display theme helper methods have been renamed and moved as well from the Api class to the MQTT device classes as needed
- Since display theme commands are very complex and may vary in their available parameters, a new helper method was added to compose the required parameters for the MQTT command for changing any of the display theme related options
-
Continuous renaming of MQTT data fields may be required as values are understood, validated and merged across the various devices
Full Changelog: v3.9.1...v3.9.2