Does anyone know of an example url string to get the status of a non-motorized Schlage Lock. I want to write some LUUP code conditional lock status triggers with push alerts to a mobile device?
For a list of variables and Actions see:
http://wiki.micasaverde.com/index.php/Luup_UPnP_Variables_and_Actions#DoorLock1
For a list of Functions (in your case you need luup.variable_get) see:
http://wiki.micasaverde.com/index.php/Luup_Lua_extensions#function:_variable_get
Right, because I need the return value as part of my condition. Thanks for the links Richard. I was debating if I should have just opened the devices xml files and search for it or just sift through the logs.
I like the app you wrote PLEG. It looked like a simple and easy way to accomplish my goal=(if deadbolt is unlocked for > 10000seconds push notification to mobile device).