veridian-edge/config.example.json

51 lines
No EOL
1.2 KiB
JSON

{
"$schema": "https://veridian.runfoo.run/schemas/edge-config.json",
"version": "2.0",
"facilityId": "YOUR_FACILITY_UUID",
"edgeId": "rpi-01",
"server": {
"url": "https://api.veridian.runfoo.run",
"apiKey": "YOUR_API_KEY",
"heartbeatIntervalSec": 60,
"syncIntervalSec": 300
},
"sensorpush": {
"email": "sensors@facility.com",
"password": "YOUR_PASSWORD"
},
"alerts": {
"enabled": true,
"cooldownMinutes": 15,
"thresholds": [
{
"sensor": "*",
"metric": "temperature",
"min": 60,
"max": 85
},
{
"sensor": "*",
"metric": "humidity",
"min": 40,
"max": 70
}
]
},
"storage": {
"retentionDays": 30,
"maxRows": 100000
},
"dashboard": {
"enabled": true,
"port": 8080
},
"sensorMappings": [
{
"sensorId": "123456.7890",
"roomId": "ROOM_UUID",
"name": "Flower Room 1"
}
],
"pollingIntervalSec": 60,
"logLevel": "info"
}