Make awareness alarm configurable and vastly more useful
This commit is contained in:
+47
-12
@@ -19,26 +19,61 @@ module.exports = [
|
||||
"label": "Enabled"
|
||||
},
|
||||
{
|
||||
"id": "pavlok_api_key",
|
||||
"type": "input",
|
||||
"messageKey": "PKJS_PAVLOK_API_KEY",
|
||||
"label": "API Key"
|
||||
"id": "pavlok_api_key",
|
||||
"type": "input",
|
||||
"messageKey": "PKJS_PAVLOK_API_KEY",
|
||||
"label": "API Key"
|
||||
},
|
||||
{
|
||||
"id": "pavlok_zap_intensity",
|
||||
"type": "slider",
|
||||
"messageKey": "PKJS_PAVLOK_ZAP_INTENSITY",
|
||||
defaultValue: 30,
|
||||
min: 5,
|
||||
max: 100,
|
||||
step: 5,
|
||||
"defaultValue": 30,
|
||||
"min": 5,
|
||||
"max": 100,
|
||||
"step": 5,
|
||||
"label": "Zap Intensity"
|
||||
},
|
||||
{
|
||||
"id": "pavlok_test_button",
|
||||
"type": "button",
|
||||
"messageKey": "PKJS_PAVLOK_TEST_BUTTON",
|
||||
"defaultValue": "Test Beep"
|
||||
"id": "pavlok_test_button",
|
||||
"type": "button",
|
||||
"messageKey": "PKJS_PAVLOK_TEST_BUTTON",
|
||||
"defaultValue": "Test Beep"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "section",
|
||||
"items": [
|
||||
{
|
||||
"type": "heading",
|
||||
"size": 3,
|
||||
"defaultValue": "Awareness Alarm"
|
||||
},
|
||||
{
|
||||
"id": "awareness_time_gap",
|
||||
"type": "slider",
|
||||
"messageKey": "PKJS_AWARENESS_TIME_GAP",
|
||||
"defaultValue": 9,
|
||||
"min": 1,
|
||||
"max": 30,
|
||||
"label": "Gap From Main Alarm (Minutes)"
|
||||
},
|
||||
{
|
||||
"id": "awareness_time_limit",
|
||||
"type": "slider",
|
||||
"messageKey": "PKJS_AWARENESS_TIME_LIMIT",
|
||||
"defaultValue": 30,
|
||||
"min": 3,
|
||||
"max": 120,
|
||||
"label": "Time Limit (Seconds)"
|
||||
},
|
||||
{
|
||||
"id": "awareness_nudge_enable",
|
||||
"type": "toggle",
|
||||
"messageKey": "PKJS_AWARENESS_NUDGE_ENABLE",
|
||||
"defaultValue": true,
|
||||
"label": "Awareness Nudge"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user