1
0
Fork 0

added qalarm

master
Danny 2022-01-07 22:59:46 +01:00
parent f6d5c25f5f
commit 5622c2de29
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
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):