openhab / org.openhab.binding.zwave

openHAB binding for Z-Wave
Eclipse Public License 2.0
170 stars 202 forks source link

Fibaro FGKF-601 Protection Class Channel #1794

Open kpanchen opened 1 year ago

kpanchen commented 1 year ago

Hi,

This device has an option to be protected from accidental keypress, documentation indicates for that to be enabled COMMAND_CLASS_PROTECTION need to be set to "SEQUENCE". Here's extract from XML file:

      <entry>
        <commandClass>COMMAND_CLASS_PROTECTION</commandClass>
        <COMMAND__CLASS__PROTECTION>
          <version>2</version>
          <instances>1</instances>
          <control>false</control>
          <versionSupported>2</versionSupported>
          <localModes>
            <localProtection>UNPROTECTED</localProtection>
            <localProtection>SEQUENCE</localProtection>
          </localModes>
          <rfModes>
            <rfProtection>UNPROTECTED</rfProtection>
          </rfModes>
        </COMMAND__CLASS__PROTECTION>
      </entry>

I can add an additional channel to the database but I'm not sure how to configure it, would it be just enough to create a channel and set it type to "protect_local"? Can values be somehow provided? As I understand it is not possible to test the change before database is updated.

Thank you, K.