-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.json
51 lines (51 loc) · 1.59 KB
/
template.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
50
51
[
{
"ident": "ikl5qx",
"tested": false,
"autoAckOperation": true,
"source": "{\"id\":\"postman\",\"type\":\"temperature\",\"value\":123.4,\"time\":\"2024-01-01T00:00:01+00:00\"}",
"externalIdType": "c8y_Serial",
"qos": "AT_LEAST_ONCE",
"substitutions": [
{
"resolve2ExternalId": false,
"pathSource": "id",
"pathTarget": "source.id",
"repairStrategy": "DEFAULT",
"expandArray": false
},
{
"resolve2ExternalId": false,
"pathSource": "time",
"pathTarget": "time",
"repairStrategy": "DEFAULT",
"expandArray": false
},
{
"resolve2ExternalId": false,
"pathSource": "value",
"pathTarget": "c8y_TemperatureMeasurement.processTemp.value",
"repairStrategy": "DEFAULT",
"expandArray": false
}
],
"snoopedTemplates": [],
"createNonExistingDevice": true,
"id": "6215327",
"subscriptionTopic": "/c8y/inbound/topic",
"direction": "INBOUND",
"mappingTopicSample": "/c8y/inbound/topic",
"snoopStatus": "NONE",
"debug": false,
"mapDeviceIdentifier": true,
"active": false,
"targetAPI": "MEASUREMENT",
"target": "{\"c8y_TemperatureMeasurement\":{\"processTemp\":{\"unit\":\"C\",\"value\":0}},\"time\":\"1970-01-01T00:00:01+00:00\",\"source\":{\"id\":\"0\"},\"type\":\"c8y_TemperatureMeasurement\"}",
"updateExistingDevice": false,
"mappingType": "JSON",
"lastUpdate": 1732132444145,
"name": "postman-to-c8y",
"supportsMessageContext": false,
"mappingTopic": "/c8y/inbound/topic"
}
]