-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzcl.temperaturemeasurement.info.json
More file actions
71 lines (71 loc) · 2.14 KB
/
zcl.temperaturemeasurement.info.json
File metadata and controls
71 lines (71 loc) · 2.14 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"id": "http://openinterconnect.org/zigbeemapping/schemas/zcl.temperaturemeasurement.info.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"description" : "Copyright (c) 2018 Open Connectivity Foundation, Inc. All rights reserved.",
"title": "Temperature Measurement Cluster - Information",
"definitions": {
"zcl.temperaturemeasurement.info": {
"type": "object",
"properties": {
"MeasuredValue": {
"type": "number",
"description": "Measured value",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.temperature",
"x-to-ocf": [
"ocf.temperature = MeasuredValue/100",
"units = C"
],
"x-from-ocf": [
"N/A"
]
}
},
"Tolerance": {
"type": "number",
"description": "Magnitude of the possible error",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.temperature",
"x-to-ocf": [
"ocf.precision = Tolerance/100"
],
"x-from-ocf": [
"N/A"
]
}
},
"MinMeasuredValue": {
"type": "number",
"description": "Minimum value of MeasuredValue",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.temperature",
"x-to-ocf": [
"ocf.range[0] = MinMeasuredValue/100"
],
"x-from-ocf": [
"N/A"
]
}
},
"MaxMeasuredValue": {
"type": "number",
"description": "Maximum value of MeasuredValue",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.temperature",
"x-to-ocf": [
"ocf.range[1] = MaxMeasuredValue/100"
],
"x-from-ocf": [
"N/A"
]
}
}
}
}
},
"type": "object",
"allOf": [
{"$ref": "#/definitions/zcl.temperaturemeasurement.info"}
],
"required": [ "MeasuredValue","Tolerance","MinMeasuredValue","MaxMeasuredValue"]
}