Method Signature
Parameters
The month for which to retrieve statistics.
Format:
YYYY-MM (e.g., “2025-04”)The unique identifier of the plant.
The serial number of the MIX inverter.
Returns
Returns a
Result containing:Ok(serde_json::Value): JSON object with monthly energy statistics including daily breakdownErr(GrowattError): Error if the request fails, authentication is invalid, or response is empty
Example
API Endpoint
Notes
- Requires authentication via
login()before calling - Automatically checks login status before making the request
- Returns daily energy data for each day in the specified month
- Throws
InvalidResponseerror if the response is empty or null