Same here. Cannot get the binary sensor working. any new insights?
I love the Doorbird integration you set-up for Home assistant.
The camera and relay function great, but the binary_sensor for doorbell notification does not do anything a @Mudsie and @nbraun18 have also experienced. Any clues on where to find a solution? The configuration is just a copy paste from the documentation.
Kind regards
I actually asked about this in Reddit in /r/homeassistant also and this is what @Klikini said
“The binary sensors are finicky because Home Assistant has to poll it while the button is pressed. I’ve started school now, but if I get some time I will add push to the component so that the DoorBird will actually send data to HA when the button is pressed.
The DoorBird LAN API has the ability to add callbacks for events, I just didn’t think about hosting endpoints from my component until recently :/”
So it looks like he has a solution just not time at the moment
Thanks for the update.
Perhaps this is usefull:
I actually had a Doorbird component that I was developing but @Klikini beat me to the punch. What I found during my development is that the Doorbird API did not behave as documented. When I reached out to Doorbird directly, they informed me that the “check” endpoints (used for polling motion and doorbell) were being updated and would behave differently once version FW108 was deployed. In my testing motion endpoint did not work at all using the check endpoint.
I think it would be better (more responsive) to use the “monitor” endpoints to open a websocket to the Doorbird instead of setting up callbacks for the device to call into HA. I tried to implement this approach but am new to python and couldn’t figure out how to get it to work with asyncio.
I have 2 D202B and 1 D101S Doorbirds, so I’ll be happy to pitch in when I can to help with this component.
The DoorBird can make HTTP requests when events occur, but Home Assistant has to host them. I don’t know how to do this in Python, but the Axis component was mentioned here, so I might take a look at that when I have time (soon, I promise!)
I just pushed new code that registers HA with the device, which then creates an event when the doorbell rings. I’m not sure how to make this useful in the frontend, but the code exists now.
Hi, thanks for this! if i understand correctly there should be a chance now to let HA know someone just ringed the doorbell, isn’t it?
I have everything set as you described and Doorbird works fine but i am not sure how i can use the event fired when someone rings the door.
I see that when doorbird is ringed i get this:
Login attempt or request with invalid authentication from 192.168.1.17
18:38 components/http/ban.py (WARNING)
where 192.168.1.17
is IP of my doorbird.
can you shed any light on it?
I have the exact same problem. Can’t get this to work
please see here:
it should be fixed soon
Any update? This looks to be a great alternative to something like nest, but it would certainly be nice to see it working before I make a leap of faith.
i can confirm it is working: i implemented automations based on this
AWESOME! Thank you.
Have you done an automation for when the doorbell button is pushed?
I’m trying to setup an automation when the doorbell is pushed to play a “ring” on my speakers in the house.
Yes, turning on a light when doorbell button is pushed
I can’t paste it now but I remember it was very easy
If you can clue me into what you use to trigger your automation…that would be perfect.
trigger:
- platform: event
event_type: doorbird_doorbell
I don’t see that listed in my services or states…is “doorbird_doorbell” something I had to define in my configuration?
I have set up my doorbird like this in configuration. Events like doorbird_front_door_button are available in ‘Available events’ in the events overview in HA. Camera works fine. But an event isn’t logged when pushing the button. I am running on HA 0.89.2
Any ideas?
doorbird:
token: your_token
devices:
- host: doorbird_ip
username: yy
password: xx
name: Front Door
hass_url_override: hass_ip
monitored_conditions:
- doorbell
- motion
- relay
In my doorbird configuration I can see http calls definitions like:
hass_ip/api/doorbird/front_door_button?token=my_token
Apparently the http calls were incomplet. https and port was missing. Updated this in the doorbird app and now it is working:
https://hass_ip:8123/api/doorbird/front_door_button?token=my_token