Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

Doorbird


mradh

Question

Implemented doorbird. Advice is to use Axis Generic cam in order to display live feed from the door bird intercom.

Link to comment
Share on other sites

Recommended Posts

  • 0

double post :/

Edited by Guest
Link to comment
Share on other sites

  • 0

Tried about every combination possible to get the DoorBird to show in my HC2.

 

Till now no luck.

 

When accessing the DoorBird with VLC it does work fine (ie:

Please login or register to see this link.

 

In HC2 I added the Axis generic plugin, opened it and added under advanced > IP address: ggzqog0001:[email protected]
I left the fields Username and password empty.
I use for the JPG stream: bha-api/image.cgi

For MJPG stream I use the following path: bha-api/video.cgi
 

Did I miss something?

Link to comment
Share on other sites

  • 0
27 minutes ago, Guest said:

Tried about every combination possible to get the DoorBird to show in my HC2.

 

Till now no luck.

 

When accessing the DoorBird with VLC it does work fine (ie:

Please login or register to see this link.

 

In HC2 I added the Axis generic plugin, opened it and added under advanced > IP address: ggzqog0001:[email protected]
I left the fields Username and password empty.
In JPG stream path: and MJPG stream path: I added: bha-api/video.cgi
 

Did I miss something?

 

Try to add camera from DoorBird by adding camera in add new device. That is how it works for me.

Link to comment
Share on other sites

  • 0

Okay. That did the trick (sort of).

 

It's now showing up fine within HC2 (Windows 10), but does not show when accessed by my Android phone (using the Fibaro HC2 app).

I get the message "Error is Check MJPG settings - using JPG image now". After this I still see nothing

 

Same thing for my tablet (Android).

 

Link to comment
Share on other sites

  • 0

Got it working :-)

I needed to add the password and username also in the main settings in HC2.

Link to comment
Share on other sites

  • 0
On ‎12‎/‎22‎/‎2016 at 3:18 PM, jakub.jezek said:

I succesfully integrated camera from doorbird without using Axis Generic plugin.

 

IP adress you have to fill in folowing format: username:password@Doorbird_IP (e.g. ggxxxx0001:[email protected]).

And i fill mjpg and jpg folowing: bha-api/video.cgi

 

I have also virtual device, that controlls IR light and door Relay in Doorbird.

 

You have to just fill field for IP and port. And you have to replace XXXXXXXXXXXXXXX with username:password encoded in

Please login or register to see this link.

.

 

Please login or register to see this attachment.

Hmmm...

As usually things do not work for me straight out of the box.

 

I'm now trying to add the Doorbird.vfib, and it must be an ID 10 T error (read IDIOT), but as mentioned above it does not work.

 

I see in the "Button" 1 the following code:

Please login or register to see this code.

However! I see in Button 2 this:

Please login or register to see this code.

 

The code in button 2 starts with a quotation mark, and buttons code 1 not.

You also mention to set the port. What port number should be used? I guess port 80 ?

And yes. I did base64  encode the XXXXXXXXXXXXXXX (ie: ggzqog0001:mwamttzaa became: Z2d6cW9nMDAwMTptd2FtdHR6YWE= )

 

 

Edited by Guest
Link to comment
Share on other sites

  • 0

Okay.. Got it working.

The code in button1 needs to look like this:

Please login or register to see this code.

The code in button 2 need to look like this!

Please login or register to see this code.

Where as mentioned before the XXXXXXXXXXXXXXX needs to be your: username:password and base64 encoded!

Edited by Guest
Link to comment
Share on other sites

  • 0

Almost done now...

 

I would like to trigger an event on my HC2 when someone pushes the bell.

 

According to the DoorBird API documentation it is possible, but you need to set a "Notification request" (in my case event=doorbell)

The syntax is like this:

Please login or register to see this link.

> , and when triggered than the "request" will be pushed in JSON.

 

Anyone here who might know the correct syntax?

 

Basically I would like to turn on a light (or populate a global variable) when someone pushes the bell.

 

Thank you.

Link to comment
Share on other sites

  • 0

Okay.. Got the "Notification Request" working :-)

 

Here is how:

You need to tell the DoorBird what to do when the button is pushed.

You do this by sending the following "command" by using a browser.

Please login or register to see this code.

Where AAAAA = DoorBirds username, BBBBB = DoorBirds password, CCCCC = DoorBirds IP, DDDDD = IP HC2, EEEEE = HC2's scene's ID (see below) and FFFFF = HC2's password.

 

Now create a scene doing something, and use the scene ID in the above string (see EEEEE).

 

Now when the button is pushed the DoorBird will send the notification (json formatted) to HC2, and tells it to start scene EEEEE

 

To "cancel/delete" the "Notification Request" run the same "command", but change the subscribe (at the end of the string) to 0

 

ie:

Please login or register to see this code.

 

 

 

 

 

Edited by Guest
Link to comment
Share on other sites

  • 0

You can do the same for the motion sensor and also use the door open button on the app to run a scene. You can also do &reset=1 to reset all subscriptions.

Just a small note, if you use a mac and use Postman to test out api calls to your doorbird, it has a bug that it doesn't do proper url encoding. (Just use a browser instead, less handy but works fine too, or any other tool)

 

You only need to urlencode the & sign in the =url field.

Link to comment
Share on other sites

  • 0

Anyone been able to "grap" a image from DoorBird and email it?
ie:

Please login or register to see this code.

The 296 is my DoorBird camera, and 2 the ID of my phone.

For some reason it does not work.

Other cameras work fine with the above code.

 

 

Edited by Guest
Link to comment
Share on other sites

  • 0

Maybe I don't get this right....

 

I added DoorBird as a generic camera "other model" (not based on any specific model).

 

On the General settings page:

I filled in User: xxxxxx0001 and Password: as set in the DoorBird app.

 

On the Advanced settings page:

I simply put in the ip adress, eg 10.0.0.150.

JPG path: bha-api/image.cgi

MJPG stream path: bha-api/video.cgi

 

To turn on the light, I simply put in the following in one of the move buttons:  bha-api/light-on.cgi

 

The "pause" or "stop movement" button can for instance be used to open the door, with the following:  bha-api/open-door.cgi

 

 

It works.   But I wonder if I am misunderstanding something...

 

I wonder why you guys encode the user:password into Base64? Is that just to make it more secure? If so, in what way is the above method insecure on my local LAN?

 

I also wonder why you guys had to include user:password@DoorBird-IP-address instead of simply typing the IP-address in the IP-address field?

 

As far as the Virtual device goes, I simply put the plain IP-address and port 80 in the General tab. Then it works as Guest suggested in the earlier post:

On 13.1.2017 at 10:02 PM, Guest said:

The code in button1 needs to look like this:

Please login or register to see this code.

The code in button 2 need to look like this!

Please login or register to see this code.

Where as mentioned before the XXXXXXXXXXXXXXX needs to be your: username:password and base64 encoded!

 

 

So, what am I missing here?

 

OleK

Edited by olekenneth
Link to comment
Share on other sites

  • 0

Thanks a lot!  

Now, via the DoorBird app I can have video with 2-way audio, and then the "open door" button in the app sends an API call to run a scene in HC2 that can unlock the door. 

 

Video with 2-way audio is not possible through HC2 Video gate function, so that will be via the separate DoorBird app, but I can live with that. However, the Video gate function in HC2 works via DoorBirds camera, but I cannot have audio. 

 

So, this is as good as it gets for now. It works!

 

I would appreciate though, if someone could enlighten me on the security issues mentioned in my previous post....

Link to comment
Share on other sites

  • 0

I do think i saw something regarding SIP and the doorbird, on hc2 doesn't it use asterisk for voip? Which should support SIP too. In theory you might say this could be possible, just don't think its on fibaro's top list of things to do then :)

Link to comment
Share on other sites

  • 0

I asked the DoorBird team about the SIP.

 

They told me that they are updating the information regarding SIP regularly on

Please login or register to see this link.

HC2 is using a very striped down version of Asterisk.

Theoretically it would be possible to get the HC2 to communicate with the DoorBird by SIP

Edited by Guest
Link to comment
Share on other sites

  • 0

DoorBird needs to have some certificate in SIP server to get SIP working. Atleast that was told to me, regarding connection to Control4.

 

Not sure if 100% right. It was some time ago when we started to use it with C4 and became DoorBird distributor for CZ.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...