alarmdotcom: Unable to setup system ID error

Logger: pyalarmdotcomajax.pyalarmdotcomajax
Source: /usr/local/lib/python3.8/site-packages/pyalarmdotcomajax/pyalarmdotcomajax.py:148
First occurred: 4:52:14 PM (1 occurrences)
Last logged: 4:52:14 PM

Unable to extract system id from Alarm.com

I am assuming that is also what is causing the error below. Issue popped up in the last 24 hours.

Source: custom_components/alarmdotcomajax/alarm_control_panel.py:133
Integration: Alarm control panel (documentation, issues)
First occurred: 4:52:14 PM (1 occurrences)
Last logged: 4:52:14 PM

Error while setting up alarmdotcomajax platform for alarm_control_panel
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 200, in _async_setup_platform
    await asyncio.shield(task)
  File "/config/custom_components/alarmdotcomajax/alarm_control_panel.py", line 85, in async_setup_platform
    await alarmdotcom.async_login()
  File "/config/custom_components/alarmdotcomajax/alarm_control_panel.py", line 133, in async_login
    await self._alarm.async_login()
  File "/usr/local/lib/python3.8/site-packages/pyalarmdotcomajax/pyalarmdotcomajax.py", line 143, in async_login
    self._systemid = json["data"][0]["id"]
KeyError: 'data'```

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (1 by maintainers)

Most upvoted comments

@uvjustin @brushj I enabled SMS-based 2FA in the ADC app, logged into my portal through the browser, entered the SMS code, trusted my browser, and reconfigured ADC in my configuration.yaml file. Seems to be working now.

So I guess since I am being prompted for it in the app now it is required in order for me to use the add-on. I set it up and went through the steps and it is working again.