forked from FOSS/BangleApps
parent
1abb3c84e5
commit
5f11e6dec1
|
@ -13,3 +13,4 @@
|
||||||
0.10: Fix: Do not wake when falling asleep
|
0.10: Fix: Do not wake when falling asleep
|
||||||
0.11: Minor tweaks
|
0.11: Minor tweaks
|
||||||
0.12: Support javascript command to execute as defined in scheduler 'js' configuration
|
0.12: Support javascript command to execute as defined in scheduler 'js' configuration
|
||||||
|
0.13: Fix dated events alarm on wrong date
|
||||||
|
|
|
@ -10,7 +10,7 @@ const config = Object.assign({
|
||||||
disableAlarm: false,
|
disableAlarm: false,
|
||||||
}
|
}
|
||||||
}, require("Storage").readJSON(CONFIGFILE,1) || {});
|
}, require("Storage").readJSON(CONFIGFILE,1) || {});
|
||||||
const active = alarms.filter(a=>a.on);
|
const active = alarms.filter(alarm => require("sched").getTimeToAlarm(alarm));
|
||||||
const schedSettings = require("sched").getSettings();
|
const schedSettings = require("sched").getSettings();
|
||||||
let buzzCount = schedSettings.buzzCount;
|
let buzzCount = schedSettings.buzzCount;
|
||||||
let logs = [];
|
let logs = [];
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"id": "sleepphasealarm",
|
"id": "sleepphasealarm",
|
||||||
"name": "SleepPhaseAlarm",
|
"name": "SleepPhaseAlarm",
|
||||||
"shortName": "SleepPhaseAlarm",
|
"shortName": "SleepPhaseAlarm",
|
||||||
"version": "0.12",
|
"version": "0.13",
|
||||||
"description": "Uses the accelerometer to estimate sleep and wake states with the principle of Estimation of Stationary Sleep-segments (ESS, see https://ubicomp.eti.uni-siegen.de/home/datasets/ichi14/index.html.en). This app will read the next alarm from the alarm application and will wake you up to 30 minutes early at the best guessed time when you are almost already awake.",
|
"description": "Uses the accelerometer to estimate sleep and wake states with the principle of Estimation of Stationary Sleep-segments (ESS, see https://ubicomp.eti.uni-siegen.de/home/datasets/ichi14/index.html.en). This app will read the next alarm from the alarm application and will wake you up to 30 minutes early at the best guessed time when you are almost already awake.",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"tags": "alarm",
|
"tags": "alarm",
|
||||||
|
@ -14,6 +14,6 @@
|
||||||
{"name":"sleepphasealarm.settings.js","url":"settings.js"},
|
{"name":"sleepphasealarm.settings.js","url":"settings.js"},
|
||||||
{"name":"sleepphasealarm.img","url":"app-icon.js","evaluate":true}
|
{"name":"sleepphasealarm.img","url":"app-icon.js","evaluate":true}
|
||||||
],
|
],
|
||||||
"data": [{"name":"sleepphasealarm.json","storageFile":true}],
|
"data": [{"name":"sleepphasealarm.json"}],
|
||||||
"interface": "interface.html"
|
"interface": "interface.html"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue