Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:mervis-scada:82-iot-api [2019/05/17 13:37]
m.chlupac
en:mervis-scada:82-iot-api [2021/04/08 13:04]
Line 1: Line 1:
-====== IoT API ====== 
- 
-<code javascript> 
-{ 
- "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" 
-      } 
-     ] 
-    } 
-   ] 
-  } 
- ] 
-} 
-</code> 
  
  • © Energocentrum Plus, s.r.o. 2017 - 2024