node-alarm-dot-com / homebridge-node-alarm-dot-com

Alarm.com plugin for Homebridge using Node.js
MIT License
58 stars 23 forks source link

refreshDevices Error #91

Closed kaganae closed 2 years ago

kaganae commented 2 years ago

First off, everything seems to be working ok for me, but not sure if this will cause untended issues. That said, every 10 minutes (polling interval set to 300), I get the following error:

[Security System] refreshDevices Error: GET https://www.alarm.com/web/api/systems/systems/6660189 failed: [object Object]

[12/7/2021, 6:55:03 AM] [Security System] refreshDevices Error: GET https://www.alarm.com/web/api/systems/systems/6660189 failed: [object Object] [12/7/2021, 6:55:03 AM] [Security System] Refreshing session authentication. [12/7/2021, 7:00:09 AM] [Security System] Logging into Alarm.com as xxxxxxx@gmail.com [12/7/2021, 7:00:10 AM] [Security System] Logged into Alarm.com as xxxxxxx@gmail.com [12/7/2021, 7:00:10 AM] [Security System] Updating sensor FAMILY ROOM MOTION (Occupancy Sensor) (96622429-31), state=1, prev=0 [12/7/2021, 7:05:21 AM] [Security System] refreshDevices Error: GET https://www.alarm.com/web/api/systems/systems/6660189 failed: [object Object] [12/7/2021, 7:05:21 AM] [Security System] Refreshing session authentication. [12/7/2021, 7:10:49 AM] [Security System] Logging into Alarm.com as xxxxxxx@gmail.com [12/7/2021, 7:10:50 AM] [Security System] Logged into Alarm.com as xxxxxxx@gmail.com [12/7/2021, 7:16:17 AM] [Security System] refreshDevices Error: GET https://www.alarm.com/web/api/systems/systems/6660189 failed: [object Object] [12/7/2021, 7:16:17 AM] [Security System] Refreshing session authentication. [12/7/2021, 7:21:45 AM] [Security System] Logging into Alarm.com as xxxxxxx@gmail.com [12/7/2021, 7:21:46 AM] [Security System] Logged into Alarm.com as xxxxxxx@gmail.com [12/7/2021, 7:26:51 AM] [Security System] refreshDevices Error: GET https://www.alarm.com/web/api/systems/systems/6660189 failed: [object Object] [12/7/2021, 7:26:51 AM] [Security System] Refreshing session authentication. [12/7/2021, 7:32:18 AM] [Security System] Logging into Alarm.com as xxxxxxx@gmail.com [12/7/2021, 7:32:18 AM] [Security System] Logged into Alarm.com as xxxxxxx@gmail.com [12/7/2021, 7:37:46 AM] [Security System] refreshDevices Error: GET https://www.alarm.com/web/api/systems/systems/6660189 failed: [object Object] [12/7/2021, 7:37:46 AM] [Security System] Refreshing session authentication. [12/7/2021, 7:42:56 AM] [Security System] Logging into Alarm.com as xxxxxxx@gmail.com [12/7/2021, 7:42:57 AM] [Security System] Logged into Alarm.com as xxxxxxx@gmail.com [12/7/2021, 7:48:07 AM] [Security System] refreshDevices Error: GET https://www.alarm.com/web/api/systems/systems/6660189 failed: [object Object] [12/7/2021, 7:48:07 AM] [Security System] Refreshing session authentication.

This has been happening for several weeks (at least). Again, don't seem to be having any issues, but maybe is indicative of an underlying problem.

Homebridge System (please complete the following information):

inprodwetest commented 2 years ago

Same here. Effect is that my motion detector (seen as occupancy sensor) does not refresh and homekit automations are PITA.

Node.js Version: 16.13.1 NPM Version: 8.3.0 Homebridge Version: 1.3.8 homebridge-node-alarm-dot-com v1.8.0 Operating System: Raspbian GNU/Linux Buster (10)

chase9 commented 2 years ago

How many devices do you have? I'm wondering if this is the same as #62

kaganae commented 2 years ago

I have 7 configured devices or a total of 30 if I should also be counting ignoredDevices.

chase9 commented 2 years ago

@kaganae There was an issue where MFA may not have been properly turned off then the user requested. I believe it was fixed in 1.8.1-beta.1. Can you confirm if you're still having issues with the latest beta?

kaganae commented 2 years ago

I haven’t been getting the issue for a while, so I believe it must be fixed in the beta. Thanks!