ReadonlyloggerOptional ReadonlyonCallback invoked after sync operations.
Optional ReadonlysettingCentral model registry containing all synced buildings, floors, areas, and devices.
Dispose both sync and retry timers.
Authenticate with MELCloud using the provided or stored credentials.
Optionaldata: LoginCredentialsCancel any pending automatic sync timer.
Fetch all buildings, sync the model registry, and schedule the next auto-sync.
The list of fetched buildings.
Fetch energy consumption report. Supported by ATA and ATW devices.
Fetch raw error log entries from the API.
Retrieve a parsed, paginated error log for the specified devices. Filters out entries with invalid dates or empty messages.
The error log query parameters (date range, pagination).
Device IDs to fetch errors for; defaults to all devices.
Parsed error log with pagination metadata.
Get frost protection settings for a building, floor, area, or device.
Fetch ATA device group state. ATA only.
Get holiday mode settings for a building, floor, area, or device.
Fetch hourly temperature report. ATW only.
Fetch internal temperature report. ATW only.
Fetch operation mode log data for charting.
Fetch WiFi signal strength report.
Fetch temperature log data.
Fetch tile data for device overview.
Fetch current device data by device and building ID.
Whether a user is currently authenticated (context key valid).
List all buildings and their device hierarchy.
Perform a login request against the MELCloud API.
Update frost protection settings.
Update ATA device group state. ATA only.
Update holiday mode settings.
Update the user's language on the server if it differs from the current locale.
The language code to set.
Turn devices on or off.
Update the automatic sync interval and reschedule.
Interval in minutes. Set to 0 or null to disable auto-sync.
Send updated device values to the API.
StaticcreateCreate and initialize a new API instance, performing an initial device sync.
Optionalconfig: APIConfigOptional configuration for the API client.
The initialized API instance.
Main MELCloud API client. Handles authentication, device syncing, and all API endpoint calls. Uses a private constructor — create instances via MELCloudAPI.create.