Skip to main content

Crate sma_sunny_boy

Crate sma_sunny_boy 

Source
Expand description

Async client for SMA Sunny Boy inverters exposing the WebConnect JSON API.

The client talks directly to the inverter over the local network. SmaClient::new reads public dashboard values without login. Configure credentials and call SmaClient::authenticate only for protected endpoints.

Modules§

metrics
Common metrics supported by SMA Sunny Boy WebConnect inverters.

Structs§

DailyYield
Production measured over one local calendar day.
Metric
Description of a WebConnect value.
NaiveDate
ISO 8601 calendar date without timezone. Allows for every proleptic Gregorian date from Jan 1, 262145 BCE to Dec 31, 262143 CE. Also supports the conversion from ISO 8601 ordinal and week date.
RawReading
A value returned for one WebConnect tag.
SmaClient
Client for one SMA inverter, optionally configured with login credentials.
SmaClientBuilder
Builder for transport options that differ between installations.
Snapshot
Frequently useful inverter values fetched in one HTTP request.

Enums§

Error
Errors produced while communicating with an inverter.
Role
SMA WebConnect login role.
Tz
TimeZones built at compile time from the tz database

Type Aliases§

Result