-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzwave.operation.notificationcommandclass.json
More file actions
138 lines (138 loc) · 5.2 KB
/
zwave.operation.notificationcommandclass.json
File metadata and controls
138 lines (138 loc) · 5.2 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"id": "http://openinterconnect.org/zwavemapping/schemas/zwave.operation.notificationcommandclass.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"description" : "Copyright (c) 2018 Open Connectivity Foundation, Inc. All rights reserved.",
"title": "Notification Command Class",
"definitions": {
"zwave.operation.notificationcommandclass": {
"type": "object",
"properties": {
"V1 Alarm Type": {
"type" : "Integer",
"description": "depends on the V1 Alarm field advertised in the Alarm Type Supported Report Command",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.sensor.carbondioxide, oic.r.sensor.carbonmonoxide, oic.r.sensor.smoke, oic.r.sensor.water",
"x-to-ocf": [
"N/A"
],
"x-from-ocf": [
"N/A"
]
}
},
"V1 Alarm Level": {
"type" : "Integer",
"description": "product manual specific",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.sensor.carbondioxide, oic.r.sensor.carbonmonoxide, oic.r.sensor.smoke, oic.r.sensor.water",
"x-to-ocf": [
"N/A"
],
"x-from-ocf": [
"N/A"
]
}
},
"Notification Status": {
"type" : "Integer",
"description": "advertise the status of the Notification Type",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.sensor.carbondioxide, oic.r.sensor.carbonmonoxide, oic.r.sensor.smoke, oic.r.sensor.water",
"x-to-ocf": [
"Value = Notification Status"
],
"x-from-ocf": [
"N/A"
]
}
},
"Notification Type": {
"type" : "Integer",
"description": " specify a Notification Type ",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.sensor.carbondioxide, oic.r.sensor.carbonmonoxide, oic.r.sensor.smoke, oic.r.sensor.water",
"x-to-ocf": [
"if Notification Type = Smoke Alarm, ocf.rt = oic.r.sensor.smoke.",
"if Notification Type = CO Alarm, ocf.rt = oic.r.sensor.carbonmonoxide.",
"if Notification Type = CO2 Alarm, ocf.rt = oic.r.sensor.carbondioxide.",
"if Notification Type = Water Alarm, ocf.rt = oic.r.sensor.water."
],
"x-from-ocf": [
"N/A"
]
}
},
"Notification Event:State": {
"type" : "Integer",
"description": "specify a Notification Event/State for the advertised Notification Type",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.sensor.carbondioxide, oic.r.sensor.carbonmonoxide, oic.r.sensor.smoke, oic.r.sensor.water",
"x-to-ocf": [
"Value = Notification Event:State"
],
"x-from-ocf": [
"N/A"
]
}
},
"Sequence": {
"type" : "boolean",
"description": "advertise the presence of the Sequence Number field",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.sensor.carbondioxide, oic.r.sensor.carbonmonoxide, oic.r.sensor.smoke, oic.r.sensor.water",
"x-to-ocf": [
"ocf.sequence = Sequence"
],
"x-from-ocf": [
"N/A"
]
}
},
"Event:State Parameters Length": {
"type" : "number",
"description": "advertise the length in bytes of the Event / State Parameters field",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.sensor.carbondioxide, oic.r.sensor.carbonmonoxide, oic.r.sensor.smoke, oic.r.sensor.water",
"x-to-ocf": [
"ocf.event:stateparameterslength = Event:State Parameters Length"
],
"x-from-ocf": [
"N/A"
]
}
},
"Event:State Parameter": {
"type" : "Integer",
"description": "specify associated parameters to a Notification",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.sensor.carbondioxide, oic.r.sensor.carbonmonoxide, oic.r.sensor.smoke, oic.r.sensor.water",
"x-to-ocf": [
"ocf.event:stateparameter = Event:State Parameter"
],
"x-from-ocf": [
"N/A"
]
}
},
"Sequence Number": {
"type" : "number",
"description": "advertise a sequence number for the actual Notification",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.sensor.carbondioxide, oic.r.sensor.carbonmonoxide, oic.r.sensor.smoke, oic.r.sensor.water",
"x-to-ocf": [
"ocf.sequencenumber = Sequence Number"
],
"x-from-ocf": [
"N/A"
]
}
}
}
}
},
"type": "object",
"allOf": [
{"$ref": "#/definitions/zwave.operation.notificationcommandclass"}
],
"required": ["V1 Alarm Type", "V1 Alarm Level", "Notification Status", "Notification Type", "Notification Event:State", "Sequence", "Event:State Parameters Length"]
}