…and (thanks to 'martnwendon" in a separate message) I can now lock the keyfob to stop false triggers.
The magic is as follows:
First, choose how long you want to wait before the keyfob locks itself automatically, if you want to have a specific button to press to lock the keyfob, and what button combination you want to use to wake it up. The manual shows you what each button value is, and you just calculate the total number from that. There are also calculators here: Lock mode | FIBARO Manuals
Anyhow, I wanted to use the minus & plus keys (note that it is order sensitive - so it’s minus first then plus) to unlock the device (which is 5 + 8*6 = 53), and have a 30 second auto lock. I went into Device Options for the keyfob and I changed:
1- Lock Mode (disabled or calculated value) - 2 byte dec - changed from 0 to 53
2- Lock Mode time to lock and locking button (disabled or calculated value) - 2 byte dec - 60 default, changed to 30
I then hit “save” and immediately pressed the circle & plus button to wake it up so it would get the new settings.
Now comes the slightly tricky part. Need to set the Protection Command Class, and there is no direct option to do that via the GUI in Vera. To do it, you need to first:
Identify the node ID for the keyfob. Go into device settings, and you should see under “Variables” a number starting with ID. In my case it was “ID35”.
Go into apps/develop apps, open the test lua window and use these commands (replacing “nn” with the NODE ID of your Fibaro Keyfob - in my case it was “ID35”). Note that as soon as you hit enter, press the circle and plus buttons to wake up the remote so it will get the command.
To set Protection By Sequence
luup.call_action('urn:micasaverde-com:serviceId:ZWaveNetwork1','SendData',{Node='nn',Data='117 1 1'},1)
To set it back to default (Unprotected)
luup.call_action('urn:micasaverde-com:serviceId:ZWaveNetwork1','SendData',{Node='nn',Data='117 1 0'},1)
You might need to try this a few times in case you ran the command but the keyfob wasn’t awake to get it. It worked first time for me, though. If you are having issues, place the keyfob on top of your Vera. Once done, the keyfob should now automatically lock after the amount of time you have specified, and before using it you just need to press the unlock button combination.
update
I can confirm that after two weeks not only is this working, it’s working well. By setting the automatic lock it may be slightly annoying to have to unlock just before using, but it does mean that it works immediately when I return home. There are also no false triggers when the keyfob hits something, and the battery is definitely lasting longer. Now that everything is sorted I may replace the battery one more time (I got some spares as it was eating them so quickly), re-enable some of the scenes I’d removed, and see exactly how long the battery lasts now given that I am using it maybe once a day on average (which actually means three button clicks - two to unlock and one to fire of the scene).