Syntax for a http request

Hi all,

I’m trying to send a http request to Vera from my Doorbird doorbell. I want to send a open command to a doorlock (Popp Door Strike Controller, a very weird device, btw).

The command to send in the string sent by the Doorbird would be:

urn:micasaverde-com:serviceId:DoorLock1&action=SetTarget

But I don’t know how to include here: newTargetValue=0 which would open the doorlock. Any help on what is the syntax of the remaining portion of the string to send the open command?

I tried urn:micasaverde-com:serviceId:DoorLock1&action=SetTarget&newTargetValue=0 but it doesn’t work

This looks like an incomplete Vera request. You should use someting like:

http://VeraIP/port_3480/data_request?id=action&DeviceNum=42&serviceId=urn:micasaverde-com:serviceId:DoorLock1&action=SetTarget&newTargetValue=0

1 Like

Hi, thx for the quick reply! The first part I know, I have another http request already working. My issue was with the syntax to pass the value of the parameter.

FYI, I’m using the virtual motion sensor to receive the call from the Doorbird like this:

http://doorbird-user-id:password@192.168.70.137/bha-api/notification.cgi?url=http://192.168.70.202:3480/data_request?id=action%26DeviceNum=767%26serviceId=urn:dcineco-com:serviceId:VMotion1%26action=SetTripped&event=dooropen&relaxation=120&subscribe=1

I’ll try your suggestion, thx!

Best Home Automation shopping experience. Shop at getvera!

© 2020 Vera Control Ltd., All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules