#Unifi Doorbell rings at every update.... and more.

1 messages · Page 1 of 1 (latest)

real dirge
#

I've got Unifi Protect integrated into Home Assistant.
Whenever someone rings the doorbell, my Sonos speakers play a chime.

Unifi Protect automatically checks for updates saturday night at midnight and if it finds one, it updates itself to the latest version.

Whenever this happens. My Sonos speakers act as if there is a ring.... which scares the ^^^^ out of everyone sleeping. The doorbell outside doesnt chime when this happens so its definitely the automation being run involuntary.

I've now temporarily disabled the auto update in Protect but would like to have this ON.

Any way to remedy this?

lone kindle
# real dirge I've got Unifi Protect integrated into Home Assistant. Whenever someone rings t...

this is an issue when a device goes unavailable and returns its event entity "changes" and it repeats its most recent event.

this is a known issue with the event system.

its been highlighted HERE

you can work around by templating a condition on your automation which checks to see if the event that triggered it is "stale"

create a template condition and put this in:
{{ (now() - as_datetime(states('event.INSERT_YOUR_ENTITY_HERE')) ) < timedelta(seconds=10) }}

changing the entity to match the relevant event entity

that way if a event is older than 10 seconds then it gets ignored.

#

you are not the first person that has had this issue with the doorbell either 😛

real dirge