Skip to content

Commit c2093ef

Browse files
committed
Support for security system accessories
1 parent a744e79 commit c2093ef

9 files changed

Lines changed: 512 additions & 97 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,20 @@
22

33
All notable changes to homebridge-dummy will be documented in this file.
44

5-
## 1.1.0 (2025-08-20)
5+
## 1.2.0-beta.0 (2025-08-26)
66

77
### HELP NEEDED! (no coding experience required)
88

99
Would you like to see Homebridge Easy MQTT in your language? Please consider [getting involved](https://github.com/mpatfield/homebridge-easy-mqtt/issues/4).
1010

11+
### Added
12+
- Security System accessory type
13+
14+
### Changed
15+
- Updated dev dependencies
16+
17+
## 1.1.0 (2025-08-20)
18+
1119
### Added
1220
- Temperature Sensor accessory type
1321

README.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Any issues or damage resulting from use of this plugin are not the fault of the
2323

2424
This plugin is designed to be a simple replacement for the fantastic [homebridge-mqttthing](https://github.com/arachnetech/homebridge-mqttthing) plugin which appears as though it's [no longer](https://github.com/arachnetech/homebridge-mqttthing/commits/master/) being actively developed.
2525

26-
**HomebridgeEasyMQTT** currently supports `Lightbulb`, `LockMechanism`, `Outlet`, `Switch`, and `TemperatureSensor`, but will be expanded over time as more use cases are discovered. If there is an accessory type you'd like to see supported, please feel free to [create an issue in GitHub](https://github.com/mpatfield/homebridge-easy-mqtt/issues/new/choose).
26+
**HomebridgeEasyMQTT** currently supports `Lightbulb`, `LockMechanism`, `Outlet`, `SecuitySystem`,`Switch`, and `TemperatureSensor`, but will be expanded over time as more use cases are discovered. If there is an accessory type you'd like to see supported, please feel free to [create an issue in GitHub](https://github.com/mpatfield/homebridge-easy-mqtt/issues/new/choose).
2727

2828
## Configuration
2929

@@ -75,7 +75,7 @@ All fields are required unless noted as "(Optional)"
7575
Info:
7676
- `id` - A unique ID to identify this accessory. Changing this value will result in a new accessory.
7777
- `name` - The display name for the accessory in HomeKit
78-
- `type` - The type of accessory, currently Lightbulb, LockMechanism, Outlet, Switch, and Temperature Sensor are supported
78+
- `type` - The type of accessory, currently Lightbulb, LockMechanism, Outlet, SecuitySystem, Switch, and Temperature Sensor are supported
7979
- `manufacturer` - (Optional) The accessory manufacturer which will display in HomeKit device details
8080
- `model` - (Optional) The accessory model which will display in HomeKit device details
8181
- `serialNumber` - (Optional) The accessory serial number which will display in HomeKit device details
@@ -117,6 +117,13 @@ You may define topics using a JSONPath dot notation to assist the parser in find
117117
- `topicGetOutletInUse` - (Optional) Whether or not the outlet is currently being used
118118
- `topicSetOutletInUse` - (Optional) For setting whether the outlet is currently being used
119119

120+
- SecuitySystem
121+
- `topicGetCurrentSecurityState` — The current state of the system
122+
- `topicGetTargetSecurityState` — The target state of the system
123+
- `topicSetTargetSecurityState` — For setting the target state of the system
124+
- `topicGetStatusTampered` — For getting whether the system has been tampered with
125+
- `topicGetStatusFault` — For getting whether there is a system error
126+
120127
- Switch
121128
- `topicGetOn` - The current state of the switch, i.e. on/off
122129
- `topicSetOn` - For setting the state of the switch
@@ -147,6 +154,15 @@ As with Topics, you will need to populate the appropriate values based on the ty
147154
- `valueOutletInUse` - Currently being used, e.g. "true", or "1", or "On"
148155
- `valueOutletNotInUse` - Currently not being used, e.g. "false", or "0", or "Off"
149156

157+
- SecuritySystem
158+
- `valueArmStay` — (Optional) system armed in stay mode, e.g. "SA" or "stay"
159+
- `valueArmAway` — (Optional) system armed in away mode, e.g. "AA" or "away"
160+
- `valueArmNight` — (Optional) system armed in night mode, e.g. "NA" or "night"
161+
- `valueDisarm` — (Optional) system armed in away mode, e.g. "D" or "disarmed"
162+
- `valueAlarmTriggered` — (Optional) when the alarm has been triggered, e.g. "true" or "1" or "triggered"
163+
- `valueTampered` — (Optional) when the system has been tampered with, e.g. "true" or "1" or "tampered"
164+
- `valueFault` — (Optional) when the system has a general fault, e.g. "true" or "1" or "fault"
165+
150166
- Switch
151167
- `valueOn` - Turned on, e.g. "true", or "1", or "On"
152168
- `valueOff` - Turned off, e.g. "false", or "0", or "Off"

0 commit comments

Comments
 (0)