I have the Unifi G4 Doorbell Pro and I am trying to set an automation that is triggered when the button is pressed (to play the chime through my Sonos).
I have set this up following the below linked guide but it is not working as the initial event is not being triggered.
Looking at the logs the binary sensor never changes from “off” when the doorbell button is pressed. I have monitored the events whilst pressing the doorbell button and I can’t see anything being triggered.
I have had this working for almost a year with a G4 doorbell. (not the PRO)
I followed the same guide and was very pleased until about 10 days ago when this stopped functioning an I cant for the life of me figure out why.
As far as the Binary sensor goes, I have it set the following way
platform: state
entity_id:
- binary_sensor.front_door_doorbell
to: "on"
Fully agreed! - Debugging though was a pain. If I may recommend an improvement? Maybe throwing a warning in the event log if such a case is detected vs silently ignoring it?
And I will also fully admit, I should never assume things are synced to NTP without verifying
Sorry to resurrect this but I’m having the same original problem of HA not even seeing the event of a button press. I’ve already gone through and made sure the time was sync’d so I do not believe that is the issue. Any other known issues that can come up and prevent it from working?
Any traction on this one? I noticed that my doorbell presses stopped sending automations and I just got around to checking it and sure enough, it’s missing. Reloaded, Re-added, changed Perms…ect
am seeing the same - was working fine for 6months - not sure whether Protect or HA upgrade broke it but cannot get it working again - not even sure the event is detected by HA anymore - plenty of other events but not doorbell pressed (annoying done have comparable logs from before)
G4 Pro (POE)
Protect 2.10.11
HA 2023.12.0 (also tried 2023.12.1,2023.12.2,2023.12.3)
2023-12-20 09:38:56.724 DEBUG (MainThread) [pyunifiprotect.api] Skipping update since websocket is active
2023-12-20 09:39:01.725 DEBUG (MainThread) [pyunifiprotect.api] Skipping update since websocket is active
2023-12-20 09:39:06.725 DEBUG (MainThread) [pyunifiprotect.api] Skipping update since websocket is active
2023-12-20 09:39:11.726 DEBUG (MainThread) [pyunifiprotect.api] Skipping update since websocket is active
2023-12-20 09:39:12.558 DEBUG (MainThread) [homeassistant.components.unifiprotect.data] Updating device: G4 Doorbell Pro (E438830C38CD)
2023-12-20 09:39:12.561 DEBUG (MainThread) [homeassistant.components.unifiprotect.select] Updating dynamic select options for Doorbell Text
2023-12-20 09:39:12.633 DEBUG (MainThread) [pyunifiprotect.data.bootstrap] last_ring for 643e2e7a01aee103e4005fb7 (True)
2023-12-20 09:39:12.633 DEBUG (MainThread) [pyunifiprotect.data.base] Event ping timer started for 643e2e7a01aee103e4005fb7
2023-12-20 09:39:12.633 DEBUG (MainThread) [homeassistant.components.unifiprotect.data] Updating device: G4 Doorbell Pro (E438830C38CD)
2023-12-20 09:39:12.634 DEBUG (MainThread) [homeassistant.components.unifiprotect.select] Updating dynamic select options for Doorbell Text
2023-12-20 09:39:13.826 DEBUG (MainThread) [homeassistant.components.unifiprotect.data] Updating device: G4 Doorbell Pro (E438830C38CD)
2023-12-20 09:39:13.826 DEBUG (MainThread) [homeassistant.components.unifiprotect.select] Updating dynamic select options for Doorbell Text
2023-12-20 09:39:15.634 DEBUG (MainThread) [pyunifiprotect.data.base] Event ping callback started for 643e2e7a01aee103e4005fb7
2023-12-20 09:39:16.727 DEBUG (MainThread) [pyunifiprotect.api] Skipping update since websocket is active
2023-12-20 09:39:17.411 DEBUG (MainThread) [pyunifiprotect.websocket] WS Timeout loop sleep 29.99984071799554
2023-12-20 09:39:21.727 DEBUG (MainThread) [pyunifiprotect.api] Skipping update since websocket is active
2023-12-20 09:39:26.729 DEBUG (MainThread) [pyunifiprotect.api] Skipping update since websocket is active