Hi, i have a Z-wave device that needs some updates in the database. I want to change a channel, add some channels and change some parameter definitions.
I also would like to add some channels to the device:
I need a channel for writing option value 5 and one channel for writing option value 6. Each channel generates a new code in slot 108 so they need a third channel for reading out the new service code generated.
<parameter name="config_6_1" type="integer" groupName="configuration">
<label>6: Service PIN Mode</label>
<description>Sets the validity of the service PIN</description>
<default>0</default>
<options>
<option value="0">Deactivated</option>
<option value="1">Valid 1 time</option>
<option value="2">Valid 2 times</option>
<option value="3">Valid 5 times</option>
<option value="4">Valid 10 times</option>
<option value="5">Random PIN, valid 1 time</option>
<option value="6">Random PIN, valid 24 hours</option>
<option value="7">Always Valid</option>
<option value="8">Valid for 12h</option>
<option value="9">Valid for 24h</option>
<option value="254">Disabled</option>
</options>
<limitToOptions>false</limitToOptions>
</parameter>
I also have some parameter definitions that should be added but that seems to be easier
I would also like to have one channel to enable or disable Away mode. And maybe Auto Lock but that is not as important.
<parameter name="config_1_1" type="integer" groupName="configuration">
<label>1: Door lock mode</label>
<description>Set if the lock is in away mode and if automatic locking should be enabled</description>
<default>1</default>
<options>
<option value="0">Disable Away Manual Lock</option>
<option value="1">Disable Away Auto Lock</option>
<option value="2">Enable Away Manual Lock</option>
<option value="3">Enable Away Auto Lock</option>
</options>
<limitToOptions>false</limitToOptions>
</parameter>
Is this due to newer firmware? If so perhaps a new entry is needed in the community maintained database.
Channel information is entered from the information provided by a device itself and stored in an xml file by OH. It is usually correct for that firmware level.
If this is due to new firmware, that can be done. If you wish to try, here is the database guide.
People may be slower responding than usual due to the server recovering from failure and the holiday season.
The access_control should respond with “3” in this case in the user interface. I’m thinking we get these changes to work first and then i can try to make the rest of the changes. Uploaded new user documentation too. Maybe you can remove the obsolete.
Changes do not take affect immediately. The changes heed to be reviewed & approved. We then wait for the database to be exported to GitHub.
The OH build process then uses the export in a new snapshot binding build. You can then manually install the binding, delete your Thing, & re-add to get the changes.
There is a script here to help with the manual installation.
<parameter name="config_1_1" type="integer" groupName="configuration">
<label>1: Door lock mode</label>
<description><![CDATA[
Set if the lock is in away mode and if automatic locking should be enabled<br /> <h1>Overview</h1><p>Auto lock Mode, Manual lock mode, Activate Away Mode, Deactivate Away Mode.</p> <p>If value is 0x02 (Enable Away, Manual lock) and the door is unlocked value will be set to 0x00.</p> <p>If value is 0x03 (Enable Away, Auto lock) and the door is unlocked value will be set to 0x01.</p> <p> Default Value: 1 (Disable Away/Auto Lock Mode)</p>
]]></description>
<default>1</default>
<options>
<option value="0">Disable Away Manual Lock</option>
<option value="1">Disable Away Auto Lock</option>
<option value="2">Enable Away Manual Lock</option>
<option value="3">Enable Away Auto Lock</option>
</options>
<limitToOptions>false</limitToOptions>
</parameter>
As far as I can see this is inline with what’s in the 1.6 zwave firmware.
Are there any other changes you are thinking of?
Btw, I applied your config changes to the binding and compiled it. I will try it out tomorrow (due to lack of time). But looks good in habmin at least:
There hasn’t been any changes in the z-wave firmware with these parameters. Just bad documentation. They still have some parts that are inconclusive in their documents but the z-wave quick sheet seems to be most up to date.
They probably did som major rework when they launched the 1.6 FW for the z-wave module but there already is a version for 1.5 or lower.
The firmware (not z-wave module) in the lock can be upgraded with the app and they advise all users to always keep their locks upgraded. For example settings 1.8 and 1.9 have been added but none removed. I think it’s mostly some cleaning up to do in the code for the lock here.
I did not look closely at documentation changes since the new system automatically changes much of that making the diff for the change difficult to find real changes.
Service PIN is the pin code in slot 108 that can be set from the user or generated by sending a 5 or 6 to the service parameter.This writes a random code in that slot.
So that from the control tab I can send a 5 or 6 with a button and read out the generated code.