zont_load_data
Load historical device data such as temperature readings, thermostat operation, GPS tracks, and events for multiple ZONT or Mega SX devices in one call, using Unix timestamps to filter by time range.
Instructions
Загрузить историю данных устройств.
Показания температурных датчиков, работа термостата, GPS-треки, события, состояние контроллера и т.д. Можно запросить несколько устройств и типов данных за один вызов. Временные метки — unix time (секунды с 1970-01-01 UTC).
requests: список запросов вида {"device_id": int, "data_types": [str, ...], "mintime"?: int, "maxtime"?: int}. data_types, например: temperature, thermostat_work, gps, events, custom_controls, z3k_temperature, z3k_boiler_adapter, ztc_state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requests | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||