-
Notifications
You must be signed in to change notification settings - Fork 1
/
app.json
68 lines (68 loc) · 3.53 KB
/
app.json
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
{
"name": "SugaryMiro",
"description": "An application used to analyze SGV entries returned from NightScout online instance and send notification to the user using the IFTTT service if it's high/low for long period of time",
"repository": "https://github.com/TheNetworker/sugarymiro",
"logo": "https://github.com/TheNetworker/sugarymiro/blob/master/README.assets/SugaryMiro.png?raw=true",
"keywords": ["python", "nightscout", "cgm", "glucose", "ifttt" ],
"addons": [ "papertrail" ],
"env": {
"Your_IFTTT_Key": {
"description": "Please provide the IFTTT key String to connect to your IFTTT account. You can obtain it after creating the IFTTT webhook by clicking on 'Documentation' at this url (https://ifttt.com/maker_webhooks).",
"value": "",
"required": true
},
"NightScout_URL": {
"description": "Please provide the URL of your NightScout server which is usually deployed on heroku app. For example: https://my-cgm.herokuapp.com/",
"value": "",
"required": true
},
"NightScout_API_Key": {
"description": "Please provide the API key of your NightScout server which is being configured during initial NightScout instance deployment. If you don't know it, then go to the settings of your app under (https://dashboard.heroku.com/apps) then 'Reveal Config Vars'. it should be in 'API_SECRET'",
"value": "",
"required": true
},
"Your_Time_Zone": {
"description": "Please provide your timezone. this is used to calculate the time difference between your local time and NightScout server time. For example: 'America/Los_Angeles'",
"value": "Asia/Riyadh",
"required": true
},
"NightShift_Only": {
"description": "Please provide if you want the app to run only during night shift (from 9PM at your local time to 9AM next day). supported values are 'yes' or 'no'",
"value": "no",
"required": false
},
"Target_Reading": {
"description": "Please provide the target SGV reading that you configured in your CGM. For example: 150",
"value": "150",
"required": true
},
"Low_Threshold": {
"description": "Please provide the low threshold value for the SGV reading that you configured in your CGM. For example: 60",
"value": "60",
"required": true
},
"High_Threshold": {
"description": "Please provide the high threshold value for the SGV reading that you configured in your CGM. For example: 350",
"value": "350",
"required": true
},
"High_Margin": {
"description": "The app will send notification if the calculated average reading is exceeding high average + configured margin. For example, if the high threshold is set to: 350, target reading is set to: 150 and the margin is: 15, then the app will send notification if the calculated average SVG over last period of time is above than: (350+150)/2=250 + 15 = 265. ",
"value": "15",
"required": false
},
"Low_Margin": {
"description": "The app will send notification if the calculated average reading is exceeding low average - configured margin. For example, if the low threshold is set to: 60, target reading is set to: 150 and the margin is: 35, then the app will send notification if the calculated average SVG over last period of time is below than: (150+60)/2=105 - 35 = 70.",
"value": "35",
"required": false
}
},
"environments": {
"test": {
"scripts": {
"test-setup": "python manage.py collectstatic --noinput",
"test": "python manage.py test"
}
}
}
}