- Adapted to a change in the API. roarand endpoint no longer seems to be supported and was removed.
- BREAKING CHANGE: Session reuse was changed to a more robust method.
The new client function
get_cookiescan be used to fetch all cookies as adictobject. This can then be passed to the new constructor parametercookies=. - The
sessionparameter in the constructor was removed.
- Added new function get_inverter_day_stats (by jgonzalezzitu)
- Extended get_battery_day_stats function to retrieve more data (by jgonzalezzitu)
- Added tests for README examples
- Added query time to get_battery_day_stats (by jgonzalezzitu)
- Updated client error handling due to new FusionSolar error messages
- Fixed str to float converion in battery stats (by @MatteoGheza)
- Fixed typos in README
- Added functions get_historical_data and get_real_time_data (by Nikolai Raitsev)
- Fixed issu in encryption.py (by @MatteoGheza and ATNALDC)
- Added support for the new
roarandheader which is required for several function calls.
- Added support for the new encrypted login function introduced in API version 3
- Added new function
get_current_plant_data
- Added new functions
is_session_activeandkeep_alive - Adapted the @logged_in wrapper to use this new function
- Fixed detection of incorrect subdomains
- Added test for session reuse
- Removed deprecation decorators from PowerStatus as these clashed with @property decorators (functions will still be removed in the future)
- Fixed bug in handling session configuration in new login procedure.
- Added support for new login procedure in "unixxx" subdomains.
- Fixed login issue with subdomain "intl"
- Added function
get_optimizer_statsto retrieve optimizer data (thanks to @Miouge1)
- Explicitly catch incorrect subdomain
- Improved documentation of returned values
- Improved
get_last_plant_datato include all available values
- Added additional values to
get_last_plant_data
- Adapted
get_last_plant_datato returnfloatinstead of strings
- Fixed bugs that prevented meter data to be correctly added to the plant stats
- Added additional combined statistics to the plant stats
- Updated the README to show new features
- Added a new function
get_station_listthat returns detailed info about all installed stations under that account. - Changed the functionality of
get_plant_idsto only return the ids of stations. In some setups, the ids returned here are ids of subunits (ie. dongle) that can't be used to extract further information.
- Fixed a bug in
get_plant_stats: Query time was by default set to the current time. But the API expects this to be 00:00:00 of the current day.