matthillman / homebridge-tc-2-0

Homebridge Plugin for TotalConnect Security Panel
Apache License 2.0
3 stars 6 forks source link

New Version Issue: Cannot read properties of undefined (reading 'Partitions') #5

Open MaverickC2 opened 2 years ago

MaverickC2 commented 2 years ago

When Homebridge starts, it always shows the alarm as armed for HOME. Throws this error:

[TotalConnect] [getStatus] TypeError: Cannot read properties of undefined (reading 'Partitions')

MaverickC2 commented 2 years ago

This error comes up as well and then homebridge restarts:

TypeError: Cannot read properties of undefined (reading 'Partitions') at TCApi.getStatus (/usr/local/lib/node_modules/homebridge-tc-security-panel/src/tc.v2.ts:263:63) at processTicksAndRejections (node:internal/process/task_queues:96:5) at Timeout._onTimeout (/usr/local/lib/node_modules/homebridge-tc-security-panel/src/tcAccessory.ts:56:22

mzaki83 commented 2 years ago

Same issue here.

njmike73 commented 2 years ago

I have this issue as well!

upcsymbol commented 1 year ago

[12/28/2022, 1:38:09 PM] [TotalConnect] [getStatus] TypeError: Cannot read properties of undefined (reading 'Partitions')

tc.v2.js //response = await this.apiGET(${await this.getLocation()}/partitions/status); response = await this.apiGET(${await this.getLocation()}/partitions/fullStatus);