NorthernMan54 / homebridge-alexa

Expose your homebridge controlled devices to Amazon Alexa.
https://www.homebridge.ca
446 stars 77 forks source link

Restarting Homebridge Triggers Alexa Doorbell Notification #441

Closed SMJ0724 closed 3 years ago

SMJ0724 commented 3 years ago

Everytime I restart Homebridge, I receive a doorbell notification on all of my Alexa devices. I do have a doorbell configured to issue Alexa notifications, and it works correctly when the doorbell is pressed, but can get annoying when installing plugin updates, or downright terrifying when Homebridge restarts automatically.

Nothing seems to be placed in the log when this happens, and it occurs almost immediately when shutting down the Homebridge service in order to complete a restart.

NorthernMan54 commented 3 years ago

I have the same issue, but I find it is the restart of homebridge-camera-ffmpeg that triggers it.

How is your doorbell integrated? Ie which plugin

On Apr 9, 2021, at 8:25 AM, SMJ0724 @.***> wrote:

 Everytime I restart Homebridge, I receive a doorbell notification on all of my Alexa devices. I do have a doorbell configured to issue Alexa notifications, and it works correctly when the doorbell is pressed, but can get annoying when installing plugin updates, or downright terrifying when Homebridge restarts automatically.

Nothing seems to be placed in the log when this happens, and it occurs almost immediately when shutting down the Homebridge service in order to complete a restart.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

SMJ0724 commented 3 years ago

I'm using Homebridge Unifi Protect

NorthernMan54 commented 3 years ago

If you restart that plugin, does it trigger ?

SMJ0724 commented 3 years ago

I'm unsure how to restart just one specific plugin. When I run subo hb-service restart, teh doorbell notification happens as soon as Got SIGTERM, shutting down Homebridge... appears in the log.

NorthernMan54 commented 3 years ago

In my setup the Alexa plugin runs on a different raspberrypi than the camera plugin

I’m going to assume this is the same issue as I’m experiencing

Venger2005 commented 3 years ago

In my setup the Alexa plugin runs on a different raspberrypi than the camera plugin

I’m going to assume this is the same issue as I’m experiencing

I had this exact same issue too and yes I was running your plug-in on a different pi to the one running the doorbell plug-in.

NorthernMan54 commented 3 years ago

Just to confirm everyone is seeing the same issue that the doorbell is being triggered when the camera-ffmpeg plugin is restarted?

Venger2005 commented 3 years ago

Just to confirm everyone is seeing the same issue that the doorbell is being triggered when the camera-ffmpeg plugin is restarted?

I was until I started using the native Alexa integration to trigger doorbell notifications on my echos rather than doing it via homebridge as I got fed up of phantom notifications which were no fun when they would occur at 3am.

NorthernMan54 commented 3 years ago

Version v0.5.39 should fully resolve this issue