homebridge-caddx-interlogix
Version:
A homebridge plugin for integrating the ComNav/NetworX/CaddX NX-595E network module with HomeKit
123 lines • 2.57 kB
TypeScript
export declare enum Vendor {
COMNAV = "COMNAV",
UNDEFINED = "NONE"
}
export declare enum SecuritySystemAreaCommand {
AREA_CHIME_TOGGLE = 1,
AREA_DISARM = 16,
AREA_AWAY = 17,
AREA_STAY = 18
}
export declare enum SecuritySystemZoneCommand {
ZONE_BYPASS = 82
}
export declare enum SecuritySystemCLIScenes {
"chime" = 1,
"disarm" = 16,
"away" = 17,
"stay" = 18
}
export interface Area {
bank: number;
name: string;
priority: number;
sequence: number;
bank_state: number[];
status: string;
states: {};
}
export interface Zone {
bank: number;
associatedArea: number;
name: string;
priority: number;
sequence: number;
bank_state: number[];
status: string;
isBypassed: boolean;
autoBypass: boolean;
}
export interface Output {
bank: number;
name: string;
status: boolean;
}
export interface SequenceResponse {
areas: number[];
zones: number[];
}
export declare enum AreaBank {
ARMED = 0,
PARTIAL = 1,
UNKWN_02 = 2,
FIRE_ALARM = 3,
BURGLAR_ALARM = 4,
PANIC_ALARM = 5,
MEDICAL_ALARM = 6,
EXIT_MODE01 = 7,
EXIT_MODE02 = 8,
UNKWN_09 = 9,
UNKWN_10 = 10,
UNKWN_11 = 11,
UNKWN_12 = 12,
UNKWN_13 = 13,
UNKWN_14 = 14,
CHIME = 15,
UNKWN_16 = 16
}
declare enum _AreaState {
ARMED_AWAY = 0,
ARMED_STAY = 1,
READY = 2,
ALARM_FIRE = 3,
ALARM_BURGLAR = 4,
ALARM_PANIC = 5,
ALARM_MEDICAL = 6,
DELAY_EXIT_1 = 7,
DELAY_EXIT_2 = 8,
DELAY_ENTRY = 9,
SENSOR_BYPASS = 10,
SENSOR_TROUBLE = 11,
SENSOR_TAMPER = 12,
SENSOR_BATTERY = 13,
SENSOR_SUPERVISION = 14,
NOT_READY = 15,
NOT_READY_FORCEABLE = 16,
DISARMED = 17
}
export declare class AreaState {
static readonly State: typeof _AreaState;
static readonly Priority: number[];
static readonly Status: string[];
}
declare enum _ZoneState {
UNKWN_00 = 0,
UNKWN_01 = 1,
UNKWN_02 = 2,
BYPASSED = 3,
UNKWN_04 = 4,
UNKWN_05 = 5,
UNKWN_06 = 6,
UNKWN_07 = 7,
AUTOBYPASS = 8,
UNKWN_09 = 9,
UNKWN_10 = 10,
UNKWN_11 = 11,
UNKWN_12 = 12,
UNKWN_13 = 13
}
export declare class ZoneState {
static readonly State: typeof _ZoneState;
static NotReady: string;
static Ready: string;
static readonly Status: string[];
}
export declare enum DeviceType {
area = "area",
contact = "contact",
radar = "radar",
smoke = "smoke",
output = "output"
}
export {};
//# sourceMappingURL=definitions.d.ts.map