Doorbird integration

Would it be possible to integrate doorbird with homeassistant

https://www.doorbird.com/api

I have the camera integrated but notifications not. Might be a harder ask but voice would be cool.

1 Like

+1

Would be awesome

1 Like

Some examples integrations out there:
https://doc.eedomus.com/en/index.php/Eedomus_and_Doorbird
High end:
https://www.doorbird.com/connect

The API is well defined, for notification events, night vision, door lock open, movement etc. This inside HA would be very cool.

It’s on my shopping list

You won’t be disappointed :slight_smile:

Recent API update now supports audio. Transmit and receive.

This would be a really good integration.

1 Like

I’ve been looking into that as well.
The API only allows for subscriptions to issue a GET command whenever something occurs.

Sample from the API:http:///bha-api/notification.cgi?url=http://foo.bar?
doorbell&user=&password=&event=doorbell&subscribe=1

The REST API of HA needs a POST request to fire an EVENT (https://home-assistant.io/developers/rest_api/#post-apieventsltevent_type). I think it could be possible to extend this to include GET if the class APIEventView(HomeAssistantView): in api.py (found here: https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/api.py) is extended to respond to GET requests.

I am not experienced in Python and developing for HA but to me it seems to be the way to implement Doorbird into HA.

I was thinking about the alternative / added benefit of adding a component which would give us easy configuration and possible customized state card for Doorbird. I was thinking about a component which takes IP, Doorbird user / password in configuration.yaml and with this adds the Doorbird sensors (through above described subscription method responding to GET) (Doorbell, Motion) as well as Switches (Open Door, Light On).

Anybody with some Python / HA development skills interested in working on this with me?

I just found doorbird and subsequently, this thread. I was looking through the API and notice that the Monitor Request in the API returns states of motion sensor and doorbell as a continuous HTTP stream. I believe that could be utilized to get push notifications without the doorbird API needing to POST a request to HA.

However, I’m not very proficient in python programming or developing on HA, so someone may correct me here.

After not being that happy with the other video doorbell options, I like doorbird. However, it’s expensive, and it would require me run either an ethernet cable or AC power to the doorbell. Not completely eager to do either of those, but I might anyways if it remains the best option.

I really would love HA integration, though. If I end up getting the doorbell, you can count me in to help develop & test to the best of my abilities.

+1 for me too: it would be great!

UP , this would be cool :slight_smile:

after some months of usage, are you satisfied of the product. Which kind of physical installation you have?

It’s extremely reliable, can’t fault it. Being able to answer the door from wherever is awesome.

Recording to NVR even better, and hooked up the apis with HomeKit /homebridge and now a zipatile.

The iOS app is feeling dated but could see something nice in HA…

Thanks.

You have a house/apartment?

I have a house, with garden, so the doorbird woould be outside the property (the router is like 30/40 meters away, so I think ethernet is a must).

House, runs off WIFI using a powerline (against their instructions, works fine) you’re best off using PoE for your setup if its that far away, slightly more guaranteed connection. DoorBird prefer Ethernet. Soon to release the internal doorbell too, so you’ll have a better experience without having to wire up old tech to new :slight_smile:

Stream API would be good, most reliable. I am using this in my homebridge-doorbird plugin, bit rough but it works.

Anybody has luck with just adding the camera into hass? It seems it has like a timeout like in the app after xx seconds which makes it fail in hass.

Found it:

- platform: generic
  name: Doorbird
  still_image_url: http://<url>/bha-api/image.cgi
  mjpeg_url: http://<url>/bha-api/video.cgi

Do note that the url in my case was // (might be different with you but it seems to work fine then)

Any news about this?

You can create a simple python flask app which proxies the doorbird calls to home assistants api.

http://flask.pocoo.org/

I bought myself a DoorBird, great product! But, also run into the GET/POST issue.
So I created a small flask proxy, has been working for a week without any problems!
I published the proxy on my github account: https://github.com/basschipper/homeassistant-doorbird-proxy

1 Like

Recently bought and installed a Doorbird. Very happy with it. Video and gate opening is easy to integrate. I am looking for a way to get notifications (doorbell) from it in HASS.
Is this not possible via a HTTP get post?

the documentation: http://doorbird.com/downloads/api_lan.pdf?5

NOTIFICATION REQUEST
Check and set the notification when a certain event occurs. If you set no
parameter, the current notification settings will be returned as JSON. The
parameters event, subscribe and url must be set.
Method: GET

http:///bha-api/notification.cgi?url=http://foo.bar?
doorbell&user=&password=&event=doorbell&subscribe=1