Skip to content

Commit

Permalink
Bug fixes and improvements
Browse files Browse the repository at this point in the history
### 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.
  • Loading branch information
mrjackyliang committed Jan 13, 2024
1 parent e174456 commit 93d538c
Show file tree
Hide file tree
Showing 15 changed files with 1,012 additions and 497 deletions.
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
ADT Pulse for Homebridge
=========================

### ⚠️ Please Install the Beta Version ⚠️
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!

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).

[![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)
[![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)
[![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)
Expand Down Expand Up @@ -71,7 +66,8 @@ This plugin can expose these devices (in read-only mode) based on your configura
6. `heat` - Heat (Rate-of-Rise) Detector
7. `motion` - Motion Sensor __::__ Motion Sensor (Notable Events Only)
8. `shock` - Shock Sensor
9. `temperature` - Temperature Sensor
9. `supervisory` - System/Supervisory
10. `temperature` - Temperature Sensor

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.

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

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.

## Temperature Sensors in HAP Protocol
The Temperature Sensor (`temperature`) functions differently compared to standard contact sensors when it comes to processing sensor statuses.

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:
- Cold temperatures are represented as __0°C__.
- Normal temperatures are indicated as __20°C__.
- Hot temperatures are reflected as __40°C__.

## Support for HOOBS
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).

Expand Down
6 changes: 6 additions & 0 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,12 @@
"shock"
]
},
{
"title": "System/Supervisory",
"enum": [
"supervisory"
]
},
{
"title": "Temperature Sensor",
"enum": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "homebridge-adt-pulse",
"displayName": "Homebridge ADT Pulse",
"version": "3.0.0-beta.23",
"version": "3.0.0-beta.24",
"description": "Homebridge security system platform for ADT Pulse",
"main": "./build/src/index.js",
"exports": "./build/src/index.js",
Expand Down
Loading

0 comments on commit 93d538c

Please sign in to comment.