1
0
Fork 0

Merge branch 'sleepphasealarm-app-0.03'

master
Danny 2022-01-07 23:00:12 +01:00
commit 2089b1d9ac
2 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,4 @@
0.01: New App!
0.02: Respect Quiet Mode
0.03: available for BangleJS2
added support for qalarms

View File

@ -1,4 +1,4 @@
const alarms = require("Storage").readJSON("alarm.json",1)||[];
const alarms = require("Storage").readJSON("alarm.json",1)||require("Storage").readJSON("qalarm.json",1)||[];
const active = alarms.filter(a=>a.on);
// Sleep/Wake detection with Estimation of Stationary Sleep-segments (ESS):