Alarm
Built Singleton
Next scheduled alarm clock information. No permissions required.
| Module type | alarm |
|---|---|
| Default expression ID | alarm |
| Refresh rate | On alarm change |
Declaration
<module type="alarm" id="alarm" /> Properties
Reference any of these from a template via
{alarm:propertyName}.
| Name | Description | Example | Format arg |
|---|---|---|---|
isSet | Whether an alarm is scheduled | true | — |
time | Next alarm time | 07:00 | Yes |
hour | Alarm hour | 07 | Yes |
minute | Alarm minute | 00 | — |
day | Alarm day of week | Mon | Yes |
timeUntil | Duration until alarm | 7h 23m | — |
timestamp | Alarm epoch millis | 1774569600000 | — |
Events
| Trigger | Description |
|---|---|
| On alarm scheduled | A new alarm is set or changed |