Add zap step mode (zaps get stronger as more awareness alarms are failed); remove nudge setting (nudge is always on now); fix nudge being missed if wakeup occurs while in setter; fix force-exiting an awareness alarm triggering a main alarm

This commit is contained in:
RandyTheSilly committed 2026-08-19 22:31:16 -04:00
1 parent 50358d70ed
commit ce0a8ee4fe
7 files changed
+135 -77

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ Pebble.addEventListener("ready", function () {
Pebble.addEventListener("appmessage", function (dict) {
if (dict.payload["PKJS_PAVLOK_ZAP"]) {
const cfg = JSON.parse(localStorage.getItem('clay-settings'));
callAPI(cfg.PKJS_PAVLOK_API_KEY, cfg.PKJS_PAVLOK_ZAP_INTENSITY);
callAPI(cfg.PKJS_PAVLOK_API_KEY, parseInt(dict.payload["PKJS_PAVLOK_ZAP"]));
}
});