alarmdotcom icon indicating copy to clipboard operation
alarmdotcom copied to clipboard

Back to not updating status of alarm panel

Open bkr1969 opened this issue 3 years ago • 24 comments

Updated to 3.0.2 yesterday and my panel status does not update nor is it arming/disarming even after a config entry reset. Seems to be an issue with the .2 as downgrading to 3.0.0 works.

bkr1969 avatar Jun 01 '23 14:06 bkr1969

Unable to find referenced entities alarm_control_panel.panel or it is/they are currently not available
08:23:05 – (WARNING) helpers/service.py - message first occurred at 08:18:17 and shows up 17 times
Error unloading entry Brinks Home™:[email protected] for alarmdotcom
08:21:28 – (ERROR) Alarm.com (custom integration)
Error unloading entry Brinks Home™:[email protected] for alarm_control_panel
08:15:00 – (ERROR) Alarm.com (custom integration) - message first occurred at 08:15:00 and shows up 3 times

bkr1969 avatar Jun 01 '23 14:06 bkr1969

v3.0.3 addresses an issue with alarm control panel states. Please try that.

elahd avatar Jun 01 '23 19:06 elahd

OK. That seemed to fix it. 3.0.0 worked for a bit but then stopped again. Hopefully this fixes everything moving forward. Thanks!

bkr1969 avatar Jun 01 '23 21:06 bkr1969

I just tried the 3.0.3 version and the panel looks like is working normal again but the locks are not updating. Is there anything I can do to help? Thanks!

lbreggi avatar Jun 01 '23 22:06 lbreggi

I am seeing similar issues in 3.0.3. Doors now take up to 2 minutes to change Open/Close state. I tried on only one door at time and left open for over 3 minutes per release notes about same door not updating if multiple events in that timeframe.

sspaul1976 avatar Jun 02 '23 13:06 sspaul1976

Does the app update any faster than the integration?

elahd avatar Jun 02 '23 15:06 elahd

Actually, I just checked that. The delay is in the app as well, but they are synced up when it does change. So issue is on the alarm.com side.

On Fri, Jun 2, 2023, 11:09 Elahd Bar-Shai @.***> wrote:

Does the app update any faster than the integration?

— Reply to this email directly, view it on GitHub https://github.com/pyalarmdotcom/alarmdotcom/issues/289#issuecomment-1573890191, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPFFBR66ZAEFZUQLGWJ4YDXJH6ZLANCNFSM6AAAAAAYXAE7XM . You are receiving this because you commented.Message ID: @.***>

sspaul1976 avatar Jun 02 '23 18:06 sspaul1976

Doesn't make sense that it's an alarm.com issue. Prior iterations updated immediately (i.e. running 2.2.0 last week), and after updating to 3.0.3, does the same.

bkr1969 avatar Jun 02 '23 19:06 bkr1969

I can confirm that changes are real time reflected inside alarm.com app but not at hass. Also I tried to issue the lock / unlock command inside hass, it works, it is reflected at alarm.com app but the status inside hass takes around 10 minutes to get updated. Thanks!

lbreggi avatar Jun 02 '23 21:06 lbreggi

These are two separate issues. Some alarm panels on some providers take a long time to update. If, like @sspaul1976, you're seeing the app and hass update at the same time, then you're running into a limitation on the Alarm.com side. If both platforms are out of sync, then you're running into an issue with the integration.

On Fri, Jun 2, 2023 at 5:12 PM lbreggi @.***> wrote:

I can confirm that changes are real time reflected inside alarm.com app but not at hass. Also I tried to issue the lock / unlock command inside hass, it works, it is reflected at alarm.com app but the status inside hass takes around 10 minutes to get updated. Thanks!

— Reply to this email directly, view it on GitHub https://github.com/pyalarmdotcom/alarmdotcom/issues/289#issuecomment-1574321673, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADR4HC7H5BF3L2LUAI7EX3XJJJLXANCNFSM6AAAAAAYXAE7XM . You are receiving this because you commented.Message ID: @.***>

elahd avatar Jun 03 '23 01:06 elahd

In my situation, I can confirm that the alarm.com app reflects updates like real time, and it was like that on the 2.x version of the HASS integration, since I moved to 3.X I have the delays. Thanks!

lbreggi avatar Jun 03 '23 02:06 lbreggi

I can confirm that my panel updates immediately, but my alarm. Com app takes minutes to update sensors. If I arm or disarm it's immediate, but I was troubleshooting a window sensor yesterday and noticed the app takes minutes to update the status of the sensor. So I'm not sure it's this integration that's the issue I think it's the alarm. Com infrastructure.

This is a change though. I've used the app in the past to troubleshoot sensors and it was almost immediately evident when a sensor was triggered. Yesterday, big delay, wasn't able to use the app in this way due to whatever change was made.

thomasshawn avatar Jun 03 '23 10:06 thomasshawn

Apologies, but is there a way to roll back to 2.x version and keep it without updates everything was working amazing for me on 2.x version, and this integration was my main goal moving from Smarthings platform. Thanks!

lbreggi avatar Jun 03 '23 19:06 lbreggi

I am having the same lack of updates in HA/HaaS as well. I lowered the update time to 60 seconds, but that doesn't seem to help. FWIW, I am also using an alarm.com Homebridge plug-in and do not have those delays.

mbhforum avatar Jun 04 '23 20:06 mbhforum

@mbhforum @thomasshawn Do you see the same delays when using the adc stream function? See streaming live events at https://github.com/pyalarmdotcom/alarmdotcom/wiki/How-to-Test-&-Debug#install-the-adc-command-line-tool.

elahd avatar Jun 05 '23 04:06 elahd

@mbhforum @thomasshawn Do you see the same delays when using the adc stream function? See streaming live events at https://github.com/pyalarmdotcom/alarmdotcom/wiki/How-to-Test-&-Debug#install-the-adc-command-line-tool.

I have not tried. To be clear, I was not pointing out any significant delays in your integration with Home Assistant. My point was to say, in my case, any delays appeared to be coming from ADC, not from your integration. Standing next to my keypad, if I open the door, my keypad immediately responds. My ADC app however can take many minutes to show the change in the events tab of the app. The zone doesn't appear to matter. There is a significant delay in the passive receipt of the information. If I arm/disarm from the app, it is virtually instantaneous.

So I was pointing out that ADC own app showed a significant delay, so I didn't know if there was any point chasing a "problem" in your integration if ADC own app was doing the same thing. if I don't know if that helps.

thomasshawn avatar Jun 05 '23 10:06 thomasshawn

@mbhforum @thomasshawn Do you see the same delays when using the adc stream function? See streaming live events at https://github.com/pyalarmdotcom/alarmdotcom/wiki/How-to-Test-&-Debug#install-the-adc-command-line-tool.

My testing:

4:07pm ET - Changed alarm to "Arm Home" from HA Dashboard - It immediately was picked up by the ADC. Logs below. The issue is, my dashboard doesn't reflect the accurate state, even after doing a browser refresh:

image

image

DEBUG:pyalarmdotcomajax.websockets.client: ====================[ WEBSOCKET MESSAGE: BEGIN ]==================== { "EventDateUtc": "2023-06-05T20:07:56.044Z", "UnitId": 104678462, "DeviceId": 127, "EventType": 9, "EventValue": 0.0, "CorrelatedId": null, "QstringForExtraData": "lid=17403117&ew=&ew_contact_user_type=-1", "DeviceType": -1 } DEBUG:pyalarmdotcomajax.websockets.messages:WebSocket Message Type: Event INFO:pyalarmdotcomajax.devices:pyalarmdotcomajax.devices Got async update for SYSTEM (104678462-127) with new state: DeviceState.ARMED_STAY. DEBUG:pyalarmdotcomajax.websockets.client: ====================[ WEBSOCKET MESSAGE: END ]====================

mbhforum avatar Jun 05 '23 20:06 mbhforum

Same here - no updates in UI - interactions are immediate.

steveomg avatar Jun 06 '23 21:06 steveomg

I am back to seeing sync issues in HA. I have a door that's been closed for 10 minutes. Shows closed in ADC app, open in HA.

On Tue, Jun 6, 2023, 17:17 steveomg @.***> wrote:

Same here - no updates in UI.

— Reply to this email directly, view it on GitHub https://github.com/pyalarmdotcom/alarmdotcom/issues/289#issuecomment-1579464758, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPFFBRSZ75FH5RWB5F7HQDXJ6NAPANCNFSM6AAAAAAYXAE7XM . You are receiving this because you were mentioned.Message ID: @.***>

sspaul1976 avatar Jun 07 '23 02:06 sspaul1976

Test out v3.0.4-beta.2.

elahd avatar Jun 08 '23 04:06 elahd