Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unresponsive after upgrading to v1.9.0 #107

Closed
macguyincali opened this issue Feb 3, 2023 · 21 comments
Closed

Unresponsive after upgrading to v1.9.0 #107

macguyincali opened this issue Feb 3, 2023 · 21 comments

Comments

@macguyincali
Copy link

I've had this plugin for about a month or two and it has worked swimmingly. For some reason, last night the panel wouldn't respond via homekit and now none of the sensors appear in Homekit. The panel shows "not responding." When I look at Homebridge, the accessories are all there and the sensors appear active and reflecting their correct states. I've restarted the child node and also restarted Homebridge, but I'm still having the problem. Not sure if this is a bug request or just a dumb user messed something up. My apologies if the latter.

@chase9
Copy link
Member

chase9 commented Feb 3, 2023 via email

@MAscooby
Copy link

MAscooby commented Feb 3, 2023

That sounds a lot like what I've been seeing, but the behavior extends to all of my Homebridge plugins when this plugin is enabled. Devices show up in the Home app, but if I try to use a device in the Home app the device indicator toggles back to its prior state and becomes unusable. I had assumed it was something to do with HomeKit changes until someone on reddit figured out that rolling this plug-in back to the prior version resolved the issue.

@etonnis
Copy link

etonnis commented Feb 3, 2023

Reddit link

I was the Reddit poster (link above). My system appears to be stable after 24 hrs on v1.8.0 - with no recurring loss of communication with HomeKit. Let me know if there’s any info I can share that would be helpful in tracking down the root cause of the issue.

@chase9
Copy link
Member

chase9 commented Feb 3, 2023

Hi guys, I want to get this fixed ASAP but I need logs to diagnose the issues. You can post them here or DM me on Discord if you prefer.

@etonnis
Copy link

etonnis commented Feb 3, 2023

@chase9 My prior logs didn't capture the issue when it emerged. I'm trying to reproduce now (with log in debug mode) and will let you know if I can capture it. In both prior cases, it took between 4-12 hours after upgrade to v 1.9.0 for the issue to emerge. I've since moved the plugin to its own child bridge so not sure if it will reproduce in this environment...

@etonnis
Copy link

etonnis commented Feb 5, 2023

@chase9 I have finally had a recurrence of the HomeKit dropout of the v1.9.0 plug-in in the child bridge...trying to extract logs for past few hours and scrub them...

@kingkaden123
Copy link

kingkaden123 commented Feb 5, 2023

Having this same issue. Tried reinstalling which got me to the point where almost all sensors are showing as open/activated. The panel is showing as intended though.

Not seeing any logs about anything but the glass sensors (Which are the only ones not showing in HomeKit)
[2/5/2023, 12:01:06 AM] [Security System] Warning: Sensor Family Room Glass Break has unknown state 0 (SensorNumber)

Hope this helps, will answer any questions if necessary.

@jclarkenz
Copy link

jclarkenz commented Feb 5, 2023

1.9.0 causes my entire Homebridge device setup to be Not Responding in HomeKit. Reverting to 1.8.0 fixes the issue.

@etonnis
Copy link

etonnis commented Feb 5, 2023

I've not had any issues with 1.8.0 - only with the upgrade to 1.9.0. With the plug-in operating in a dedicated child bridge, only the Alarm.com security system is now dropping out (after 4-12 hrs of operating ok).

@chase9 My log seems to be truncated to a max 2 hr length - and I keep missing capture of the issue. If you contact me directly, you might be able to help me with the right HB settings to capture the right log at the right time to help debug the issue. I can be reached at: varnish_decoy.0d [at] icloud.com.

@MAscooby
Copy link

MAscooby commented Feb 6, 2023

Not seeing any logs about anything but the glass sensors (Which are the only ones not showing in HomeKit) [2/5/2023, 12:01:06 AM] [Security System] Warning: Sensor Family Room Glass Break has unknown state 0 (SensorNumber)

That may be because the glass breaks are not considered monitored devices. With FrontPoint at least there's a limit to how many "monitored" devices you can have without asking them for an increase.

@etonnis
Copy link

etonnis commented Feb 7, 2023

I've had one recurrence of 1.9.0 dropping out - but this one coincided with the v1.6.3 update to my HomePod and AppleTV software this afternoon - so not sure how relevant.

The logs (even in debug mode) all seem show nothing unusual - the periodic login to Alarm.com keeps being shown, but none of the sensors respond anymore past a certain point. Everything is still functional in Homebridge, just not in HomeKit.

One other observation - not sure if it's relevant or not - around the time of each loss of HomeKit functionality, my Ubiquiti DMP-SE has informed me of an intrusion attempt from Indonesia. (see attached) It seems more than coincidental by now, but I don't know what to make of it. image

@chase9
Copy link
Member

chase9 commented Feb 8, 2023

@kingkaden123 Do you see duplicates coming from the plugin? I'm wondering if the sensor upgrade created new accessories and the old ones are stuck in their state.

@kingkaden123
Copy link

@chase9 Sorry for the late reply. Duplicates are not showing from the plugin. All I see are all the sensors in the open states. I can screenshot from HomeKit if you need me to.

@chase9
Copy link
Member

chase9 commented Feb 10, 2023

I think I'm fine without a screenshot. Can you confirm you tried clearing your accessories cache?

Kind of at a loss here. If you want to reach out on Discord, the next steps might be to pull your full logs and take a look.

@bedobtz
Copy link

bedobtz commented Feb 10, 2023

Same exact issue here as well since iOS, HomePod and tvOS updates. I tried reverting back down to 1.80 version of plugin but didn’t help

@MAscooby
Copy link

MAscooby commented Feb 10, 2023

Same exact issue here as well since iOS, HomePod and tvOS updates. I tried reverting back down to 1.80 version of plugin but didn’t help

If you haven't already you might need to delete and reset the bridge, and then re-add it under 1.8

@kaganae
Copy link

kaganae commented Feb 13, 2023

FWIW, I had the same issue. I have been using the plug-in for several years and this just started happening after the 1.9 update. I removed the cached accessories (I noticed that I had 2 cached Panel accessories, oddly) and restarted. It seems to be working fine after that.

@majorgearhead
Copy link

majorgearhead commented Feb 13, 2023

1.9.0 causes my entire Homebridge device setup to be Not Responding in HomeKit. Reverting to 1.8.0 fixes the issue.

It did for me as well but I found a fix. I changed the mDNS responder on Homebridge to Ciao, removed the accessory cache, restarted homebridge, and restarted my UniFi network devices.

After that all of the duplicates were gone and all of the "Non Responding" went away. All devices are able to respond.

I did have to put devices back in rooms after this, which is a PITA, but not much else.

I chalk it up to the mDNS responder and in my case a more recent UnifiOS update. Maybe this will work for you?

@smshapiro85
Copy link

1.9.0 causes my entire Homebridge device setup to be Not Responding in HomeKit. Reverting to 1.8.0 fixes the issue.

It did for me as well but I found a fix. I changed the mDNS responder on Homebridge to Ciao, removed the accessory cache, restarted homebridge, and restarted my UniFi network devices.

After that all of the duplicates were gone and all of the "Non Responding" went away. All devices are able to respond.

I did have to put devices back in rooms after this, which is a PITA, but not much else.

I chalk it up to the mDNS responder and in my case a more recent UnifiOS update. Maybe this will work for you?

This worked for me as well after experiencing the issue after updating to 1.9, although I did not reset UniFi, just updated to Ciao and reset cached accessories. Thank you!

@robertavram-md
Copy link

Same issue here. The alarm system became unresponsive in HomeKit. I deleted the duplicate petition from the cache and restarted homepage and now the alarm system works again.

@chase9
Copy link
Member

chase9 commented Feb 26, 2023

Glad you've found a fix! I'll pin this issue so others know they may have to clear their accessories cache.

@chase9 chase9 closed this as completed Feb 26, 2023
@chase9 chase9 changed the title Plug in seems to be active, accessories visible in Homebridge, but not responding in Homekit Unresponsive after upgrading to v1.9.0 Feb 26, 2023
@chase9 chase9 pinned this issue Feb 26, 2023
@chase9 chase9 unpinned this issue Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests