forked from FOSS/BangleApps
parent
1abb3c84e5
commit
5f11e6dec1
|
@ -13,3 +13,4 @@
|
|||
0.10: Fix: Do not wake when falling asleep
|
||||
0.11: Minor tweaks
|
||||
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,
|
||||
}
|
||||
}, 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();
|
||||
let buzzCount = schedSettings.buzzCount;
|
||||
let logs = [];
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"id": "sleepphasealarm",
|
||||
"name": "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.",
|
||||
"icon": "app.png",
|
||||
"tags": "alarm",
|
||||
|
@ -14,6 +14,6 @@
|
|||
{"name":"sleepphasealarm.settings.js","url":"settings.js"},
|
||||
{"name":"sleepphasealarm.img","url":"app-icon.js","evaluate":true}
|
||||
],
|
||||
"data": [{"name":"sleepphasealarm.json","storageFile":true}],
|
||||
"data": [{"name":"sleepphasealarm.json"}],
|
||||
"interface": "interface.html"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue