The Eversping is shown as MotionSensor. The last code I tried was:
local sIsTripped1=luup.variable_get(“urn:upnp-org:serviceId:MotionSensor1”,“Tripped”,4)
local sIsTripped2=luup.variable_get(“urn:upnp-org:serviceId:MotionSensor1”,“Tripped”,3)
(You probably want to obscure your Prowl API key in that message, unless you want random people sending you notifications.)
“urn:upnp-org:serviceId:MotionSensor1” is probably wrong. I’m sure you tried “urn:micasaverde-com:serviceId:SecuritySensor1”, but go back to that one, it’s much more likely to be correct. Copy and paste it to be sure you spell it correctly; I copied straight from Vera into this post so I know it’s right.
I have to take on faith that your device IDs are correct. They are the number that appears next to “Device #” when you look at the device’s Advanced tab. The Z-Wave device number isn’t necessarily the same.
Other than that, your logic seems fine, and I can’t see any Lua syntax errors. (Does the “ü” work correctly? I’m always paranoid about non-ASCII characters, so I probably would have spelled it “ue”, at least during testing.)
Yes, you can look at exactly the same files that the user interface uses.
In UI4, open up the device you are interested in, and go to its Advanced tab. Look for the device_file entry. Note the value (it will be a filename ending in “.xml”). (Example: a motion sensor is D_MotionSensor1.xml.)
Now go to MiOS developers > Luup files, and find the filename the same as what you just noted. View the file (if your browser lets you) or download it and open it in a text editor. There is text between and , which is itself a filename (ending in “.json”). View that file in your browser, or download it. (Example: the motion sensor’s staticJson file is D_MotionSensor1.json.)
What you’re looking for in that file is the eventList section, customarily towards the end of the file. In that section you’ll see groups of entries, with serviceId and argumentList. The two strings that you need are:
[ul][li]The string in serviceId (example: urn:micasaverde-com:serviceId:SecuritySensor1), and[/li]
[li]The string in name inside argumentList (example: Tripped).[/li][/ul]
Copy and paste wherever possible to avoid mistyping. Case is important too.