@zwave-js/config 13.2.0 → 13.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,6 +11,10 @@
11
11
  {
12
12
  "productType": "0x0001",
13
13
  "productId": "0x000b"
14
+ },
15
+ {
16
+ "productType": "0x0001",
17
+ "productId": "0x000d"
14
18
  }
15
19
  ],
16
20
  "firmwareVersion": {
@@ -92,5 +92,18 @@
92
92
  "defaultValue": 255,
93
93
  "unsigned": true
94
94
  }
95
- ]
95
+ ],
96
+ "compat": {
97
+ "alarmMapping": [
98
+ {
99
+ "$import": "templates/schlage_template.json#alarm_map_keymap_disabled"
100
+ },
101
+ {
102
+ "$import": "templates/schlage_template.json#alarm_map_keypad_busy"
103
+ },
104
+ {
105
+ "$import": "templates/schlage_template.json#alarm_map_keypad_unlock"
106
+ }
107
+ ]
108
+ }
96
109
  }
@@ -0,0 +1,34 @@
1
+ {
2
+ "alarm_map_keymap_disabled": {
3
+ "from": {
4
+ "alarmType": 96,
5
+ "alarmLevel": 255
6
+ },
7
+ "to": {
8
+ "notificationType": 6, // Access Control
9
+ "notificationEvent": 16 // Keypad temporary disabled
10
+ }
11
+ },
12
+ "alarm_map_keypad_busy": {
13
+ "from": {
14
+ "alarmType": 144,
15
+ "alarmLevel": 255
16
+ },
17
+ "to": {
18
+ "notificationType": 6, // Access Control
19
+ "notificationEvent": 17 // Keypad busy
20
+ }
21
+ },
22
+ "alarm_map_keypad_unlock": {
23
+ "from": {
24
+ "alarmType": 16
25
+ },
26
+ "to": {
27
+ "notificationType": 6, // Access Control
28
+ "notificationEvent": 6, // Keypad unlock operation
29
+ "eventParameters": {
30
+ "userId": "alarmLevel"
31
+ }
32
+ }
33
+ }
34
+ }
@@ -0,0 +1,71 @@
1
+ {
2
+ "manufacturer": "Philio Technology Corp",
3
+ "manufacturerId": "0x013c",
4
+ "label": "PSK01",
5
+ "description": "Smart Keypad",
6
+ "devices": [
7
+ {
8
+ "productType": "0x000a",
9
+ "productId": "0x006f"
10
+ }
11
+ ],
12
+ "firmwareVersion": {
13
+ "min": "0.0",
14
+ "max": "255.255"
15
+ },
16
+ "paramInformation": [
17
+ {
18
+ "#": "1",
19
+ "label": "Set Keypad Mode",
20
+ "valueSize": 1,
21
+ "defaultValue": 2,
22
+ "allowManualEntry": false,
23
+ "options": [
24
+ {
25
+ "label": "Entry control mode",
26
+ "value": 1
27
+ },
28
+ {
29
+ "label": "Central Scene mode",
30
+ "value": 2
31
+ }
32
+ ]
33
+ },
34
+ {
35
+ "#": "2",
36
+ "$import": "~/templates/master_template.json#base_enable_disable",
37
+ "label": "Buzzer",
38
+ "defaultValue": 1
39
+ },
40
+ {
41
+ "#": "3",
42
+ "$import": "~/templates/master_template.json#base_enable_disable",
43
+ "label": "Rand Mode",
44
+ "description": "When the Rand Mode is enabled, whenever the device wakes up from sleeping, no more than four digits of random keys will light on. Users have to press those random keys one by one, and the device will go to Entry Control mode."
45
+ },
46
+ {
47
+ "#": "4",
48
+ "$import": "~/templates/master_template.json#base_enable_disable",
49
+ "label": "Touch Sleep",
50
+ "description": "If Touch Sleep is enabled the touch panel lights will turn off a short time after the last touch.",
51
+ "defaultValue": 1
52
+ },
53
+ {
54
+ "#": "5",
55
+ "$import": "templates/philio_template.json#auto_report_unit",
56
+ "label": "Battery Report Unit",
57
+ "description": "Define the time scale for automatic reports. This value will be multiplied with parameter 6 to set the time interval between reports."
58
+ },
59
+ {
60
+ "#": "6",
61
+ "$import": "templates/philio_template.json#auto_report_interval",
62
+ "label": "Battery Report Interval"
63
+ }
64
+ ],
65
+ "metadata": {
66
+ "inclusion": "1. Have Z-WaveTM Controller enter inclusion mode.\n2. Enter the Programming Code (PC) by pressing the correct number keys (default programming code is 0000) and then enter, then press 1 and 0 and enter.\n3. After successful addition, the device buzzer will beep twice.",
67
+ "exclusion": "1. Have Z-WaveTM Controller enter exclusion mode.\n2. Enter the Programming Code (PC) by pressing the correct number keys (default programming code is 0000) and then enter, then press 1 and 0 and enter.\n3. After successful removal, the device buzzer will beep twice.",
68
+ "reset": "Method 1. Enter the Programming Code (PC) by pressing the correct number keys (default programming code is 0000) and then enter, then press 9 and enter.\nMethod 2. Press tamper key 3 times in 1.5 seconds. 3 long beeps will occur after two seconds on successful reset.",
69
+ "manual": "https://www.zwavetaiwan.com.tw/s/PSK01_UserManual-A2-20240731.pdf"
70
+ }
71
+ }
@@ -51,7 +51,7 @@
51
51
  },
52
52
  {
53
53
  "#": "10",
54
- "$import": "templates/philio_template.json#battery_report_interval"
54
+ "$import": "templates/philio_template.json#battery_report_interval_30m"
55
55
  },
56
56
  {
57
57
  "#": "82",
@@ -75,7 +75,7 @@
75
75
  },
76
76
  {
77
77
  "#": "10",
78
- "$import": "templates/philio_template.json#battery_report_interval"
78
+ "$import": "templates/philio_template.json#battery_report_interval_30m"
79
79
  },
80
80
  {
81
81
  "#": "82",
@@ -24,7 +24,7 @@
24
24
  "paramInformation": [
25
25
  {
26
26
  "#": "10",
27
- "$import": "templates/philio_template.json#battery_report_interval"
27
+ "$import": "templates/philio_template.json#battery_report_interval_30m"
28
28
  }
29
29
  ],
30
30
  "metadata": {
@@ -36,12 +36,25 @@
36
36
  }
37
37
  ]
38
38
  },
39
- "battery_report_interval": {
39
+ "battery_report_interval_30m": {
40
40
  "label": "Battery Report Interval",
41
41
  "valueSize": 1,
42
- "unit": "minutes",
42
+ "unit": "30 minutes",
43
+ "minValue": 0,
44
+ "maxValue": 127,
45
+ "defaultValue": 12,
46
+ "unsigned": true,
47
+ "options": [
48
+ {
49
+ "label": "Disable",
50
+ "value": 0
51
+ }
52
+ ]
53
+ },
54
+ "auto_report_interval": {
55
+ "valueSize": 1,
43
56
  "minValue": 0,
44
- "maxValue": 12,
57
+ "maxValue": 255,
45
58
  "defaultValue": 12,
46
59
  "unsigned": true,
47
60
  "options": [
@@ -50,5 +63,19 @@
50
63
  "value": 0
51
64
  }
52
65
  ]
66
+ },
67
+ "auto_report_unit": {
68
+ "valueSize": 1,
69
+ "unit": "minutes",
70
+ "minValue": 0,
71
+ "maxValue": 255,
72
+ "defaultValue": 30,
73
+ "unsigned": true,
74
+ "options": [
75
+ {
76
+ "label": "Disable all auto reports",
77
+ "value": 0
78
+ }
79
+ ]
53
80
  }
54
81
  }
@@ -13,6 +13,10 @@
13
13
  "productType": "0x0003",
14
14
  "productId": "0x0015",
15
15
  "zwaveAllianceId": 3670
16
+ },
17
+ {
18
+ "productType": "0x0003",
19
+ "productId": "0x001a"
16
20
  }
17
21
  ],
18
22
  "firmwareVersion": {
@@ -316,8 +316,8 @@
316
316
  {
317
317
  // This device exposes a Multilevel Switch (Dimmer) on endpoint 0, and a Binary Switch (Relay) on endpoint 1
318
318
  // Our heuristic currently detects endpoint 1 as unnecessary and hides it from the user.
319
- // This problem is fixed in the 800 series version of the device (firmwareVersion >= 4.0)
320
- "$if": "firmwareVersion < 4.0",
319
+ // This problem is fixed in firmare 3.20 and higher
320
+ "$if": "firmwareVersion < 3.20",
321
321
  "preserveEndpoints": "*",
322
322
  "preserveRootApplicationCCValueIDs": true
323
323
  }
@@ -32,6 +32,10 @@
32
32
  "maxValue": 99,
33
33
  "defaultValue": 1
34
34
  },
35
+ {
36
+ "#": "3",
37
+ "$import": "~/templates/master_template.json#led_indicator_four_options"
38
+ },
35
39
  {
36
40
  "#": "4",
37
41
  "$import": "~/templates/master_template.json#orientation"
@@ -6,7 +6,8 @@
6
6
  "devices": [
7
7
  {
8
8
  "productType": "0x0007",
9
- "productId": "0x0081"
9
+ "productId": "0x0081",
10
+ "zwaveAllianceId": 5078
10
11
  }
11
12
  ],
12
13
  "firmwareVersion": {
@@ -7,6 +7,10 @@
7
7
  {
8
8
  "productType": "0x0003",
9
9
  "productId": "0x0082"
10
+ },
11
+ {
12
+ "productType": "0x0003",
13
+ "productId": "0x0085"
10
14
  }
11
15
  ],
12
16
  "firmwareVersion": {
@@ -7,7 +7,7 @@
7
7
  {
8
8
  "productType": "0x0009",
9
9
  "productId": "0x0081",
10
- "zwaveAllianceId": 5008
10
+ "zwaveAllianceId": 5052
11
11
  }
12
12
  ],
13
13
  "firmwareVersion": {
@@ -6,7 +6,8 @@
6
6
  "devices": [
7
7
  {
8
8
  "productType": "0x0002",
9
- "productId": "0x0081"
9
+ "productId": "0x0081",
10
+ "zwaveAllianceId": 5115
10
11
  }
11
12
  ],
12
13
  "firmwareVersion": {
@@ -6,7 +6,8 @@
6
6
  "devices": [
7
7
  {
8
8
  "productType": "0x0002",
9
- "productId": "0x008d"
9
+ "productId": "0x008d",
10
+ "zwaveAllianceId": 5125
10
11
  }
11
12
  ],
12
13
  "firmwareVersion": {
@@ -0,0 +1,150 @@
1
+ {
2
+ "manufacturer": "Shelly Europe Ltd.",
3
+ "manufacturerId": "0x0460",
4
+ "label": "QPSW-0A3X16",
5
+ "description": "Wave Pro 3",
6
+ "devices": [
7
+ {
8
+ "productType": "0x0002",
9
+ "productId": "0x0091"
10
+ }
11
+ ],
12
+ "firmwareVersion": {
13
+ "min": "0.0",
14
+ "max": "255.255"
15
+ },
16
+ "paramInformation": [
17
+ {
18
+ "#": "1",
19
+ "$import": "templates/wave_template.json#switch_type",
20
+ "label": "SW1 Switch Type"
21
+ },
22
+ {
23
+ "#": "2",
24
+ "$import": "templates/wave_template.json#switch_type",
25
+ "label": "SW2 Switch Type"
26
+ },
27
+ {
28
+ "#": "3",
29
+ "$import": "templates/wave_template.json#switch_type",
30
+ "label": "SW3 Switch Type"
31
+ },
32
+ {
33
+ "#": "17",
34
+ "$import": "~/templates/master_template.json#state_after_power_failure_prev_off",
35
+ "label": "O1: State After Power Failure"
36
+ },
37
+ {
38
+ "#": "18",
39
+ "$import": "~/templates/master_template.json#state_after_power_failure_prev_off",
40
+ "label": "O2: State After Power Failure"
41
+ },
42
+ {
43
+ "#": "27",
44
+ "$import": "~/templates/master_template.json#state_after_power_failure_prev_off",
45
+ "label": "O3: State After Power Failure"
46
+ },
47
+ {
48
+ "#": "19",
49
+ "$import": "templates/wave_template.json#auto_off_timer",
50
+ "label": "O1: Auto-Off Timer"
51
+ },
52
+ {
53
+ "#": "20",
54
+ "$import": "templates/wave_template.json#auto_on_timer",
55
+ "label": "O1: Auto-On Timer"
56
+ },
57
+ {
58
+ "#": "25",
59
+ "$import": "templates/wave_template.json#timer_unit",
60
+ "label": "O1: Auto-On/Off Timer Unit"
61
+ },
62
+ {
63
+ "#": "21",
64
+ "$import": "templates/wave_template.json#auto_off_timer",
65
+ "label": "O2: Auto-Off Timer"
66
+ },
67
+ {
68
+ "#": "22",
69
+ "$import": "templates/wave_template.json#auto_on_timer",
70
+ "label": "O2: Auto-On Timer"
71
+ },
72
+ {
73
+ "#": "26",
74
+ "$import": "templates/wave_template.json#timer_unit",
75
+ "label": "O2: Auto-On/Off Timer Unit"
76
+ },
77
+ {
78
+ "#": "29",
79
+ "$import": "templates/wave_template.json#auto_off_timer",
80
+ "label": "O3: Auto-Off Timer"
81
+ },
82
+ {
83
+ "#": "30",
84
+ "$import": "templates/wave_template.json#auto_on_timer",
85
+ "label": "O3: Auto-On Timer"
86
+ },
87
+ {
88
+ "#": "108",
89
+ "$import": "templates/wave_template.json#timer_unit",
90
+ "label": "O3: Auto-On/Off Timer Unit"
91
+ },
92
+ {
93
+ "#": "23",
94
+ "$import": "templates/wave_template.json#out_relay_type",
95
+ "label": "O1: Relay Type"
96
+ },
97
+ {
98
+ "#": "24",
99
+ "$import": "templates/wave_template.json#out_relay_type",
100
+ "label": "O2: Relay Type"
101
+ },
102
+ {
103
+ "#": "106",
104
+ "$import": "templates/wave_template.json#out_relay_type",
105
+ "label": "O3: Relay Type"
106
+ },
107
+ {
108
+ "#": "91",
109
+ "$import": "templates/wave_template.json#alarm_configuration",
110
+ "label": "Alarm Configuration: Water"
111
+ },
112
+ {
113
+ "#": "92",
114
+ "$import": "templates/wave_template.json#alarm_configuration",
115
+ "label": "Alarm Configuration: Smoke"
116
+ },
117
+ {
118
+ "#": "93",
119
+ "$import": "templates/wave_template.json#alarm_configuration",
120
+ "label": "Alarm Configuration: CO"
121
+ },
122
+ {
123
+ "#": "94",
124
+ "$import": "templates/wave_template.json#alarm_configuration",
125
+ "label": "Alarm Configuration: Heat"
126
+ },
127
+ {
128
+ "#": "120",
129
+ "$import": "templates/wave_template.json#factory_reset"
130
+ },
131
+ {
132
+ "#": "201",
133
+ "$import": "templates/wave_template.json#serial_number",
134
+ "label": "Serial Number: Part 1"
135
+ },
136
+ {
137
+ "#": "202",
138
+ "$import": "templates/wave_template.json#serial_number",
139
+ "label": "Serial Number: Part 2"
140
+ },
141
+ {
142
+ "#": "203",
143
+ "$import": "templates/wave_template.json#serial_number",
144
+ "label": "Serial Number: Part 3"
145
+ }
146
+ ],
147
+ "metadata": {
148
+ "$import": "templates/wave_template.json#default_metadata"
149
+ }
150
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zwave-js/config",
3
- "version": "13.2.0",
3
+ "version": "13.3.1",
4
4
  "description": "zwave-js: configuration files",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -56,7 +56,7 @@
56
56
  "test:dirty": "node -r ../../maintenance/esbuild-register.js ../maintenance/src/resolveDirtyTests.ts --run"
57
57
  },
58
58
  "dependencies": {
59
- "@zwave-js/core": "13.2.0",
59
+ "@zwave-js/core": "13.3.0",
60
60
  "@zwave-js/shared": "13.1.0",
61
61
  "alcalzone-shared": "^4.0.8",
62
62
  "ansi-colors": "^4.1.3",
@@ -77,7 +77,7 @@
77
77
  "@types/sinon": "^17.0.3",
78
78
  "@types/xml2js": "^0.4.14",
79
79
  "@types/yargs": "^17.0.32",
80
- "@zwave-js/maintenance": "13.2.0",
80
+ "@zwave-js/maintenance": "13.3.0",
81
81
  "ava": "^6.1.3",
82
82
  "comment-json": "^4.2.3",
83
83
  "del-cli": "^5.1.0",