For the complete documentation index, see llms.txt. This page is also available as Markdown.

Alarm System

The alarm system reacts to break-in attempts on a property. It has three optional outputs: dispatch alert, alarm sound, and owner SMS.

๐Ÿšจ Triggers

Three alarm events can fire:

State
When it fires

ON_START

A lockpick or breach attempt begins.

ON_SUCCESS

A burglar successfully gains entry.

ON_FAIL

A break-in attempt is repelled.

Each output has its own Events map deciding which states it reacts to - see security configuration.

๐Ÿ‘ฎ Dispatch

Config.Alarm.Dispatch = { Enable = true, Jobs = { 'police', 'sheriff' }, ... }

Dispatch fires by default on ON_START. The alert shows a blip at the property for ShowTime seconds and re-arms after DelayPerProperty seconds.

Dispatch works without the alarm upgrade - it always fires. The alarm upgrade is required for sound and SMS.

The dispatch integration is configured under dispatch integration.

๐Ÿ”Š Alarm Sound

Config.Alarm.AlarmSound = { Enable = true, Url = '...', Range = 75.0, Duration = 120 }

Plays a looping alarm at the property when the configured state fires (default: ON_FAIL). Audible within Range metres for Duration seconds (or once if Duration = nil).

Replace Url with a self-hosted mirror if you don't want to depend on the rco.re CDN.

๐Ÿ“ฑ Owner SMS

The owner can register up to MaxPhoneList phone numbers per property. Each registered number receives an SMS when the configured state fires (default: ON_START).

Registration uses a PIN verification flow with a CodeExpiry of 120 seconds.

SMS delivery uses the phone integration. When the phone bridge is Standalone, SMS is silently dropped.

โšก Alarm Upgrade Requirement

When true, sound and SMS only fire if the property has the Alarm upgrade installed. Dispatch fires regardless - that's the baseline service.

Set to false to make sound and SMS available to every property without buying the upgrade.

Last updated