Hey folks, I am trying to configure this device - and Refuse to let it beat me.
I am using the v2 UK hub, and the EU/UK v3.2 device.
I have tried the Fibaro Motion Sensor ZW5 handler… and it works.
I would like to change a few of the parameters.
As a pure test i would like to just disable the tamper detection (as this is very easy to check if its worked… just shake it). In the Manual this is Parameter 20, its a single byte value - and from what the manual describes setting it to 0 should disable any notifications for tamper.
So due to the template for Fibaro Motion Sensor being the old version (non 3.2) i found this code.
Which i believe is the latest code for the v3.2 device.
Now the next step is where i am confused, i have seen this code setup in multiple syntax variations.
This is the code i would like to use.
cmds << zwave.configurationV1.configurationSet(configurationValue: [0], parameterNumber: 20, size: 1).format()
or
cmds += zwave.configurationV2.configurationSet(parameterNumber: 20, size: 1, configurationValue: [0])
configurationV1 <-- should this be V1 or V2.
configurationValue and ParameterNumber, Is also swapped in the above line of code. Does this matter?
Finally where to add the code above.
From what I’ve read it should be in the: def configure() { } block but does it matter where within this?
Any help would be appreciated, as all the other device handlers outside of the official one have given varying degrees in working.