UniFi Protect G4 Doorbell press detection

Posted on
Sat Feb 13, 2021 1:27 pm
Flenser offline
Posts: 53
Joined: Dec 28, 2004

UniFi Protect G4 Doorbell press detection

I'd like to have my Sonos play a doorbell chime when my doorbell is pressed.

I tried using Home Assistant in a Docker container, with some plugins, but it would work for a little bit, then throw some errors. Then I realized that Indigo should be able to do this kind of thing, since it's been running the rest of the house for the past decade. :)

I set up Homebridge and Mosquitto on my Mac, and can get Indigo to find out when a message arrives from the doorbell. I haven't been able to figure out how to key off of only the doorbell-press message though. I'm using the UniFi Protect plugin for Homebridge. The doorbell-related MQTT docs are at https://github.com/hjdhjd/homebridge-un ... cs/MQTT.md

Hmm, it looks like the screenshots went in bottom-to-top. Sorry.

I've also tried subscribing to unifi/protect/E063D*******/doorbell but I either get two notifications in Indigo, or none. I'm very confused and would appreciate any help.
Attachments
Screen Shot 2021-02-13 at 2.04.22 PM.png
Screen Shot 2021-02-13 at 2.04.22 PM.png (115.91 KiB) Viewed 1722 times
Screen Shot 2021-02-13 at 2.03.58 PM.png
Screen Shot 2021-02-13 at 2.03.58 PM.png (100.92 KiB) Viewed 1722 times
Screen Shot 2021-02-13 at 2.01.58 PM.png
Screen Shot 2021-02-13 at 2.01.58 PM.png (27.26 KiB) Viewed 1722 times

Posted on
Sat Feb 13, 2021 2:58 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: UniFi Protect G4 Doorbell press detection

Change your topic subscription to just "unifi"/#".

Change your trigger to:

Match: unifi
Match: protect
Any:
Match: doorbell
End:

Then un-check the Queue Message box unless you're setting up a Shim device for this.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Feb 15, 2021 10:26 am
Flenser offline
Posts: 53
Joined: Dec 28, 2004

Re: UniFi Protect G4 Doorbell press detection

That did the trick, thanks.

Now to get the Sonos part working…

Posted on
Mon Feb 15, 2021 1:25 pm
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: UniFi Protect G4 Doorbell press detection

Aw beautiful I’d been meaning to look into doing this.. and suddenly the answer is right in front of me… serendipitous!


Sent from my iPhone using Tapatalk Pro

Computer says no.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests

cron