DoorBird Binding?

Tags: #<Tag:0x00007fd3225c8990>

(Bernhard Bauer) #59

Yes, I’ve integrated the video feed using the standard frame widget. You can provide the IP address of the DoorBird as http://<doorbird-ip>/bha-api/video.cgi?http-user=<user>&http-password=<password>

(Sven) #60

Ringing only works in the App but not on OH2 anymore.
Everything worked fine, since yesterday.

I updated the mobile app of Doorbird (android) and I think it also came with an FW update for the Doorbird itself, but i´m not 100% sure of it. I was just clicking confirm without reading.
Since then, the Doorbird don´t sent any commands back to OH2. In the app I can see the favourite HTTP Calls and the URL is corrects at this place.

On My phone it works and before it was also working with OH2 (I used the Doorbird wiki)
The phone update was the only event which came into my mind

The Dorrbird info.cgi tells me
{“BHA”: { “RETURNCODE”: “1”, “VERSION”: [{“FIRMWARE”: “000111”,“BUILD_NUMBER”: “15222406”,“WIFI_MAC_ADDR”: “XXXXXXXX”,“RELAYS”:[“1”],“DEVICE-TYPE”: “DoorBird D101”}]}}

Is this the same FW as you guys have?
What was wondering me was, when I check notification.cgi
The Event is “doorbell1”, shouldn´t it be just doorbell without the 1?
(I already tried to register again, by manually putting the URL into the Browser, but it´s still “doorbell1”).

{“event”: “doorbell1”,“subscribe”: “1”,“url”: "http://…

When I just try the return URL, OH recognizes the command, but the Doorbird itself dont trigger it anymore, when I press the button.

All ips an network stayed the same (I also reconnected the Device again to WIFI without any success)

Does anyone have a suggestion on how to solve it?

(Bernhard Bauer) #61

I have the same firmware version and in my case OH is notified when the doorbell is run, just like it should…

(N. Jordan) #62

Hi, i’m rather experienced in OH (2.3) but new to Doorbird 101 (which I start hating by the way - this closed cloud solution with almost no local entry - except the API is a security nightmare sooner or later but thats another story).

My question is if I will run in any issues if after registering motion/doorbell I turn OFF my doorbird over night and turn it on the next morning…do not understand all details but it sounds similar to SIP registration and i assume that if i turn OFF and ON the doorbird it will loose this registration and not notifiy anymore…

Is that true? because i also fear that anyhow from time to time registration will even with POWER ON get lost…does OH take care of these lost registrations and reregisters by itself?

Cheers and thanks a lot for your comments! Norbert

(Bernhard Bauer) #63

@norbert_jordan I can share your security concerns and have put my DoorBird into a separate VLAN with only a port forward to OH for the callbacks.
But in my experience so far the registration doesn’t seem to get lost in case of power interruptions.

(Kris K) #64

Hi all

I have a D201x unit but the App is slow talking to the cloud. I just installed OpenHab today and MQTT on a Windows Machine.

Can anyone provide a sample config to get me going with the unlock door, live video and turning IR on/off?

Im struggling even using the Tutorial.


(Pavel) #65

Can you post your notify.cgi and info.cgi outputs? I have strange problem with notification absence from DoorBird D2101V. May be it need to be turned on somewhere else?

(Pavel) #66

Or may be somebody knows Doorbird diagnostic capabilities? Logs, remote connection, something else? Without it very hard to figure out what happening on door bell side.

(Pavel) #67

Anybody tried to use “EVENT MONITORING (UDP BROADCASTS)” for notifications? I catched couple of them, but in “EVENT” field they contain only “1”.

(Bernhard Bauer) #68

Here are the outputs from my DoorBird (I’ve replaced private information with XXX):

"BHA": { "RETURNCODE": "1", "VERSION": [{"FIRMWARE": "000111","BUILD_NUMBER": "15222406","WIFI_MAC_ADDR": "XXXXXXXXXXXX","RELAYS":["1"],"DEVICE-TYPE": "DoorBird D102"}]}}

{"BHA": { "RETURNCODE": "1", "NOTIFICATIONS": [{"event": "motionsensor","subscribe": "1","url": "http://X.X.X.X:X/classicui/CMD?DoorBird_MotionSensor=ON","user": "","password": "","relaxation": "10"}, {"event": "doorbell1","subscribe": "1","url": "http://X.X.X.X:X/classicui/CMD?DoorBird_DoorBell=ON","user": "","password": "","relaxation": "10"}, {"event": "dooropen","subscribe": "1","url": "http://X.X.X.X:X/classicui/CMD?DoorBird_DoorOpen=ON","user": "","password": "","relaxation": "10"}]}}

(Bernhard Bauer) #69

Sorry, so far I’ve not played around with the schedules and favourites.

(Kris K) #70

Thanks bern77! hopefully this helps Pavel :smiley:

(Pavel) #71

Thanks for output, I think it will be very useful for future users. We resolved our problem with missed notifications by DoorBird reset. May be it was some strange internal state or some bad combination of settings.

But now I stuck on impossibility of configuration SIP via HTTP API. I receiving “401 Unauthorized”, when I trying to enter. Settings looks right. Waiting meaningful response from Doorbird support.

(Kris K) #72

And the response we got for others, you must create a new SIP user in the Doorbird Admin utillity. It must be called ‘SIP’ with Video always on and API permissions. This resolved the problem Pavel and I had :slight_smile:

(Pavel) #73

Anybody tried SIP on DoorBird? I meet weird issue. First of all, I set up back calls (DoorBird calls you after HTTP request) and it worked fine for a days. But now it not working any more and answers on direct and back calls “503 Service unavailable”. I don’t changed anything and even try sip.cgi?action=reset without success. Another problem is pure debug capabilities of DoorBird: I can only get last error code and text message - it’s not always informative.

(Pavel) #74

I successfully made web softphone with SIP.js. It works well in the Firefox. Chrome based browsers don’t allow unsecured http/ws connection and self-signed certificate is a problem. I embed it into sitemap via WebView and it works in Firefox, but when I tried it in Openhab app nothing happens and it’s hard to get debug info from app. Anybody tried something like this?

(Patrick Boch) #75

Hi all
I’d like to revive this topic: I’ve recently received my Doorbird (2101V), and apparently the notification.cgi has been discontinued and has been replaced by schedule.cgi.

Therefore I am struggling a bit with how to format the notifications/triggers from the wiki.

Here’s my output from notification.cgi (nothing programmed yet, hence it’s pretty empty:


My idea was to change the formatting of notification.cgi like so:


But that’s apparently not enough. Anyone here already worked with schedule.cgi (or has enough experiences with those kind of APIs to make an educated guess as to how this should be formatted)?


(Kris K) #76

Hi Patrick, I am using the same Doorbird.

We use OpenHab Cloud (Local instance) for notificiations.

(Patrick Boch) #77

Hi Kris

that’s one of the use cases I intend to do, yes.
How did you configure OH to receive a notification via the OH cloud when, for example, the doorbell is pushed?
Or, more generally, how do you configure OH to react to a trigger from DoorBird (doorbell, motion)?

(Patrick Boch) #78

Hi all
solved the problem. Here’s a short run down of how I solved it.

Not that I know the “old” notification.cgi, but the new schedule.cgi of DoorBird essentially is doing all the work - in other words, there is one possibility I used - http trigger - where essentially an http request is called whenever an event is happening (i.e. doorbell, motion, etc.).

What I did therefore is to add that scheduled event (in my case, an http request) using JSON - I used postman to set up this JSON call just that once.
In a second step (it was actually the first step, since you have to define the http request in the favorites of the DoorBell App (or API)), I then simply used a http-request for OH, in the form of:


This triggers a switch, and since the switch needs to reset to OFF after the Doorbell rang, I used a rule to reset it, like this:

rule "Tür öffnen"
Item DoorBird_DoorBell changed 
if(DoorBird_DoorBell.state==ON) {
	timer = createTimer(now.plusSeconds(2)) [
	sendCommand(DoorBird_DoorBell, OFF)
} else {
if(timer!==null) {
	timer = null

Not sure if there’s a more elegant way - but it definitely works. Now all I have to think is what to actually do when the doorbell rings :slight_smile: