The Vera Community forums have moved!

General => Lock, Motion & Security Control => Topic started by: Dansker on November 19, 2015, 04:43:03 am

Title: Doorbird API released
Post by: Dansker on November 19, 2015, 04:43:03 am
I have been using a DoorBird for some time, they just released their API. See http://www.doorbird.com/api
Title: Re: Doorbird API released
Post by: br636 on November 30, 2015, 11:02:27 am
Have you tried any integration with vera using the API?
Title: Re: Doorbird API released
Post by: mcalistair on November 30, 2015, 01:11:46 pm
Cool I missed the org post. I looked at the api docu and it is promissing.
Addining it to blueiris or other drv/nvr software must be peace of cake.
Makes me like doorbird more... now I want one  ;D
Title: Re: Doorbird API released
Post by: integlikewhoa on November 30, 2015, 02:49:39 pm
The flush one looks nice, but I'm not sure 549.00 nice. Anyone have a good video on it or actually use it?
Title: Re: Doorbird API released
Post by: watek2k on November 30, 2015, 06:57:21 pm
I use the $350 D101, Love it! Video is clear in all light, audio can be a bit hit and miss.  Would love a Vera integration, simple trigger would be ample!
Title: Re: Doorbird API released
Post by: br636 on December 01, 2015, 01:12:48 pm
My doorbird has not been updated to the latest firmware that the API works with but I was able to add it to vera as a generic IP camera using this: http://<DOORBIRDIP>/axis-cgi/mjpg/video.cgi?resolution=640x480
Title: Re: Doorbird API released
Post by: br636 on December 11, 2015, 07:10:54 am
I have been having issues logging into the view mode of the API and I got this response from Doorbird.

Quote
We had a small bug to fix in the view mode.
The fix is going to come within the next days with a new firmware version 00090.
 
Sincerely yours,
DoorBird Team
Title: Re: Doorbird API released
Post by: br636 on December 21, 2015, 10:12:16 pm
For anyone interested in Doorbird I was able to integrate it with Vera as a generic IP camera. Everything seems to be working well. Door bird also has a NO contact that can be used to open an electric door strike or garage door. I tied this to a non-alarm zone on my alarm panel and created a scene that when the contact closes it unlocks my Schlage deadbolt so now I can unlock my door from the doorbird app.
Title: Re: Doorbird API released
Post by: mcalistair on December 22, 2015, 03:24:41 am
For anyone interested in Doorbird I was able to integrate it with Vera as a generic IP camera. Everything seems to be working well. Door bird also has a NO contact that can be used to open an electric door strike or garage door. I tied this to a non-alarm zone on my alarm panel and created a scene that when the contact closes it unlocks my Schlage deadbolt so now I can unlock my door from the doorbird app.

Cool!
Title: Re: Doorbird API released
Post by: agame on February 13, 2016, 03:29:14 am
i've successfully integrated the doorbird camera with VERA. Brilliant!

The doorbird API also support generating http events... for instance on button press or motion detection. I have created a virtual motion sensor and my aim is to have the Doorbird trigger it though an http request.

BUT i cant make it work...!! (The issue is setting up the Doorbird, not the Virtual sensor...my http request seems to work fine by itself!)  The doorbird API doco is pretty sparse and i'm guessing my problem is http syntax of the http call you need to make to doorbird to activate this (there is no GUI, sadly).

here's my attempt:

http://10.x.x.x/bha-api/notification.cgi?url=(http://10.x.x.x:3480/data_request?id=action&DeviceNum=74&serviceId=urn:dcineco-com:serviceId:VMotion1&action=SetTripped)&event=doorbell&user=&password=&relaxation=120&subscribe=1





Title: Re: Doorbird API released
Post by: tb001 on February 13, 2016, 08:30:23 am
This is great to hear! I've been holding off pulling the trigger until I knew it was doable to integrate. Trying to figure out the best way to tie in Vera for the gate/door opening as well. I won't be able to run alarm wire to our unit, so that's out. Maybe a z wave door sensor?

Ideally I'd love to be able to integrate with homewave, but wonder is that even doable with audio?
Title: Re: Doorbird API released
Post by: br636 on February 13, 2016, 11:36:24 pm
I don't think doorbird integration with homewave and audio is possible right now. I have video through vera on homewave and I also set up a homewave action button that launches the doorbird app (URL is doorbird://). A zwave sensor would probably work for gate/door opening. Doorbird has a contact closer for an electric doorstrike that I have tied to a zone on my alarm and a scene that unlocks my door when the zone is closed. You could do the same thing with a zwave sensor. Also, it looks like doorbird is coming out with a wireless I/O module that may work for this http://www.doorbird.com/addons
Title: Re: Doorbird API released
Post by: prophead on August 15, 2016, 04:30:40 am
i've successfully integrated the doorbird camera with VERA. Brilliant!

The doorbird API also support generating http events... for instance on button press or motion detection. I have created a virtual motion sensor and my aim is to have the Doorbird trigger it though an http request.

BUT i cant make it work...!! (The issue is setting up the Doorbird, not the Virtual sensor...my http request seems to work fine by itself!)  The doorbird API doco is pretty sparse and i'm guessing my problem is http syntax of the http call you need to make to doorbird to activate this (there is no GUI, sadly).

here's my attempt:

http://10.x.x.x/bha-api/notification.cgi?url=(http://10.x.x.x:3480/data_request?id=action&DeviceNum=74&serviceId=urn:dcineco-com:serviceId:VMotion1&action=SetTripped)&event=doorbell&user=&password=&relaxation=120&subscribe=1
try this:
http://10.x.x.x/bha-api/notification.cgi?url=http://10.x.x.x:3480/data_request?id=action%26DeviceNum=74%26serviceId=urn:dcineco-com:serviceId:VMotion1%26action=SetTripped&event=doorbell&relaxation=120&subscribe=1
note the url encoding.
I haven't tested this yet, but it did return the correct url with subscribe=0
Tested as working.
|-<:)
Title: Re: Doorbird API released
Post by: prophead on August 15, 2016, 09:59:02 pm
Yeah, I finally got the Doorbird completely integrated into my Vera.  Now I get reliable (so far) wired LAN triggers instead of my kludgy old magnetic sensor on the coil trick.  And it was good.  Porch and hall lights come on at night and mp3 alarms go off in every room, some of which were out of hearing range of the only physical chime in the house.  I could have my pick of ordinary bell and chime sounds, but the Jetsons theme seemed more appropriate.  It does a take a few seconds for all the operations to complete, but it's certainly better then missing the bell.  I've had the camera integrated for a few months but forgot to come back to look at the notification API.  Much happier with my Doorbird now.  Prophead approves.
|-<:)
Title: Re: Doorbird API released
Post by: javed222uy on August 16, 2016, 03:02:14 pm
prophead! please Can you described the full course to integrate the doorbird to Vera? Thanks!!
Title: Re: Doorbird API released
Post by: o0heavyb0o on August 16, 2016, 06:58:16 pm
Yeah, I finally got the Doorbird completely integrated into my Vera.  Now I get reliable (so far) wired LAN triggers instead of my kludgy old magnetic sensor on the coil trick.  And it was good.  Porch and hall lights come on at night and mp3 alarms go off in every room, some of which were out of hearing range of the only physical chime in the house.  I could have my pick of ordinary bell and chime sounds, but the Jetsons theme seemed more appropriate.  It does a take a few seconds for all the operations to complete, but it's certainly better then missing the bell.  I've had the camera integrated for a few months but forgot to come back to look at the notification API.  Much happier with my Doorbird now.  Prophead approves.
|-<:)

I would also greatly appreciate a guide on how you got the doorbird to play nice with Vera. I'm looking into buying it myself and would love to be able to trigger events with the doorbell or motion detected through it. Thanks man!
Title: Re: Doorbird API released
Post by: prophead on August 16, 2016, 08:33:53 pm
prophead! please Can you described the full course to integrate the doorbird to Vera? Thanks!!
The first message on this thread is the API documentation which can explain it better then I can.

There is only one Vera gotcha, when you subscribe to notifications (with a vera doorbell scene URL) you have to replace the ampersands (&) in the code with the URL encoded code, %26.  Leave the last 2 though as they are part of the doorbird side of the request.  Here is my subscription request, which you only have to do once:

http://YOUR_DOORBIRD_IP/bha-api/notification.cgi?url=http://YOUR_VERA_IP:3480/data_request?id=action%26serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1%26action=RunScene%26SceneNum=YOUR_DOORBELL_SCENE_ID&event=doorbell&subscribe=1

The doorbird then hits that url everytime the button is pressed (or motion is detected if you change the subscription keyword).
The camera information is in the API doc also, it appears fine for me, but does not work on the app like my other cameras for some reason.  No big because Doorbird has it's own app which you have to use if you want to talk to the door anyhow.  My traditional physical chime is also wired into the Doorbird.

You can make your doorbell scene do anything obviously, I have mine turn on the lights at night and alert my phone and play the chime on 4 aeotec "doorbell" mp3 receivers around my house.  I could do the whole capture video and put it on the TV scene, but I never watch TV so the app's easier.  Theres no motion sensitivity adjustment for the motion detection so mine goes off constantly and is useless, but they have promised range adjustment for the last six months.  I have mine all hard wired with power and ethernet so it's rock solid, no sketchy wireless or batteries to worry about.  I'm happy with it now that I've got the HA integration.

|-<:)
Title: Re: Doorbird API released
Post by: javed222uy on August 17, 2016, 12:00:51 pm
Thank you! Actually I have problems in first step.  I can view the snapshot, but not I Live mode. an error ?Not Connected?
I had implemented as a generic ip camera, and had used this URL: http://192...../bha-api/video.cgi
Which would be the problem?

Title: Re: Doorbird API released
Post by: prophead on August 18, 2016, 01:00:06 pm
Thank you! Actually I have problems in first step.  I can view the snapshot, but not I Live mode. an error ?Not Connected?
I had implemented as a generic ip camera, and had used this URL: http://192...../bha-api/video.cgi
Which would be the problem?
Forget about Vera for a moment, does that URL work in your browser?
I am using that URL and works fine for me.
Maybe you don't have enough Wi-Fi connectivity for video?  Mine's wired ethernet.
|-<:)
Title: Re: Doorbird API released
Post by: javed222uy on August 18, 2016, 04:51:03 pm
Thanks porhead!
the URL works ok on browser!
my doorbird had wired ethernet!
Actually worked ok with the android app!

Now, on Vera, i can see small image on Cameras TAB
but I cannot see in Live mode... (error: Not Connected)

I had an Foscam cam without problems.

J
Title: Re: Doorbird API released
Post by: prophead on August 18, 2016, 05:16:28 pm
Thanks porhead!
the URL works ok on browser!
my doorbird had wired ethernet!
Actually worked ok with the android app!

Now, on Vera, i can see small image on Cameras TAB
but I cannot see in Live mode... (error: Not Connected)

I had an Foscam cam without problems.

J
the API will only let you see the 640x480 image, thus, no large image.
|-<:)
Title: Re: Doorbird API released
Post by: javed222uy on August 18, 2016, 07:38:50 pm
Thanks Man!

Now all is right!!

For Live mode, I must used the followig URL

Syntax:
http://<device-ip>/bha-api/image.cgi

J
Title: Re: Doorbird API released
Post by: agame on November 05, 2016, 08:30:39 am
Notifications now work perfectly from the Doorbird. The virtual motion sensor associated with the bellpress triggers a scene that generates a voice announcement from my Sonos. A couple of seconds lag.
Title: Re: Doorbird API released
Post by: tb001 on November 05, 2016, 01:44:17 pm
Agame, great to hear! We're hard wiring our doorbirds next weekend. They're working fairly well if we're all on the LAN, but the video is a little spotty remotely.

Wondering--is there an easy way to text a pic from the system on motion/bell push? I think I can set this up through blue iris, but would rather use DoorBird motion sensor as it seems to cut down on false alarms vs blue iris
Title: Doorbird API released
Post by: LindsiWains on November 14, 2016, 08:34:04 am
Seems right to me. I just did a similar thing for a customer but not with the Pi. How do you like the Doorbird so far? I thought it was a nice product.
Title: Re: Doorbird API released
Post by: Dansker on December 07, 2016, 04:42:27 am
prophead! please Can you described the full course to integrate the doorbird to Vera? Thanks!!
The first message on this thread is the API documentation which can explain it better then I can.

There is only one Vera gotcha, when you subscribe to notifications (with a vera doorbell scene URL) you have to replace the ampersands (&) in the code with the URL encoded code, %26.  Leave the last 2 though as they are part of the doorbird side of the request.  Here is my subscription request, which you only have to do once:

http://YOUR_DOORBIRD_IP/bha-api/notification.cgi?url=http://YOUR_VERA_IP:3480/data_request?id=action%26serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1%26action=RunScene%26SceneNum=YOUR_DOORBELL_SCENE_ID&event=doorbell&subscribe=1

The doorbird then hits that url everytime the button is pressed (or motion is detected if you change the subscription keyword).
The camera information is in the API doc also, it appears fine for me, but does not work on the app like my other cameras for some reason.  No big because Doorbird has it's own app which you have to use if you want to talk to the door anyhow.  My traditional physical chime is also wired into the Doorbird.

You can make your doorbell scene do anything obviously, I have mine turn on the lights at night and alert my phone and play the chime on 4 aeotec "doorbell" mp3 receivers around my house.  I could do the whole capture video and put it on the TV scene, but I never watch TV so the app's easier.  Theres no motion sensitivity adjustment for the motion detection so mine goes off constantly and is useless, but they have promised range adjustment for the last six months.  I have mine all hard wired with power and ethernet so it's rock solid, no sketchy wireless or batteries to worry about.  I'm happy with it now that I've got the HA integration.

|-<:)

Need a pointer: where to obtain the YOUR_DOORBELL_SCENE_ID value for any of my scenes (I assume this is an integer value). Thank you for your efforts!
Title: Re: Doorbird API released
Post by: prophead on December 07, 2016, 09:56:34 am

Need a pointer: where to obtain the YOUR_DOORBELL_SCENE_ID value for any of my scenes (I assume this is an integer value). Thank you for your efforts!

This can be found in the advanced tab of the scene or device
|-<:)
Title: Re: Doorbird API released
Post by: Sammy2 on December 07, 2016, 01:13:33 pm
I'm researching door bells / door video intercoms right now. Is the doorbird the only one that integrates with Vera right now? Can it trigger turning on additional cameras around the porch? That is what I'd like to do ultimately with it.

TIA.
Title: Re: Doorbird API released
Post by: Dansker on December 08, 2016, 02:57:16 am

Need a pointer: where to obtain the YOUR_DOORBELL_SCENE_ID value for any of my scenes (I assume this is an integer value). Thank you for your efforts!

This can be found in the advanced tab of the scene or device
|-<:)

OK, know where to find that for devices, but where is the advanced tab for scenes? Thanks!
Title: Re: Doorbird API released
Post by: prophead on December 08, 2016, 03:18:27 pm

Need a pointer: where to obtain the YOUR_DOORBELL_SCENE_ID value for any of my scenes (I assume this is an integer value). Thank you for your efforts!

This can be found in the advanced tab of the scene or device
|-<:)

OK, know where to find that for devices, but where is the advanced tab for scenes? Thanks!
it's on the main scenes screen in brackets right after the scene name.
|-<:)
Title: Re: Doorbird API released
Post by: prophead on December 08, 2016, 03:19:56 pm
I'm researching door bells / door video intercoms right now. Is the doorbird the only one that integrates with Vera right now? Can it trigger turning on additional cameras around the porch? That is what I'd like to do ultimately with it.

TIA.
You can set it to run a scene, then in that scene you can do anything, trigger other cameras, run luup code, anything your vera can do.
|-<:)
Title: Re: Doorbird API released
Post by: Sammy2 on December 08, 2016, 07:06:28 pm
I'm researching door bells / door video intercoms right now. Is the doorbird the only one that integrates with Vera right now? Can it trigger turning on additional cameras around the porch? That is what I'd like to do ultimately with it.

TIA.
You can set it to run a scene, then in that scene you can do anything, trigger other cameras, run luup code, anything your vera can do.
|-<:)

That's pretty cool.. The Doorbird is very spendy and I'm still researching things.

I'm looking into a Yale Door Look (http://forum.micasaverde.com/index.php/topic,40710.0.html) which costs the same as a Ring and according to a phone call to Yale CS this morning will have z-wave coming out 1Q2017. I might just wait but I got to thinking that if it is WiFi, could it be possible to hook it into the Vera anyhow? I'm going to call back tomorrow and see if it is an ip camera which should show as a generic ip camera on Vera, don't you think?
Title: Re: Doorbird API released
Post by: Dansker on December 09, 2016, 05:39:01 am
OKAyyyy, thank you very much, sigh!

Will try this Monday when on site. Can you ask the Doorbird to send both motion as well as button push notifications?

All the best!
Title: Re: Doorbird API released
Post by: prophead on December 09, 2016, 11:55:38 am
OKAyyyy, thank you very much, sigh!

Will try this Monday when on site. Can you ask the Doorbird to send both motion as well as button push notifications?

All the best!
Yes, I have both going, the motion turns on the porch light (at night) and notifies my phone.  The bell rings the chimes and turns on the hall light (if it's night)
|-<:)
Title: Re: Doorbird API released
Post by: Sammy2 on December 09, 2016, 02:25:20 pm
OKAyyyy, thank you very much, sigh!

Will try this Monday when on site. Can you ask the Doorbird to send both motion as well as button push notifications?

All the best!
Yes, I have both going, the motion turns on the porch light (at night) and notifies my phone.  The bell rings the chimes and turns on the hall light (if it's night)
|-<:)

I suppose that could be used to trigger another camera on the porch or front yard too..
Title: Re: Doorbird API released
Post by: Sammy2 on December 09, 2016, 02:26:44 pm
I'm researching door bells / door video intercoms right now. Is the doorbird the only one that integrates with Vera right now? Can it trigger turning on additional cameras around the porch? That is what I'd like to do ultimately with it.

TIA.
You can set it to run a scene, then in that scene you can do anything, trigger other cameras, run luup code, anything your vera can do.
|-<:)

That's pretty cool.. The Doorbird is very spendy and I'm still researching things.

I'm looking into a Yale Door Look (http://forum.micasaverde.com/index.php/topic,40710.0.html) which costs the same as a Ring and according to a phone call to Yale CS this morning will have z-wave coming out 1Q2017. I might just wait but I got to thinking that if it is WiFi, could it be possible to hook it into the Vera anyhow? I'm going to call back tomorrow and see if it is an ip camera which should show as a generic ip camera on Vera, don't you think?

So I called Yale again and found out this (http://forum.micasaverde.com/index.php/topic,40710.msg301397.html#msg301397).
Title: Re: Doorbird API released
Post by: Jamr on March 28, 2017, 01:07:23 am
It seems no one with coding experience is willing to make a Vera add on for this device. Unfortunately I have no coding experience but would love to document a way for us non coders to add this device to our Veras.
Is there someone here that has got their Doorbird and Vera to work together to contact me so we can get these two great devices to work together and document the process.
I have also tried this persons directions and none of the directions seem to work, but I do like his direction as it seems his Vera is talking directly to the DB so if the internet is down, my DB/Vera scenes will still run. If i understand it correctly, subscrbing uses the internet and thus, no internet, no scenes.
https://marchome.files.wordpress.com/2016/10/how-to-use-doorbird-on-vera-rev-1.pdf

Please respond here if you are interested in doing this with me.
Thanks.
Title: Re: Doorbird API released
Post by: prophead on March 28, 2017, 02:25:17 am
I have my DB and Vera working perfectly together, no plugin needed.
If you read this entire thread you will see how.
http://forum.micasaverde.com/index.php/topic,34857.msg290326.html#msg290326 (http://forum.micasaverde.com/index.php/topic,34857.msg290326.html#msg290326)
|-<:/

It seems no one with coding experience is willing to make a Vera add on for this device. Unfortunately I have no coding experience but would love to document a way for us non coders to add this device to our Veras.
Is there someone here that has got their Doorbird and Vera to work together to contact me so we can get these two great devices to work together and document the process.
I have also tried this persons directions and none of the directions seem to work, but I do like his direction as it seems his Vera is talking directly to the DB so if the internet is down, my DB/Vera scenes will still run. If i understand it correctly, subscrbing uses the internet and thus, no internet, no scenes.
https://marchome.files.wordpress.com/2016/10/how-to-use-doorbird-on-vera-rev-1.pdf

Please respond here if you are interested in doing this with me.
Thanks.
Title: Re: Doorbird API released
Post by: prophead on March 28, 2017, 02:34:32 am
If you subscribe (which is a one-time thing) using your vera's LAN ip address the http call to your vera does not need to touch the internet.  Mine (hard wired ethernet) has has worked 100% of the time.

|-<:)

...If i understand it correctly, subscrbing uses the internet and thus, no internet, no scenes.
...
Title: Re: Doorbird API released
Post by: Albert1 on April 08, 2017, 12:18:01 pm
For the camera to work I used: YOUR_IP://bha-api/image.cgi?http-user=DOORBIRD_USER&http-password=DOORBIRD_PASSWORD.

image.cgi will allow taking and saving pictures. you will see the image under cameras as well as when you select it
video.cgi  will allow you to see live video under cameras. However it does not work when you select it. It will say no connection

My DoorBird is wired with PoE. I have implemented a scene that will turn lights on at night when the gate is open. I follow the  instruction posted earlier here:

http://YOUR_DOORBIRD_IP/bha-api/notification.cgi?url=http://YOUR_VERA_IP:3480/data_request?id=action%26serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1%26action=RunScene%26SceneNum=YOUR_DOORBELL_SCENE_ID&event=dooropen&subscribe=1
Title: Re: Doorbird API released
Post by: Jamr on April 19, 2017, 02:30:40 am
Thanks for the help here. I now have scenes running off of the button press and the motion trigger.
One problem I cant figure out.
I would like to trigger the IR of the Doorbird with the Vera.

The API gives me the URL to do this. (http://<deviceip>/bha-api/light-on.cgi) I know the URL works as I have tested it in my browser.
http://www.doorbird.com/downloads/api_lan.pdf?rev=0.16

I found the Loop code that should trigger a URL (  local status, result = luup.inet.wget("http://www.yahoo.com", 5)) I replaced the yahoo address with the URL above so it looks like this.   local status, result = luup.inet.wget("http://XX.XX.XX.XX/bha-api/light-on.cgi", 5) With the X's being my IP of the Doorbird. I placed this loop code in the loop section in the scene.
http://wiki.micasaverde.com/index.php/Luup_Scenes_Events#Invoke_HTTP_URL_with_GET_request_.28Method_1.29

I have created a virtual switch and a scene that triggers when the switch is on. I know the scene triggers.
The problem it seems is that the scene will not execute the Loop code or the loop code does not work.

Anyone know what I am doing wrong?
Title: Re: Doorbird API released
Post by: Albert1 on April 19, 2017, 09:46:50 am
Hi Jamr,

I think your syntax is incorrect. I use the following to send a command to open/close the gate

luup.inet.wget('http://YOUR_IP/bha-api/open-door.cgi?http-user=NAME&http-password=PASSWORD')

so to turn on the IR I would use:

luup.inet.wget('http://YOUR_IP/bha-api/light-on.cgi?http-user=NAME&http-password=PASSWORD')
Title: Re: Doorbird API released
Post by: Jamr on April 19, 2017, 01:35:36 pm
Hi Jamr,

I think your syntax is incorrect. I use the following to send a command to open/close the gate

luup.inet.wget('http://YOUR_IP/bha-api/open-door.cgi?http-user=NAME&http-password=PASSWORD')

so to turn on the IR I would use:

luup.inet.wget('http://YOUR_IP/bha-api/light-on.cgi?http-user=NAME&http-password=PASSWORD')

You are right Albert1. Before seeing your post, I thought I would try it again with the user name and password so I tried this syntax and it worked!
http://<DB_USER_NAME>:<DB_PASSWORD>@<DB_IP_ADRESS>/bha-api/light-on.cgi

So the entire Loop code to turn on the Doorbird IR is this.
  local status, result = luup.inet.wget("http://<DB_USER_NAME>:<DB_PASSWORD>@<DB_IP_ADRESS>/bha-api/light-on.cgi", 5)

Is there any operational difference in this syntax and your syntax?

The Loop code provided via Vera includes a ", 5)" at the end and says "  -- 5 Second timeout" on top of this code. Can I assume this stops running the code after 5 seconds? Is it necessary?
Title: Re: Doorbird API released
Post by: Albert1 on April 19, 2017, 03:59:37 pm
Well, you cannot argue with success! I suppose that the order does not affect the result.

Regarding the 5 sec I do not know enough to say why is there.


Sent from my iPhone using Tapatalk
Title: Re: Doorbird API released
Post by: Jamr on April 24, 2017, 09:07:37 pm
Ok I need to upgrade my automation.
I currently have scenes being triggered by the Doorbirds motion and button press. This only gives me the ability to trigger one scene.
I would like to trigger a virtual device instead and trigger scenes with this device as it will give me more flexibility and the ability to trigger multiple scenes when that virtual device is triggered.

I currently have obtained this URL to trigger a virtual sensor but it does not work.
http://<Doorbird_IP>/bha‐
api/notification.cgi?url=http://<Vera_IP>:3480/data_request?id=action%26DeviceNum=<Virtual_Sensor_ID>%26s
erviceId=urn:dcineco‐
com:serviceId:VMotion1%26action=SetTripped&event=doorbell&relaxation=120&subscribe=1

When I enter this URL I get a 404 error and yes I did correct the information in between the <>.
Anyone know where the error is?

This URL works for triggering a scene and successfully turns the subscription on and off.
http://<YOUR_DOORBIRD_IP>/bha-api/notification.cgi?url=http://<YOUR_VERA_IP>:3480/data_request?id=action%26serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1%26action=RunScene%26SceneNum=<SCENE_#>&event=motionsensor&subscribe=1

Any help is appreciated.
Thanks.
Title: Re: Doorbird API released
Post by: Albert1 on May 03, 2017, 06:48:39 pm
Jamr what I've done is to create a multiswitch. Then in the scenes triggered by Doorbird (doorbell, gate opening and motion sensed) add the multiswitch device, setting button 1,2 or 3 for each case. Be sure to set them as pulse buttons so they will go on for 200 ms. And then off again. Then you can create scenes when the desired multiswitch action is triggered.


Sent from my iPhone using Tapatalk
Title: Re: Doorbird API released
Post by: serhito on May 28, 2017, 10:10:31 pm
sorry if I don't sound technical, but I need to verify that it would be a system that would suit my needs.

I would like to install a doorbird at my driveway gate and be able to open the gate from my iPhone. I have been using Homewave.
I am not sure I understand how it works. Is it possible to fully integrate the video feed as well as triggering the opening of the gate from within homewave ?
Or... is it possible to open the gate from within the doorbird app. How would I do that ? Is it just a question of wiring the doorbird to the gate ? I looked at a video online where the guy clicks to open the garage from within the doorbird app but it seems to take him to the lift master app to open the garage. Is there a way to link that button and automatically open homewave to open the gate ?
Either or is fine, but if I have to tell my wife to use 2 different apps to talk to people and then open the gate, that will be a no go. LOL

As far as connecting the gate to vera, can I use the same system as was described to open a garage door with a relay ?

Thanks


Title: Re: Doorbird API released
Post by: agame on June 02, 2017, 12:05:41 am
the door bird API works perfectly. Both for upload of image, and for creating a virtual doorbell. I have my SONOS announce the doorbell using the text to speech capability of the SONOS plugin.
Title: Re: Doorbird API released
Post by: Albert1 on June 02, 2017, 06:57:17 am
Serhito,
It should work with home wave. Just follow the instructions posted earlier.

The Doorbird has connections on the back for Ethernet, relay, gate, doorbell and power. You will need to wire these. I use Ethernet with PoE. The app works very well.

With Vera I have video and scenes for the doorbell, open/stop/close the gate, gate opening, and motion. The only thing that cannot be done is to talk and listen.


Sent from my iPhone using Tapatalk
Title: Re: Doorbird API released
Post by: Albert1 on June 02, 2017, 07:00:10 am
http://www.doorbird.com/manual?mobile=true (http://www.doorbird.com/manual?mobile=true)


Sent from my iPhone using Tapatalk