Skip to main content

Crate shinemonitor_api

Crate shinemonitor_api 

Source

Structs§

ApiError
Structured API error mirroring the python ShineMonitorError and Go APIError. err == 0 is success and never produces this; non-zero err codes raise.
AppProfile
White-label vendor app identity. The ShineMonitor backend is multi-tenant: devices are scoped to the _app_id_ they were registered under. Two presets (WATCHPOWER, RENOCLIENT) are shipped; construct a custom one for other Eybond white-labels.
DeviceIdentifier
Device as returned by the device list endpoints (webQueryDeviceEs / queryDevices). Fields use the same serde aliases as the Python DeviceIdentifier model for wire compatibility.
ShineMonitorAPI
ShineMonitorLastData
ShineMonitorLastDataGrid
ShineMonitorLastDataMain
ShineMonitorLastDataPV
ShineMonitorLastDataSystem

Constants§

KNOWN_APPS
All known vendor app profiles. The crate::ShineMonitorAPI::get_devices fallback iterates this list when the primary profile returns ERR_NOT_FOUND_DEVICE (err 258 / 0x0102).

Type Aliases§

ShineMonitorAPIResult