mrjackyliang / homebridge-adt-pulse

Homebridge security system platform for ADT Pulse
MIT License
36 stars 7 forks source link

Registered Sensors do not show changes in state #126

Closed hapinstance closed 9 months ago

hapinstance commented 9 months ago

Describe the bug:

all sensors are registered and cached in the system. However, when a sensor changes state (door opens, window opens, motion is detected). It does not show as changed in the accessories panel, or in the log file.

Steps to reproduce the bug:

Unknown

Expected behavior:

The AD portal is registering the change, and the new pulse plugin does connect to the system. While in debug mode, I see it connecting and refreshing the status of the system.

The Apple device you are using:

Homebridge information:

Find these 4 lines in the beginning of the logs, then replace the text inside the grave accents:

2/26/2023, 7:24:00 PMADT Pulse BridgeADT PulseDEBUG INFO: api.ts / ADTPulse.performSyncCheck() - Request path ➜ /myhome/27.0.0-140/Ajax/SyncCheckServ?t=1703636639902 ...
12/26/2023, 7:24:00 PMADT Pulse BridgeADT PulseDEBUG INFO: api.ts / ADTPulse.performSyncCheck() - Request path valid ➜ true ...
12/26/2023, 7:24:00 PMADT Pulse BridgeADT PulseDEBUG SUCCESS: api.ts / ADTPulse.performSyncCheck() - Successfully performed a sync check from "https://portal.adtpulse.com" ...
12/26/2023, 7:24:05 PMADT Pulse Bridge starting
12/26/2023, 7:24:11 PMADT Pulse BridgeERRORThe plugin "homebridge-adt-pulse" requires a Homebridge version of 1.7.0 which does not satisfy the current Homebridge version of 1.6.0. You may need to update this plugin (or Homebridge) to a newer version. You may face unexpected issues or stability problems running this plugin.
12/26/2023, 7:24:15 PMADT Pulse BridgeLoaded plugin 'homebridge-adt-pulse'
12/26/2023, 7:24:15 PMADT Pulse BridgeLoading 2 platforms...

Logs related to this bug:

Attempt to locate the bug in the logs, then replace SAMPLE TEXT inside the grave accents:

12/26/2023, 7:23:13 PMADT Pulse BridgeADT PulseDEBUG SUCCESS: api.ts / ADTPulse.isPortalAccessible() - Successfully checked if "https://portal.adtpulse.com" is accessible ...
12/26/2023, 7:23:13 PMADT Pulse BridgeADT PulseDEBUG SUCCESS: api.ts / ADTPulse.isPortalAccessible() - Successfully checked if "https://portal.adtpulse.com" is accessible ...
12/26/2023, 7:23:13 PMADT Pulse BridgeADT PulseDEBUG SUCCESS: api.ts / ADTPulse.isPortalAccessible() - Successfully checked if "https://portal.adtpulse.com" is accessible ...
12/26/2023, 7:23:13 PMADT Pulse BridgeADT PulseDEBUG SUCCESS: api.ts / ADTPulse.isPortalAccessible() - Successfully checked if "https://portal.adtpulse.com" is accessible ...
12/26/2023, 7:23:13 PMADT Pulse BridgeADT PulseDEBUG SUCCESS: api.ts / ADTPulse.isPortalAccessible() - Successfully checked if "https://portal.adtpulse.com" is accessible ...
12/26/2023, 7:23:13 PMADT Pulse BridgeADT PulseDEBUG INFO: api.ts / ADTPulse.getPanelInformation() - Request path ➜ /myhome/27.0.0-140/system/device.jsp?id=1 ...
12/26/2023, 7:23:13 PMADT Pulse BridgeADT PulseDEBUG INFO: api.ts / ADTPulse.getPanelInformation() - Request path valid ➜ true ...
12/26/2023, 7:23:15 PMADT Pulse BridgeADT PulseDEBUG SUCCESS: api.ts / ADTPulse.getPanelInformation() - Successfully retrieved panel information from "https://portal.adtpulse.com" ...
12/26/2023, 7:23:15 PMADT Pulse BridgeADT PulseDEBUG INFO: api.ts / ADTPulse.getSensorsInformation() - Request path ➜ /myhome/27.0.0-140/system/system.jsp ...
12/26/2023, 7:23:15 PMADT Pulse BridgeADT PulseDEBUG INFO: api.ts / ADTPulse.getSensorsInformation() - Request path valid ➜ true ...
12/26/2023, 7:23:17 PMADT Pulse BridgeADT PulseDEBUG SUCCESS: api.ts / ADTPulse.getSensorsInformation() - Successfully retrieved sensors information from "https://portal.adtpulse.com" ...
12/26/2023, 7:23:17 PMADT Pulse BridgeADT PulseDEBUG INFO: api.ts / ADTPulse.getGatewayInformation() - Request path ➜ /myhome/27.0.0-140/system/gateway.jsp ...
12/26/2023, 7:23:17 PMADT Pulse BridgeADT PulseDEBUG INFO: api.ts / ADTPulse.getGatewayInformation() - Request path valid ➜ true ...
mrjackyliang commented 9 months ago

I am aware of this issue, will work on it soon.

mrjackyliang commented 9 months ago

Located the bug, a release should be released by tonight or tomorrow.

mrjackyliang commented 8 months ago

Related to #124

github-actions[bot] commented 7 months ago

Due to inactivity, this issue will be locked and marked as resolved. If you have any further questions or inquiries, please feel free to open a new issue.