-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsmartiot-config.json
49 lines (49 loc) · 1.27 KB
/
smartiot-config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"Configuration": {
"ConnectorConnectionStrings": [
"mqttServer://ServerId=MyServer;Port=1883;Serializer=json"
],
"DeviceConfigurations": [
{
"ConnectionString": "snapmodbus://ip=127.0.0.1;SwapBytes=true",
"DeviceId": "1",
"Enabled": true,
"Name": "Test Device",
"IsPartialReadsEnabled": false,
"IsWriteOptimizationEnabled": true,
"Tags": [
{
"TagId": "DB2",
"TagType": "READ",
"ByteOffset": 0,
"Size": 10,
"Weight": 1
},
{
"TagId": "DB3",
"TagType": "WRITE",
"ByteOffset": 0,
"Size": 20,
"Weight": 1
}
]
}
],
"SchedulerConfiguration": {
"MaxErrorsBeforeReconnection": 10,
"RestartDeviceInErrorTimeoutMillis": 30000,
"WaitTimeAfterErrorMillis": 1000,
"WaitTimeBetweenEveryScheduleMillis": 0,
"WaitTimeBetweenReadSchedulesMillis": 0,
"TerminateAfterNoWriteRequestsDelayMillis": 3000,
"TerminateMinimumDelayMillis": 0
}
},
"PrometheusConfiguration": {
"HostName": "\u002B",
"Port": 0,
"Url": "metrics/",
"MetricsPrefix": "smartiot_connector",
"UseHttps": false
}
}