Enhancements:
- MQTT cloud basic support
- Add MQTT client to library #219
- Added methods for connecting to MQTT cloud, subscribing to device topics
- Added method to trigger devices for real time updates with adjustable timeout duration
- Add MQTT data monitor tool #220
- Added MQTT data decoding guidline documentation
- Added documentation for first devices with data field descriptions
- New Features for Solarbank 3
- Support for SB3 multisystem with power dock
- Support for solarbank system station managed settings, which is used for multisystem settings (SOC reserve and export to grid switch)
- Support for schedules which are shared across all solarbanks in the system
- Export module enhancements
- Updated actual site device param types #226
- Added more device attributes that provide information
- Added helper method to support power limit adjustments
- However, those changes are not applied yet by the device, altough they are reported as changed in the cloud
- Updated monitor tool for new system and device data fields with additional settings
- Updated README for MQTT client and monitor
Fixes:
- Improved handling for various cloud server connections errors that end in Timeout Errors.
- Generic Timeout Errors are now wrapped into aiohttp ClientErrors with Timeout Error as reason text
- Decreased request timeout from 30 seconds to 10. If there is no response within 10 seconds, there won't be any
- Allow 1 retry per request upon http errors or Timeout Errors that may indicate a temporary issue, e.g. 502. 504. 522
- 2 problematic endpoint queries which seems to cause issues on the cloud server code are running into timeouts frequently.
- They are now ignored since their data has no dependencies on the data poller routines and they could be re-attempted during next poll
- Anker still has to fix those endpoint issues on the cloud server. While the changes may help to cover temporary cloud server issues, they cannot be prevented completely.
- Fixed some value calculations if solarbank multisystem is in use
Important
Multisystems still have significant consumption data reporting issues to the cloud, see Add support for multi-system Solarbanks. Full multisystem support can just be provided after Anker fixed the reporting issues.
Breaking changes:
- N/A
Full Changelog: v3.2.0...v3.3.0