wake-alarm/wake-alarm-fallback.timer
Krzysztof kuhy Rudnicki cf0d243ffd Count a paused alarm as a bypass
The launcher "Wstrzymaj aplikację" paused WakeAlarm mid-ring on 11-20 and
11-22. WakeAlarm is now a device admin, and a pause, admin removal,
revoked notifications or full-screen intent, or a killed ring on a live
morning is a bypass: a miss on any weekday, the phone rings again, and
the PC rings at once until a newer dismiss or 30 min.

The PC rings also go to every connected monitor, since the speakers are
off at the knob overnight; a one-shot silent probe checks them at A-5.

DOCS-bypass.md has the layers, causes and measurements.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 11:49:44 +01:00

16 lines
510 B
SYSTEMD

[Unit]
Description=Wake Alarm PC fallback alarm, once a minute through the morning
Documentation=https://github.com/kuhyx/wake-alarm
[Timer]
# 04:00-09:59 covers A-5min..A+45min for any alarm the phone can set (A is
# clamped to <= 08:00). Outside that window a tick reads only local files.
# Through 11:59: a phone bypass rings the PC up to A + 4 h (A <= 08:00).
OnCalendar=*-*-* 04..11:*:00
AccuracySec=1s
# Catch up at once after the RTC resume or a boot.
Persistent=true
[Install]
WantedBy=timers.target