aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/bacnet.json
blob: e36a2165d13ac514c17336f09cfe22f543cea670 (plain)
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
50
51
52
53
54
55
56
57
58
{
    "general": {
      "objectName": "TB_gateway",
      "address": "192.168.188.181:1052",
      "objectIdentifier": 599,
      "maxApduLengthAccepted": 1024,
      "segmentationSupported": "segmentedBoth",
      "vendorIdentifier": 15
    },
    "devices": [
      {
        "deviceName": "BACnet Device ${objectName}",
        "deviceType": "default",
        "address": "192.168.188.181:10520",
        "pollPeriod": 10000,
        "attributes": [
          {
            "key": "temperature",
            "type": "string",
            "objectId": "analogOutput:1",
            "propertyId": "presentValue"
          }
        ],
        "timeseries": [
          {
            "key": "state",
            "type": "bool",
            "objectId": "binaryValue:1",
            "propertyId": "presentValue"
          }
        ],
        "attributeUpdates": [
          {
            "key": "brightness",
            "requestType": "writeProperty",
            "objectId": "analogOutput:1",
            "propertyId": "presentValue"
          }
        ],
        "serverSideRpc": [
          {
            "method": "set_state",
            "requestType": "writeProperty",
            "requestTimeout": 10000,
            "objectId": "binaryOutput:1",
            "propertyId": "presentValue"
          },
          {
            "method": "get_state",
            "requestType": "readProperty",
            "requestTimeout": 10000,
            "objectId": "binaryOutput:1",
            "propertyId": "presentValue"
          }
        ]
      }
    ]
  }