core
core copied to clipboard
Event from Doorbird Integration Not Triggered in Home Assistant
The problem
reopen https://github.com/home-assistant/core/issues/114545
I am using the Doorbird integration in Home Assistant to respond to events from my Doorbird camera. In the Doorbird admin interface, the event is correctly configured, and I can see that the event also appears in the Home Assistant developer tools under "Events". This confirms that the Doorbird camera and Home Assistant are communicating correctly.
The issue arises when I attempt to trigger the event created by the integration via its URL. When I access the URL directly from a web browser or using Postman, I receive an "OK" response, indicating the call was successful. However, the corresponding event in Home Assistant is not triggered, meaning the expected actions (such as turning on a light or sending a notification) that should be linked to this event are not executed.
Steps to Reproduce:
Configure the event in the Doorbird admin interface. Verify the event in Home Assistant's developer tools under "Events". Execute the event URL from a web browser or Postman. Observe that despite the "OK" response, the event in Home Assistant does not trigger any of the expected actions. Expected Behavior: After calling the URL, the corresponding event in Home Assistant should be triggered, and all associated actions should be executed as configured.
Actual Behavior: The event appears not to be triggered in Home Assistant, as none of the expected actions occur after calling the URL, despite the "OK" response.
What version of Home Assistant Core has the issue?
2024.8.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
doorbird
Link to integration documentation on our website
https://www.home-assistant.io/integrations/doorbird
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
Hey there @oblogic7, @bdraco, @flacjacket, mind taking a look at this issue as it has been labeled with an integration (doorbird) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of doorbird can trigger bot actions by commenting:
@home-assistant closeCloses the issue.@home-assistant rename Awesome new titleRenames the issue.@home-assistant reopenReopen the issue.@home-assistant unassign doorbirdRemoves the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-informationAdd a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-informationRemove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
doorbird documentation doorbird source (message by IssueLinks)
I deleted the device and added again with another name. only the default doorbell and motion events are working.
I tested it now, logfile looks great and at the event listener I can listens to the custom events (triggered with browser). furthermore I can create a working automation with the test event. --> events are working
BUT at the integration logbook I only see the doorbell events and there are no entities for the custom events.
2024-10-07 21:18:10.324 DEBUG (MainThread) [homeassistant.components.doorbird.device] Registering URL http://192.168.0.100:8123/api/doorbird/doorbird_test?token=xxxxxxxxxxxxxxx for event doorbird_test
2024-10-07 21:18:10.324 DEBUG (MainThread) [homeassistant.components.doorbird.device] URL already registered for doorbird_test
2024-10-07 21:18:10.325 DEBUG (MainThread) [homeassistant.components.doorbird.device] Registering URL http://192.168.0.100:8123/api/doorbird/doorbird_doorbell?token=xxxxxxxxxxxxxxx for event doorbird_doorbell
2024-10-07 21:18:10.325 DEBUG (MainThread) [homeassistant.components.doorbird.device] URL already registered for doorbird_doorbell
2024-10-07 21:18:10.325 DEBUG (MainThread) [homeassistant.components.doorbird.device] Registering URL http://192.168.0.100:8123/api/doorbird/doorbird_motion?token=xxxxxxxxxxxxxxx for event doorbird_motion
2024-10-07 21:18:10.325 DEBUG (MainThread) [homeassistant.components.doorbird.device] URL already registered for doorbird_motion
2024-10-07 21:18:10.325 DEBUG (MainThread) [homeassistant.components.doorbird.device] Registering URL http://192.168.0.100:8123/api/doorbird/doorbird_tuer?token=xxxxxxxxxxxxxxx for event doorbird_tuer
2024-10-07 21:18:10.325 DEBUG (MainThread) [homeassistant.components.doorbird.device] URL already registered for doorbird_tuer
2024-10-07 21:18:10.325 DEBUG (MainThread) [homeassistant.components.doorbird.device] Registering URL http://192.168.0.100:8123/api/doorbird/doorbird_andi?token=xxxxxxxxxxxxxxx for event doorbird_andi
2024-10-07 21:18:10.325 DEBUG (MainThread) [homeassistant.components.doorbird.device] URL already registered for doorbird_andi
2024-10-07 21:18:10.349 DEBUG (MainThread) [homeassistant.components.doorbird.device] DoorBird: Event config: DoorbirdEventConfig(events=[DoorbirdEvent(event='doorbird_doorbell', event_type='doorbell'), DoorbirdEvent(event='doorbird_tuer', event_type='fingerprint')], schedule=[<DoorBirdScheduleEntry {'input': 'doorbell', 'param': '1', 'output': [{'enabled': '1', 'event': 'relay', 'param': 'ghphoi:3', 'schedule': {'weekdays': [{'from': '79200', 'to': '79199'}]}}, {'enabled': '1', 'event': 'notify', 'param': '', 'schedule': {'weekdays': [{'from': '79200', 'to': '79199'}]}}, {'enabled': '1', 'event': 'http', 'param': '3', 'schedule': {'weekdays': [{'from': '79200', 'to': '79199'}]}}, {'enabled': '0', 'event': 'sip', 'param': '0', 'schedule': {'weekdays': [{'from': '79200', 'to': '79199'}]}}, {'enabled': '0', 'event': 'http', 'param': '5', 'schedule': {'weekdays': [{'from': '79200', 'to': '79199'}]}}]}>, <DoorBirdScheduleEntry {'input': 'fingerprint', 'param': 'FP-xxxxxxxx', 'output': [{'enabled': '0', 'event': 'relay', 'param': 'ghphoi:1', 'schedule': {'weekdays': [{'from': '79200', 'to': '79199'}]}}]}>, <DoorBirdScheduleEntry {'input': 'fingerprint', 'param': 'FP-xxxxxxxx', 'output': [{'enabled': '0', 'event': 'relay', 'param': 'ghphoi:2', 'schedule': {'weekdays': [{'from': '79200', 'to': '79199'}]}}]}>, <DoorBirdScheduleEntry {'input': 'fingerprint', 'param': 'FP-xxxxxxxx', 'output': [{'enabled': '0', 'event': 'relay', 'param': 'ghphoi:2', 'schedule': {'weekdays': [{'from': '79200', 'to': '79199'}]}}]}>, <DoorBirdScheduleEntry {'input': 'fingerprint', 'param': 'FP-xxxxxxxx', 'output': [{'enabled': '0', 'event': 'relay', 'param': 'ghphoi:1', 'schedule': {'weekdays': [{'from': '79200', 'to': '79199'}]}}]}>, <DoorBirdScheduleEntry {'input': 'fingerprint', 'param': 'FP-xxxxxxxx', 'output': [{'enabled': '0', 'event': 'relay', 'param': 'ghphoi:1', 'schedule': {'weekdays': [{'from': '79200', 'to': '79199'}]}}]}>, <DoorBirdScheduleEntry {'input': 'fingerprint', 'param': 'FP-xxxxxxxx', 'output': [{'enabled': '0', 'event': 'relay', 'param': 'ghphoi:1', 'schedule': {'weekdays': [{'from': '79200', 'to': '79199'}]}}]}>, <DoorBirdScheduleEntry {'input': 'fingerprint', 'param': 'FP-xxxxxxxx', 'output': [{'enabled': '0', 'event': 'relay', 'param': 'ghphoi:2', 'schedule': {'weekdays': [{'from': '79200', 'to': '79199'}]}}]}>, <DoorBirdScheduleEntry {'input': 'fingerprint', 'param': 'FP-xxxxxxxx', 'output': [{'enabled': '0', 'event': 'relay', 'param': 'ghphoi:2', 'schedule': {'weekdays': [{'from': '79200', 'to': '79199'}]}}]}>, <DoorBirdScheduleEntry {'input': 'fingerprint', 'param': 'FP-xxxxxxxx', 'output': [{'enabled': '0', 'event': 'relay', 'param': 'ghphoi:3', 'schedule': {'weekdays': [{'from': '79200', 'to': '79199'}]}}, {'enabled': '0', 'event': 'http', 'param': '5', 'schedule': {'weekdays': [{'from': '79200', 'to': '79199'}]}}]}>, <DoorBirdScheduleEntry {'input': 'fingerprint', 'param': 'FP-xxxxxxxx', 'output': [{'enabled': '0', 'event': 'relay', 'param': 'ghphoi:1', 'schedule': {'weekdays': [{'from': '79200', 'to': '79199'}]}}]}>, <DoorBirdScheduleEntry {'input': 'fingerprint', 'param': 'FP-xxxxxxxx', 'output': [{'enabled': '0', 'event': 'relay', 'param': 'ghphoi:1', 'schedule': {'weekdays': [{'from': '79200', 'to': '79199'}]}}]}>, <DoorBirdScheduleEntry {'input': 'fingerprint', 'param': 'FP-xxxxxxxx', 'output': [{'enabled': '0', 'event': 'relay', 'param': 'ghphoi:1', 'schedule': {'weekdays': [{'from': '79200', 'to': '79199'}]}}]}>, <DoorBirdScheduleEntry {'input': 'fingerprint', 'param': 'FP-xxxxxxxx', 'output': [{'enabled': '0', 'event': 'relay', 'param': 'ghphoi:1', 'schedule': {'weekdays': [{'from': '79200', 'to': '79199'}]}}]}>, <DoorBirdScheduleEntry {'input': 'fingerprint', 'param': 'FP-xxxxxxxx', 'output': [{'enabled': '0', 'event': 'relay', 'param': 'ghphoi:1', 'schedule': {'weekdays': [{'from': '79200', 'to': '79199'}]}}]}>], unconfigured_favorites=defaultdict(<class 'list'>, {'motion': ['4']}))
Using HA core 2024.11.0 and can also confirm, have no entities for further configured events:
@billeranton You can use the event with a automation
doorbird_NameOfTheDevice_Event
I had a similar problem, I could trigger events from my browser but the Doorbird app never managed to trigger the events. I managed to get events triggering from Doorbird after I switched the HA URLs in doorbird from http://localip:8123/ to https://
My hypothesis is that my Doorbird device cannot reach the HA on the local network. This could be because my HA and the Doorbird are not connected to the same network router -- I have a switch and a unifi gateway but my Doorbird is sitting outside of all of that, hooked directly to the ISP router ... but I could be wrong.
workaround from @AndiP1234 works fine. But be aware: Do not use eventname with underscores. That gave me hard time ;)
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
issue is still not solved
Indeed a simple automation will trigger the even..
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Still not solved
Wrong status