Skip to content

Commit

Permalink
Support for 20.0.0-221
Browse files Browse the repository at this point in the history
ADDED
- [Main plugin] Support for web portal version "20.0.0-221".

REMOVED
- [Main plugin] Support for web portal version "18.0.0-78".
  • Loading branch information
mrjackyliang committed Aug 1, 2020
1 parent f446ae4 commit 6803c1c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ __NOTE 2:__ Once reset is complete, remember to set the `resetAll` setting back
The script provides an active connection to the ADT Pulse portal. Here is a list of must-knows, just in case you might want to debug (or improve) the plugin:

1. Device and zone statuses will be fetched every __3 seconds__. If logins have failed more than 2 times, portal sync will pause for 10 minutes.
2. Supported versions are `18.0.0-78` and `19.0.0-89`. If this plugin does not support either version, a warning will appear in the logs. Please [submit an issue](https://github.com/mrjackyliang/homebridge-adt-pulse/issues/new/choose) to let me know!
2. Supported versions are `19.0.0-89` and `20.0.0-221`. If this plugin does not support either version, a warning will appear in the logs. Please [submit an issue](https://github.com/mrjackyliang/homebridge-adt-pulse/issues/new/choose) to let me know!

## Credits and Appreciation
If you would like to show your appreciation for its continued development, you can optionally become my supporter on [GitHub Sponsors](https://github.com/sponsors/mrjackyliang) or [Patreon](https://www.patreon.com/mrjackyliang)!
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ ADTPulsePlatform.prototype.portalSync = function portalSync() {
.login()
.then((response) => {
const version = _.get(response, 'info.version');
const supportedVersion = ['18.0.0-78', '19.0.0-89'];
const supportedVersion = ['19.0.0-89', '20.0.0-221'];

if (version !== undefined && !supportedVersion.includes(version) && version !== this.sessionVersion) {
this.logMessage(`Web Portal version ${version} detected. Test plugin to ensure system compatibility...`, 20);
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": "1.8.11",
"version": "1.8.12",
"description": "Homebridge security system platform for ADT Pulse",
"main": "index.js",
"private": false,
Expand Down

0 comments on commit 6803c1c

Please sign in to comment.