I’ve finally taken the step to move from my vera edge to a pure openHAB 3.0 installation with the Z-Wave binding.
I’ve setup all my things in .things files and everything seems to work so far.
For some of my dimmers, the devices react quite slowly and I’d like to adjust the Command Poll Period from 1500ms to 4000ms. I’ve tested that in the main UI.
I understand from various threads, that it’s not possible to configure device config parameters in .things files, but I was wondering is you can specify somehow the command poll period, since that’s kind of independent of the device type. Any ideas?
It is not recommended to set up .things files because it is too easy to cause issues. Using the UI for setting up Things insures the syntax is exactly correct. The majority of people here using text files still set up Things through the UI.
That’s kind of what I’ve done. I’ve created a thing in the UI, then made sure I got the correct thing type etc. and created a .thing file. All the basic Z-Wave bits are working fine with the thing file.
What I’m not sure of is how to set the command polling time in a thing file, because as soon as I define a Z-Wave thing in a file, the UI becomes read-only.
So not withstanding everything that @sihui and @Bruce_Osborne have said about the issues around using file configuration (which I completely agree with), to answer your question -:
You should be able to configure binding configuration in the things file - just the same as other configuration (eg you have node_id=10).