82 lines
2.2 KiB
Markdown
82 lines
2.2 KiB
Markdown
|
|
# Config File
|
||
|
|
```json
|
||
|
|
{
|
||
|
|
// Version of file
|
||
|
|
"version": 1,
|
||
|
|
|
||
|
|
// Environments
|
||
|
|
"environments": [
|
||
|
|
{
|
||
|
|
// Name of the location
|
||
|
|
"name": "abcd",
|
||
|
|
"physicalData": [
|
||
|
|
{
|
||
|
|
"dataType": "Temperature",
|
||
|
|
"value": 293.15 // Kelvin
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"dataType": "Humidity",
|
||
|
|
"value": 30.0 // Percentage
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"devices": [
|
||
|
|
{
|
||
|
|
// Between 0 and 999 included
|
||
|
|
"deviceID": 10, // *
|
||
|
|
"dataType": "Temperature",
|
||
|
|
"location:": { //*
|
||
|
|
"x": 0,
|
||
|
|
"y": 0,
|
||
|
|
"z": 0
|
||
|
|
},
|
||
|
|
"dutyCycle": 1000, // *
|
||
|
|
"realSensors": true, // *
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"dataType": "Temperature",
|
||
|
|
"realSensors": true, // *
|
||
|
|
|
||
|
|
// Between 0 and 999 included
|
||
|
|
"number": 10 // *
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
// Name of the location
|
||
|
|
"name": "abcde",
|
||
|
|
"physicalData": [
|
||
|
|
{
|
||
|
|
"dataType": "Temperature",
|
||
|
|
"value": 293.15 // Kelvin
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"dataType": "Humidity",
|
||
|
|
"value": 30.0 // Percentage
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"devices": [
|
||
|
|
{
|
||
|
|
// Between 0 and 999 included
|
||
|
|
"deviceID": 10, // *
|
||
|
|
"dataType": "Temperature",
|
||
|
|
"location:": { //*
|
||
|
|
"x": 0,
|
||
|
|
"y": 0,
|
||
|
|
"z": 0
|
||
|
|
},
|
||
|
|
"dutyCycle": 1000, // *
|
||
|
|
"realSensors": true, // *
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"dataType": "Temperature",
|
||
|
|
"realSensors": true, // *
|
||
|
|
|
||
|
|
// Between 0 and 999 included
|
||
|
|
"number": 10 // *
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
|
||
|
|
]
|
||
|
|
}
|
||
|
|
```
|