Url to control a lock locally ?

I know some urls I can use to control light turning on and off but I’d like to lock or unlock a door via an url but can’t work out what that url should be.

I came up with
http://192.168.1.95:3480/data_request?id=variableset&DeviceNum=100&serviceId=urn:micasaverde-com:serviceId:DoorLock1&Variable=Status&Value=1

It shows OK on screen but doesn’t do anything… Anybody else have any ideas?

Try:

http://192.168.1.95:3480/data_request?id=action&DeviceNum=100&serviceId=urn:micasaverde-com:serviceId:DoorLock1&action=SetTarget&newTargetValue=1

Worked perfectly :slight_smile:

Thank you!