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

trying to setup #89

Closed decisionspliter closed 2 years ago

decisionspliter commented 3 years ago

trying to setup the plugin for the first time and getting these two errors.

loginSession Error: POST https://www.alarm.com/web/Default.aspx failed: No afg cookie: ASP.NET_SessionId=y05vg5djlzh52tlysuv1xi0w; cookieTest=1; twoFactorAuthenticationId=null; IsFromNewSite=1; fromASP=; IsFromSeamlessLogin=; login=; ST=; adc_e_loggedInAsSubscriber=1; BIGipServer~AlarmApplication~Alarm_WEBADC_Alarm_HTTPS=!iTIlz+XoN3IChxHqeBzyWB1GQQaaSrHPAiKRiGTiZ4oAtgi5PJ9F8Mgq+dMr/6/n/ME9CGtnj+dTskw=

refreshDevices Error: Cannot read property 'map' of undefined

doctorjz commented 2 years ago

Having the exact same problem.

OvernightSuccess123 commented 2 years ago

Same. Fresh install. Disabled 2 factor while testing to make sure it is not part of the problem.

snapst3r commented 2 years ago

Also encountered same map error with 2FA disabled.

Back to trying it enabled and/or approving log in as trusted device via web which results in a 404 error on the refresh GET. Thinking there is a new device step going on here on Alarm-dotcom's side as this account and hardware worked on a prior homebridge install.

anyone else resolve it?

ColemanRodriguez commented 2 years ago

I have never had 2FA on my account and I started getting the exact same error. I thought maybe it was the sign in prompt causing the issue. So I set up the 2FA and the issue persisted. No workaround I can see.

efloyd commented 2 years ago

Same for me. I used the WrapAPI version at my old house. Just installed a new system at my new house, set up this plugin, and I can’t get it to work with either 2FA on or off. I hope someone can get resolve the issue…I went with this system and Alarm.com because I of this plugin!

efloyd commented 2 years ago

I’m not exactly sure if anything changed, but I just noticed that my alarm.com system is now showing up in Apple Home. I didn’t change anything.

chase9 commented 2 years ago

This issue is normally caused by the plugin not being able to pull the system state if MFA is not setup properly. At this point, I recommend everyone turns on MFA since alarm.com seems to be forcing it for people. After that please make sure you follow the steps here to make sure MFA is setup with the plugin and report back.

chase9 commented 2 years ago

Also, to be 100% transparent, I consider this plugin to be permanently beta quality with no guarantee of support. do not rely on this plugin for anything that involves you or your family's safety!

OvernightSuccess123 commented 2 years ago

Thanks. Gonna give that a try.

On Wed, Feb 9, 2022 at 4:00 PM Chase Lau @.***> wrote:

This issue is normally caused by the plugin not being able to pull the system state if MFA is not setup properly. At this point, I recommend everyone turns on MFA since alarm.com seems to be forcing it for people. After that please make sure you follow the steps here https://github.com/node-alarm-dot-com/homebridge-node-alarm-dot-com/wiki/Two-Factor-Authentication-Support to make sure MFA is setup with the plugin and report back.

— Reply to this email directly, view it on GitHub https://github.com/node-alarm-dot-com/homebridge-node-alarm-dot-com/issues/89#issuecomment-1034141693, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQRHRYACDRHUYDX2KXX3K4DU2LBULANCNFSM5FFCEEKQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: <node-alarm-dot-com/homebridge-node-alarm-dot-com/issues/89/1034141693@ github.com>

-- Best regards,

Miguel Perez

whendric commented 2 years ago

Trying to install this plugin and getting the following errors;

COmmand for install: pi@homebridge:~ $ npm install -g prsng/homebridge-node-telussecurity-dot-com

Errors: npm ERR! code ENOVERSIONS npm ERR! No versions available for node-telussecurity-dot-com

Any ideas?

chase9 commented 2 years ago

@whendric It looks like you're trying to install a different plugin which does not/no longer exists.

docgould3 commented 2 years ago

Good afternoon. I am a Homebridge newbie and a programming novice. I seem to have the alarm.com bridge installed and running on my HOOBS device. But every time I try to add it to Apple Home, it says "accessory not found." I've tried restarting the bridge, reinstalling the bridge, restarting Home, etc. Any suggestions?