Does anyone know if it is possible to get the sensitivity level of a trip from the HSM100/3-in-1/EZmotion sensor?
I have been looking through the variables you can get and don’t see anything that would make this possible.
Thanks.
Does anyone know if it is possible to get the sensitivity level of a trip from the HSM100/3-in-1/EZmotion sensor?
I have been looking through the variables you can get and don’t see anything that would make this possible.
Thanks.
Yes, it’s possible, check the attached images. The VariablesGet variable is associated with the 3-in-1 device itself, and not with any of its children. So when you get the value with luup.variable_get, you need to pass in the 3-in-1 device’s ID.
e.g.
local values = luup.variable_get ("urn:micasaverde-com:serviceId:ZWaveDevice1", "VariablesGet", <HSM100_device_id>)
for k, v in values:gmatch ("(%d+),(%d+)") do
<do_something_with_k_and_v>
end
Thanks mcvflorin. Just to make sure we are on the same page, I am referring to not getting the sensitivity variable/option of the 3-in-1 but the sensitivity level of each trip/or the last trip that happened with the motion sensor. So if I go wave my hand in front of the sensor, I’d like to see what level of motion that generated. For instance, was the particular motion I made a 57/255, a 212/255, etc.
Additionally, if that data is available, where would be the best place to put the Luup code to capture that in the logs?
Thanks.
Not sure that exists; if available, you would presumably only be able to retrieve it when not battery operated, as AFAIK they just send an On (see variable 6 in @mcvflorin’s screenshot), or Off, to the associated devices when (un)tripped, then go back to sleep.
Ok, I understand now. Unfortunately, I’m pretty sure that this is never reported to Vera.
Ahh bummer. Okay, thanks for your help!
Best Home Automation shopping experience. Shop at Ezlo!
© 2024 Ezlo Innovation, All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules