Skip to content

Commit 93d538c

Browse files
committed
Bug fixes and improvements
### UPDATED - Plugin now properly detects if a login session has been close to 6 hours and forces a session reset. - Re-built the logic to prevent user from setting to the same arm state. - All accessory updates now officially use `updateValue()` via the recommendation of @NorthernMan54. ### FIXED - Repetitive notifications for when the user tries to arm from the same state. - Plugin could not properly disarm the system from HomeKit if the alarm was ringing. - Some Homebridge log files may be spammed because of a sensor amount mis-match. ### ADDED - Temporarily added support for "System/Supervisory" devices again to see if it can be officially supported. - User notice in the `README.md` about how temperature sensors react in this plugin. - Ability to generate fake ready arm buttons in case the portal is having arm/disarm delays. - Ability to log system status changes. - Additional statuses for `doorWindow`, `fire`, `glass`, `motion`, and `temperature`. - Notice for users when the plugin detects undocumented data and will continuously restart their Homebridge instance in attempt to get rid of the error. - Sensor count mismatch detector.
1 parent e174456 commit 93d538c

File tree

15 files changed

+1012
-497
lines changed

15 files changed

+1012
-497
lines changed

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
ADT Pulse for Homebridge
22
=========================
33

4-
### ⚠️ Please Install the Beta Version ⚠️
5-
This plugin is completely re-written from the ground up (supports v27.0.0-140), and I would love everyone on board! Please install the beta version, so I can quickly get a faster and more stable version to you!
6-
7-
Please bear with me, as the beta version is being actively developed and tested. If you see any unusual or annoying bugs, please comment on this [GitHub issue](https://github.com/mrjackyliang/homebridge-adt-pulse/issues/124).
8-
94
[![NPM Package](https://img.shields.io/npm/v/homebridge-adt-pulse?style=flat-square&logo=npm&logoColor=%23ffffff&color=%23b25da6)](https://www.npmjs.com/package/homebridge-adt-pulse)
105
[![NPM Downloads](https://img.shields.io/npm/dt/homebridge-adt-pulse?style=flat-square&logo=npm&logoColor=%23ffffff&color=%236688c3)](https://www.npmjs.com/package/homebridge-adt-pulse)
116
[![GitHub License](https://img.shields.io/github/license/mrjackyliang/homebridge-adt-pulse?style=flat-square&logo=googledocs&logoColor=%23ffffff&color=%2348a56a)](https://github.com/mrjackyliang/homebridge-adt-pulse/blob/main/LICENSE)
@@ -71,7 +66,8 @@ This plugin can expose these devices (in read-only mode) based on your configura
7166
6. `heat` - Heat (Rate-of-Rise) Detector
7267
7. `motion` - Motion Sensor __::__ Motion Sensor (Notable Events Only)
7368
8. `shock` - Shock Sensor
74-
9. `temperature` - Temperature Sensor
69+
9. `supervisory` - System/Supervisory
70+
10. `temperature` - Temperature Sensor
7571

7672
Due to implementation complexity and platform instability, all Z-Wave accessories connected to the ADT Pulse gateway will not be planned for development or be supported overall. Consider purchasing the [Hubitat Hub](https://hubitat.com) for a seamless setup experience, or read about the [Home Assistant Z-Wave](https://www.home-assistant.io/integrations/zwave_js/) integration.
7773

@@ -162,6 +158,14 @@ Consumers would enable debug mode, but forget to also enable Homebridge debug mo
162158

163159
To improve this, debug mode is now activated __ONLY when debug mode is enabled on Homebridge__ itself. This approach promotes isolation (logs can be separated for each bridge) and helps enhance the troubleshooting experience in case any issues arise.
164160

161+
## Temperature Sensors in HAP Protocol
162+
The Temperature Sensor (`temperature`) functions differently compared to standard contact sensors when it comes to processing sensor statuses.
163+
164+
In contrast to typical contact sensors that convey open or closed status, the temperature sensor exposed in the Home app (utilizing the HAP protocol) operates with temperature values. To accommodate this difference, the accessory converts these binary states into corresponding temperature degrees:
165+
- Cold temperatures are represented as __0°C__.
166+
- Normal temperatures are indicated as __20°C__.
167+
- Hot temperatures are reflected as __40°C__.
168+
165169
## Support for HOOBS
166170
Please note that HOOBS may use an outdated configuration UI. This issue that was reported by me, remains unresolved by the HOOBS team. For additional details, refer to this [GitHub issue](https://github.com/hoobs-org/HOOBS/issues/1873).
167171

config.schema.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,12 @@
205205
"shock"
206206
]
207207
},
208+
{
209+
"title": "System/Supervisory",
210+
"enum": [
211+
"supervisory"
212+
]
213+
},
208214
{
209215
"title": "Temperature Sensor",
210216
"enum": [

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "homebridge-adt-pulse",
33
"displayName": "Homebridge ADT Pulse",
4-
"version": "3.0.0-beta.23",
4+
"version": "3.0.0-beta.24",
55
"description": "Homebridge security system platform for ADT Pulse",
66
"main": "./build/src/index.js",
77
"exports": "./build/src/index.js",

0 commit comments

Comments
 (0)