-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzwave.operation.multilevelsensorcommandclasscarbonmonoxide.json
More file actions
84 lines (84 loc) · 2.81 KB
/
zwave.operation.multilevelsensorcommandclasscarbonmonoxide.json
File metadata and controls
84 lines (84 loc) · 2.81 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
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"id": "http://openinterconnect.org/zwavemapping/schemas/zwave.operation.multilevelsensorcommandclasscarbonmonoxide.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"description" : "Copyright (c) 2018 Open Connectivity Foundation, Inc. All rights reserved.",
"title": "Multilevel Sensor Command Class Carbon Monoxide",
"definitions": {
"zwave.operation.multilevelsensorcommandclasscarbonmonoxide": {
"type": "object",
"properties": {
"Sensor Type": {
"type" : "Integer",
"description": " specify the carbon monoxidesensor type of the actual sensor reading ",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.sensor.carbonmonoxide",
"x-to-ocf": [
"if Sensor Type = Carbon monoxide (CO) level, ocf.rt = oic.r.sensor.carbonmonoxide."
],
"x-from-ocf": [
"N/A"
]
}
},
"Precision": {
"type" : "Number",
"description": " indicate how many decimal places are included the Sensor Value field ",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.sensor.carbonmonoxide",
"x-to-ocf": [
"ocf.r.sensor.carbonmonoxide.precision = Precision"
],
"x-from-ocf": [
"N/A"
]
}
},
"Scale": {
"type" : "Integer",
"description": " indicate what scale is used for the actual sensor reading ",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.sensor.carbonmonoxide",
"x-to-ocf": [
"N/A"
],
"x-from-ocf": [
"Scale = ppm (0x01)"
]
}
},
"Size": {
"type" : "enum",
"description": " indicate the length in bytes of the Sensor Value field ",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.sensor.carbonmonoxide",
"x-to-ocf": [
"N/A"
],
"x-from-ocf": [
"N/A"
]
}
},
"Sensor Value": {
"type" : "array",
"description": " specify the value of the actual sensor reading ",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.sensor.carbonmonoxide",
"x-to-ocf": [
"ocf.r.sensor.carbonmonoxide.value = true",
"ocf.r.sensor.carbonmonoxide.measurement = Sensor Value"
],
"x-from-ocf": [
"N/A"
]
}
}
}
}
},
"type": "object",
"allOf": [
{"$ref": "#/definitions/zwave.operation.multilevelsensorcommandclasscarbonmonoxide"}
],
"required": ["Sensor Type", "Precision", "Scale", "Size", "Sensor Value"]
}