zwave-js/.config-db/devices/0x0090/templates/kwikset_template.json
2025-01-10 22:05:04 -08:00

417 lines
8.3 KiB
JSON

// Kwikset Template File
{
"usercode_base": {
"description": "Guests and Workers will require schedules attached to them in order for those types to be assigned",
"valueSize": 1,
"minValue": 1,
"maxValue": 4,
"defaultValue": 1,
"unsigned": true,
"allowManualEntry": false,
"options": [
{
"label": "Owner",
"value": 1
},
{
"label": "Guest",
"value": 3
},
{
"label": "Worker",
"value": 4
}
]
},
"usercode_1": {
"$import": "#usercode_base",
"label": "User Code 1 Type"
},
"usercode_2": {
"$import": "#usercode_base",
"label": "User Code 2 Type"
},
"usercode_3": {
"$import": "#usercode_base",
"label": "User Code 3 Type"
},
"usercode_4": {
"$import": "#usercode_base",
"label": "User Code 4 Type"
},
"usercode_5": {
"$import": "#usercode_base",
"label": "User Code 5 Type"
},
"usercode_6": {
"$import": "#usercode_base",
"label": "User Code 6 Type"
},
"usercode_7": {
"$import": "#usercode_base",
"label": "User Code 7 Type"
},
"usercode_8": {
"$import": "#usercode_base",
"label": "User Code 8 Type"
},
"usercode_9": {
"$import": "#usercode_base",
"label": "User Code 9 Type"
},
"usercode_10": {
"$import": "#usercode_base",
"label": "User Code 10 Type"
},
"usercode_11": {
"$import": "#usercode_base",
"label": "User Code 11 Type"
},
"usercode_12": {
"$import": "#usercode_base",
"label": "User Code 12 Type"
},
"usercode_13": {
"$import": "#usercode_base",
"label": "User Code 13 Type"
},
"usercode_14": {
"$import": "#usercode_base",
"label": "User Code 14 Type"
},
"usercode_15": {
"$import": "#usercode_base",
"label": "User Code 15 Type"
},
"usercode_16": {
"$import": "#usercode_base",
"label": "User Code 16 Type"
},
"usercode_17": {
"$import": "#usercode_base",
"label": "User Code 17 Type"
},
"usercode_18": {
"$import": "#usercode_base",
"label": "User Code 18 Type"
},
"usercode_19": {
"$import": "#usercode_base",
"label": "User Code 19 Type"
},
"usercode_20": {
"$import": "#usercode_base",
"label": "User Code 20 Type"
},
"usercode_21": {
"$import": "#usercode_base",
"label": "User Code 21 Type"
},
"usercode_22": {
"$import": "#usercode_base",
"label": "User Code 22 Type"
},
"usercode_23": {
"$import": "#usercode_base",
"label": "User Code 23 Type"
},
"usercode_24": {
"$import": "#usercode_base",
"label": "User Code 24 Type"
},
"usercode_25": {
"$import": "#usercode_base",
"label": "User Code 25 Type"
},
"usercode_26": {
"$import": "#usercode_base",
"label": "User Code 26 Type"
},
"usercode_27": {
"$import": "#usercode_base",
"label": "User Code 27 Type"
},
"usercode_28": {
"$import": "#usercode_base",
"label": "User Code 28 Type"
},
"usercode_29": {
"$import": "#usercode_base",
"label": "User Code 29 Type"
},
"usercode_30": {
"$import": "#usercode_base",
"label": "User Code 30 Type"
},
"dipswitch_led": {
"label": "Dipswitch setting: Lock Status LED",
"description": "State of the Lock Status LED dipswitch on the rear panel of the door lock.",
"valueSize": 1,
"minValue": 0,
"maxValue": 1,
"defaultValue": 0,
"unsigned": true,
"readOnly": true,
"options": [
{
"label": "Disabled",
"value": 0
},
{
"label": "Enabled",
"value": 1
}
]
},
"dipswitch_autolock": {
"label": "Dipswitch setting: Autolock",
"description": "State of the Autolock dipswitch on the rear panel of the door lock.",
"valueSize": 1,
"minValue": 0,
"maxValue": 1,
"defaultValue": 0,
"unsigned": true,
"readOnly": true,
"options": [
{
"label": "Disabled",
"value": 0
},
{
"label": "Enabled",
"value": 1
}
]
},
"dipswitch_buzzer": {
"label": "Dipswitch setting: Buzzer",
"description": "State of the Buzzer dipswitch on the rear panel of the door lock.",
"valueSize": 1,
"minValue": 0,
"maxValue": 1,
"defaultValue": 0,
"unsigned": true,
"readOnly": true,
"options": [
{
"label": "Disabled",
"value": 0
},
{
"label": "Enabled",
"value": 1
}
]
},
"dipswitch_securescreen": {
"label": "Dipswitch setting: Secure Screen",
"description": "State of the Secure Screen dipswitch on the rear panel of the door lock.",
"valueSize": 1,
"minValue": 0,
"maxValue": 1,
"defaultValue": 0,
"unsigned": true,
"readOnly": true,
"options": [
{
"label": "Disabled",
"value": 0
},
{
"label": "Enabled",
"value": 1
}
]
},
"dipswitch_sku_firstfour": {
"label": "SKU Number (First 4 Bytes)",
"valueSize": 4,
"minValue": 0,
"maxValue": 4294967295,
"defaultValue": 0,
"unsigned": true,
"readOnly": true
},
"dipswitch_sku_lastfour": {
"label": "SKU Number (Last 4 Bytes)",
"valueSize": 4,
"minValue": 0,
"maxValue": 4294967295,
"defaultValue": 0,
"unsigned": true,
"readOnly": true
},
"reset": {
"label": "Reset to Default",
"description": "Force Factory Reset",
"valueSize": 1,
"minValue": 0,
"maxValue": 1,
"defaultValue": 0,
"unsigned": true,
"writeOnly": true,
"allowManualEntry": false,
"options": [
{
"label": "Normal Operation",
"value": 0
},
{
"label": "Factory Reset",
"value": 1
}
]
},
"alarm_map_idle": {
"from": {
"alarmType": 0 // No status reported
},
"to": {
"notificationType": 6, // Access Control
"notificationEvent": 0 // idle
}
},
"alarm_map_lock_jammed": {
"from": {
"alarmType": 9 // Lock Jammed
},
"to": {
"notificationType": 6, // Access Control
"notificationEvent": 11 // Lock state: Lock Jammed
}
},
"alarm_map_keypad_lock": {
"from": {
"alarmType": 18 // Keypad Lock
},
"to": {
"notificationType": 6, // Access Control
"notificationEvent": 5, // Keypad lock operation
"eventParameters": {
"userId": "alarmLevel"
}
}
},
"alarm_map_keypad_unlocked": {
"from": {
"alarmType": 19 // Keypad Unlock
},
"to": {
"notificationType": 6, // Access Control
"notificationEvent": 6, // Lock state: Lock Jammed
"eventParameters": {
"userId": "alarmLevel"
}
}
},
"alarm_map_manual_lock": {
"from": {
"alarmType": 21 // Manual Lock
},
"to": {
"notificationType": 6, // Access Control
"notificationEvent": 1 // Manual lock operation
}
},
"alarm_map_manual_unlock": {
"from": {
"alarmType": 22 // Manual Unlock
},
"to": {
"notificationType": 6, // Access Control
"notificationEvent": 2 // Manual unlock operation
}
},
"alarm_map_rf_lock_jammed": {
"from": {
"alarmType": 23 // RF Lock Jammed
},
"to": {
"notificationType": 6, // Access Control
"notificationEvent": 8 // RF not fully locked
}
},
"alarm_map_rf_lock": {
"from": {
"alarmType": 24 // RF Lock
},
"to": {
"notificationType": 6, // Access Control
"notificationEvent": 3 // RF lock operation
}
},
"alarm_map_rf_unlock": {
"from": {
"alarmType": 25 // RF Unlock
},
"to": {
"notificationType": 6, // Access Control
"notificationEvent": 4 // RF unlock operation
}
},
"alarm_map_auto_lock_jammed": {
"from": {
"alarmType": 26 // Auto Lock Jammed
},
"to": {
"notificationType": 6, // Access Control
"notificationEvent": 10 // Auto lock not fully locked
}
},
"alarm_map_auto_lock": {
"from": {
"alarmType": 27 // Auto Lock
},
"to": {
"notificationType": 6, // Access Control
"notificationEvent": 9 // Auto lock locked
}
},
"alarm_map_all_codes_deleted": {
"from": {
"alarmType": 32 // All Codes Deleted
},
"to": {
"notificationType": 6, // Access Control
"notificationEvent": 12 // All user codes deleted
}
},
"alarm_map_code_deleted": {
"from": {
"alarmType": 33 // Code Deleted
},
"to": {
"notificationType": 6, // Access Control
"notificationEvent": 13, // Single user code deleted
"eventParameters": {
"userId": "alarmLevel"
}
}
},
"alarm_map_low_battery": {
"from": {
// Low battery <= 4.8 V
"alarmType": 167
},
"to": {
"notificationType": 8, // Power Management
"notificationEvent": 14, // Charge battery soon
"eventParameters": {
"batteryLevel": "alarmLevel"
}
}
},
"alarm_map_critical_battery": {
"from": {
// Low battery <= 4.5 V
"alarmType": 168
},
"to": {
"notificationType": 8, // Power Management
"notificationEvent": 15, // Charge battery now
"eventParameters": {
"batteryLevel": "alarmLevel"
}
}
}
}