This is an old revision of the document!


IoT API

{
	"controllers": [{
		"id": "AAABBBCCCDDDDDDAAAABBBSFSDFSFSFSDFSDFS",
		"name": "Mervis Av., Building A",
		"timestamp": "2019-04-18T15:58:59Z",
		"period": "PT5M",
		"levels": [{
			"id": 1,
			"name": "AHU 89"
		},
		{
			"id": 2,
			"name": "Building A"
		},
		{
			"id": 3,
			"name": "Area 52"
		}],
		"variable": [{
			"id": "xxxxxxxzzzzzzz",
			"name": "Outside temperature",
			"dataType": "float64",
			"unit": "°C",
			"values": [{
				"timestamp": "2019-04-18T15:55:59Z",
				"period": "PT10M",
				"value": 23.0	
			},
			{
				"timestamp": "2019-04-18T15:58:59Z",
				"value": 23.2	
			}],
			"level1_idx": 3,
			"level2_idx": 1,
			"levelX_idx": 2,
			"level1_txt": "Area 52",
			"level2_txt": "AHU 89",
			"levelX_txt": "Building A",
			"tags": [{
				"name": "technology_id",
				"value": "VZT1",
				"type": "string"
			},
			{
				"name": "area",
				"value": "256",
				"type": "number"
			}]	
		}]
	}]
}