Trying to unlock door via LuuP, no success

All,

Just wondering if this is the correct URL to unlock a door? The identifying information is fake.

https://fwd1.mios.com/jpe/byunngle/35044444/data_request?id=variableset&DeviceNum=3&serviceId=urn:micasaverde-com:serviceId:DoorLock1&Variable=Status&Value=1

When I enter that URL in a browser I get Ok but the door does not unlock. I checked the Luup logs and do not see a corresponding entry when I run the URL.

Any suggestions? I get Ok in the web browser when I enter the URL, but there is no entry in LuaUPnP.log

John

P.s. I am using a Veralite, UI5

No, you do not use variableset. Variableset should only be used to setting the values of the variables. In order to have a device actually perform an action, you’ll need to call the lu_action api.

https://fwd1.mios.com/jpe/byunngle/35044444/data_request?id=lu_action&output_format=json&serviceId=urn:micasaverde-com:serviceId:DoorLock1&DeviceNum=3&action=SetTarget&newTargetValue=1

I suggest you look at the following:

http://wiki.micasaverde.com/index.php/Luup_Devices

  • Garrett

I know exactly what you are talking about. My URL only returns the variable? But the action actually does something

Thanks your link was all I needed to get it working!

I feel so stupid now. I should have noticed the variable part. Thanks again,

Now I may try more things to do with Luup. I need some ideas. My first task is to hookup some automated blinds in my bedroom.