Giter VIP home page Giter VIP logo

Comments (9)

cecilkootz avatar cecilkootz commented on September 21, 2024

I have the same issue. When looking at the pyalarmdotcomajax source and trying a few options it appears the login works as I get a 200 response but when fetching availableSystemItems I get 403 Forbidden. Perhaps Alarm.com has started blocking these requests?

from alarmdotcom.

tcm0116 avatar tcm0116 commented on September 21, 2024

I'm having a similar issues. Here's my log:

This error originated from a custom integration.

Logger: homeassistant.helpers.entity
Source: custom_components/alarmdotcom/alarm_control_panel.py:160
Integration: alarmdotcom (documentation)
First occurred: August 3, 2021, 3:35:28 PM (2715 occurrences)
Last logged: 10:29:34 PM

Update for alarm_control_panel.alarm_com fails
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/pyalarmdotcomajax/pyalarmdotcomajax.py", line 222, in async_update
    self.sensor_status = json["data"]["attributes"]["needsClearIssuesPrompt"]
KeyError: 'data'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 401, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 617, in async_device_update
    await task
  File "/config/custom_components/alarmdotcom/alarm_control_panel.py", line 160, in async_update
    await self._alarm.async_update()
  File "/usr/local/lib/python3.9/site-packages/pyalarmdotcomajax/pyalarmdotcomajax.py", line 242, in async_update
    await self.async_update()
  File "/usr/local/lib/python3.9/site-packages/pyalarmdotcomajax/pyalarmdotcomajax.py", line 212, in async_update
    await self.async_login()
  File "/usr/local/lib/python3.9/site-packages/pyalarmdotcomajax/pyalarmdotcomajax.py", line 206, in async_login
    return await self._async_get_system_info()
  File "/usr/local/lib/python3.9/site-packages/pyalarmdotcomajax/pyalarmdotcomajax.py", line 166, in _async_get_system_info
    self._systemid = json["data"][0]["id"]
KeyError: 'data'

from alarmdotcom.

bkr1969 avatar bkr1969 commented on September 21, 2024

OK...Just as suddenly as it stopped working last week, it's back up again now.

from alarmdotcom.

tcm0116 avatar tcm0116 commented on September 21, 2024

It is working for me again, as well.

from alarmdotcom.

bkr1969 avatar bkr1969 commented on September 21, 2024

Glad it's working. Mostly commenting just to see if I can because I cannot on another post

from alarmdotcom.

cecilkootz avatar cecilkootz commented on September 21, 2024

I am still getting the error. Removed, reset, added, 2fa, etc and no luck fixed

from alarmdotcom.

ichrispod avatar ichrispod commented on September 21, 2024

Hi - getting some odd behavior

I added the integration and I see that it connected and pulled a list of devices and such so I know it's able to log in and such.

When I click arm home or arm away -- nothing happens. If I go into the alarm.com app and arm the system, a few seconds later I see the armed status and then I can click disarm and it works.

Logger: pyalarmdotcomajax.pyalarmdotcomajax
Source: /usr/local/lib/python3.9/site-packages/pyalarmdotcomajax/pyalarmdotcomajax.py:374
First occurred: 8:33:32 PM (6 occurrences)
Last logged: 8:38:57 PM

Arm+Stay failed with HTTP code 422
Arm+Away failed with HTTP code 422

Logger: pyalarmdotcomajax.pyalarmdotcomajax
Source: /usr/local/lib/python3.9/site-packages/pyalarmdotcomajax/pyalarmdotcomajax.py:375
First occurred: 8:33:32 PM (6 occurrences)
Last logged: 8:38:57 PM

Arming parameters: force_bypass = True, no_entry_delay = True, silent_arming = False
Arming parameters: force_bypass = True, no_entry_delay = False, silent_arming = False

Thoughts?

from alarmdotcom.

ichrispod avatar ichrispod commented on September 21, 2024

Update: removed the force_bypass and no_entry_delay and it works!

from alarmdotcom.

uvjustin avatar uvjustin commented on September 21, 2024

Sorry, no idea what happened, but glad it got resolved.

from alarmdotcom.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.