hjdhjd / homebridge-doorbird

Homebridge plugin for Doorbird
Apache License 2.0
55 stars 14 forks source link

Notifications being received, but HomeKit not firing events. #10

Closed hjdhjd closed 7 years ago

hjdhjd commented 7 years ago

Hi guys,

Glad to see we've shifted to the notification API (YAY for that!). It's reliable in my experience...but here's what's happening:

[6/15/2017, 8:10:26 AM] [Doorbell Platform] DoorBird resetting doorbell [6/15/2017, 8:10:48 AM] [Doorbell Platform] HTTP Server: doorbell.html was called, sending event to homebridge. [6/15/2017, 8:10:53 AM] [Doorbell Platform] DoorBird resetting doorbell [6/15/2017, 8:11:05 AM] [Doorbell Platform] HTTP Server: doorbell.html was called, sending event to homebridge.

So...the events are being received by the HTTP server, but what isn't happening is I'm not getting a notification of the event on an iDevice. When I monitor it within the Home app...weirdly it shows that motion events were triggered with the doorbell (not the motion device...which I have disabled) -- not sure if that's a HomeKit quirk, or if something else is up there.

TLDR: Doorbird is firing events correctly and sending to the HTTP server. HTTP server doesn't seem to be properly triggering events back to HomeKit.

Thoughts?

brownad commented 7 years ago

You sure the motion sensor has "Allow Notifications" enabled post the upgrade? If you're seeing the events flow through to iOS you're pretty much there...

brownad commented 7 years ago

I have to say its been flawless lately, given you can set the relaxation too on the API its even better :)

mrhund commented 7 years ago

Hi,

one thing I noticed during testing: When sending multiple events in a short periode of time homekit stopped sending the push notifications for some minutes. After waiting a couple of minutes everything workes fine again. Can you confirm this behavior? Imho some type of flooding protection....

brownad commented 7 years ago

Possibly something on HomeKit as previously you could flood it to death

Sent from my iPhone

On 16 Jun 2017, at 12:54, mrhund notifications@github.com wrote:

Hi,

one thing I noticed during testing: When sending multiple events in a short periode of time homekit stopped sending the push notifications for some minutes. After waiting a couple of minutes everything workes fine again. Can you confirm this behavior? Imho some type of flooding protection....

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

brownad commented 7 years ago

I noticed the same looking into it

Sent from my iPhone

On 16 Jun 2017, at 12:54, mrhund notifications@github.com wrote:

Hi,

one thing I noticed during testing: When sending multiple events in a short periode of time homekit stopped sending the push notifications for some minutes. After waiting a couple of minutes everything workes fine again. Can you confirm this behavior? Imho some type of flooding protection....

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

brownad commented 7 years ago

Nothing that I can pin just yet seems another plugin was failing (harmony hub) but it's back and working now

Sent from my iPhone

On 16 Jun 2017, at 12:54, mrhund notifications@github.com wrote:

Hi,

one thing I noticed during testing: When sending multiple events in a short periode of time homekit stopped sending the push notifications for some minutes. After waiting a couple of minutes everything workes fine again. Can you confirm this behavior? Imho some type of flooding protection....

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

hjdhjd commented 7 years ago

Still not seeing it. Next I'm going to try removing Doorbird from HomeKit and adding it back in to see if that helps. Very odd.

brownad commented 7 years ago

Closing this one