{
"method": "hub.items.list",
"id": "_ID_",
"params": {}
}
{
"api": "1.0",
"error": null,
"id": "_ID_",
"result": {
"items": [
{
"_id": "5cef9bf17f00007937ab8015",
"deviceId": "5cef9bf17f00007937ab8013",
"deviceName": "_DEVICE_NAME_",
"deviceArmed": false,
"enum": [
"idle",
"heating",
"cooling",
"fan_only",
"vent_economizer",
"aux_heating",
"2nd_stage_heating",
"2nd_stage_cooling"
],
"hasGetter": true,
"hasSetter": false,
"name": "thermostat_operating_state",
"show": true,
"type": "token",
"value": "idle",
"valueFormatted": "idle",
"elementsMaxNumber": 2,
"userCodeRestriction": "\d{4}"
}
]
}
}
{
"method": "hub.items.list",
"id": "_ID_",
"params": {
"deviceIds": [
"5e4e6e3f7f00007ff33c7591",
"5e4e6e3f7f00007ff33cffff"
]
}
}
{
"api": "1.0",
"error": null,
"id": "_ID_",
"result": {
"items": [
{
"_id": "5e4e6e3f7f00007ff33c7599",
"deviceId": "5e4e6e3f7f00007ff33c7591",
"hasGetter": true,
"hasSetter": false,
"name": "electric_meter_watt",
"show": true,
"value": 0,
"valueFormatted": "0",
"valueType": "float"
},
...
{
"_id": "5e4e6e3f7f00007ff33c7aaa",
"deviceId": "5e4e6e3f7f00007ff33cffff",
"hasGetter": true,
"hasSetter": false,
"name": "electric_meter_watt",
"show": true,
"value": 0,
"valueFormatted": "0",
"valueType": "float"
},
...
]
}
}