-
-
Notifications
You must be signed in to change notification settings - Fork 203
/
server_config.js
37 lines (36 loc) · 792 Bytes
/
server_config.js
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
// @ts-check
const { CommandClasses } = require('@zwave-js/core')
const { ccCaps } = require('@zwave-js/testing')
module.exports.default = {
nodes: [
{
id: 2,
capabilities: {
commandClasses: [
CommandClasses.Version,
ccCaps({
ccId: CommandClasses['Window Covering'],
isSupported: true,
version: 1,
supportedParameters: [3, 11, 13, 23],
}),
ccCaps({
ccId: CommandClasses['User Code'],
isSupported: true,
version: 2,
numUsers: 5,
supportedASCIIChars: '0123456789ABCDEF',
}),
ccCaps({
ccId: CommandClasses['Schedule Entry Lock'],
isSupported: true,
version: 3,
numDailyRepeatingSlots: 1,
numWeekDaySlots: 1,
numYearDaySlots: 1,
}),
],
},
},
],
}