If your device uses the Z-Wave Switch and Child Mc or Z-Wave Sensor and Child Thermostat Mc driver then they already have this driver built in to configure any parameter or association group creating a virtual configurator device and you donβt need to change to this driver:
Link to post releaseZ-Wave Switch and Child Mc and Z-Wave Sensor and Child Thermostat Mc device config built in
My Recommendation:
The parameters that can be changed with the preferences of the driver used by the device is better to change them in its driver, since if you change them with the driver Z-Wave Device Config Mc, when you return to the original driver, the preferences values will not coincide with the real values in the device. Driver Preferences values are not dynamically updated by reading the value of the parameter on the device
How does it work?
Make a driver change to Z-Wave Device Config Mc on the device you want to configure. Initial all values ββdisplayed will be 0. Note:
If you have automations that affect this device, they may be missing or disabled. Add a virtual device on them so they donβt get lost.
Before the update of the android app they remained as an unknown action.
Now the device will disappear from the automation and if in actions or conditions there is only this device, the automation is deleted. If there are more devices it will only be disabled
In Select Config Parameter Action, select βGetβ
The value and size in Bytes of the parameter will be shown in its fields
If you want to Get another parameter, perform step 1 and before step 2 select the value βSelectβ and then βGetβ. (Iβll improve this when I find how to send a value to a custom capability command)
Enter the size in Bytes of the parameter according to the device manual. (0 to 7)
In field Select Config Parameter Action, select βSendβ
The value and size in Bytes of the parameter will be sent to the device and will be displayed in its fields
If you want to write another parameter, do step 1 and 2 and before step 3 select the value βSelectβ and then βSendβ. (Iβll improve this when I find how to send a value to a custom capability command)
I had not noticed! thank you
In the capability and its presentation there is no limit for that attribute which is an integer. I donβt know why the app puts a limit from 0 to 100.
Will I have to make a presentation with other limits? @nayelyz
Mmmm is it a custom capability? Can you share its ID, please?
Also, Iβm curious about the content of the VID to see if there appears something, if we donβt set a limit in any place for the custom capability, there shouldnβt be a range predefinedβ¦
Did you ever set that limit but modified the configuration after a while?
Only legendabsolute60149.parameterSize has a limit from 0 to 7 in the definition, but in the presentations there is no limit placed on either.
At three he has set the limit from 0 to 100
I donβt know if this is whatβs going on, but in the past there have sometimes been problems when the ST UI assumed that a value was a percentage, hence the limits from 0 to 100, but in fact it was just a numeric value.
You might also want to make sure that the field can accept negative values, as these are required for some zwave parameters. Temperature range is a common example. (Some manufacturers like Fibaro do use twoβs complement values for negative numbers in unsigned fields, of course, in which case you will see very large values in the field.)
I have modified the presentations of the custom capabilities for Z-Wave Device Config Mc and they have been updated perfectly just by clearing the cache of the android app. This is good news.
I have set the limits shown in the default libraries for c.c. version 4 configuration:
--- @field public parameter_number integer [0.65535]
--- @field public size integer [0.7]
--- @field public parameter integer [-2147483648,2147483647]
Although the Size limit, i think, should be set from 1 to 7 since if you enter 0 it gives a fatal error because that value is not allowed.
WARNING For devices that use this parameter values ans sizes:
value: 0 to 65535 and Size: 2 Byte:
When Doing Get: for values ββ32768 to 65535 , you will see a negative value between -1 and -32768 (-1 = 65535 and -32768 = 32768 that has the device saved)
When sending the value you have to send a value between 0 and 65535 as the manual says
Value: 0 to 255 and Size: 1 Byte:
When doing Get: for values ββ128 to 255, you will see a negative value between -1 and -128 (-1= 255 and -128 = 128 that has the device saved)
When sending the value you have to send a value between 0 and 255 as the manual says
I put a link to the post to see if smartthings gives a solution
This is the version with the changes.
βββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββ
β Name β Z-Wave Device Config Mc β
β Version β 2022-08-13T09:42:28.107547483 β
βββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββ
UPDATE: A fast and safe method to modify a parameter that is not affected by the problem of negative values and size:
Enter the value of the parameter to modify
Click on Get
It will show the value and the correctsize that the device sends
Modify the value of the parameter that we want to change
Click on Send
Once it shows βNew Action Click Selectβ press Get again and I will confirm that the value shown is the one you entered
Thank you all for the comments of the errors to improve it
If you have a Z-wave device paired with an edge driver and it does not have all the configuration parameters available in preferences and you need to change some of those that are not shown in the driver preferences
Many zwave devices have configurable parameters that are not exposed in the official edge drivers. Since zwave parameters are stored in the firmware of the device, if thereβs a parameter you want to set that is not available through the official edge driver, you should be able to switch temporarily to this edge driver, set the parameter, then switch back to the original driver for everyday use.
See the Fibaro multisensor for a good example of a zwave device with a lot of advanced parameters:
This does not appear to be working on an Aeotec TriSensor, I woke up the device and tried to get and change the parameters, but it does not appear to have done anything. Itβs an outdoor mounted unit and it is hot now so I will play with it in the morning and report back.
Many battery powered zwave devices only accept configuration changes at the time they are joined to the network unless you do what is called a βforced wake up. β
And still others have a fairly long waiting period in between when they will accept configuration changes. All of this is done to save battery life.
Normally, the Aeotec trisensor only accepts configuration changes every four hours. So even if the edge Driver does a forced wake up (I donβt know whether it does or not) it could be four hours before you see the changes take effect.
Sometimes the manufacturer will have included a forced wake up button on the device itself, and then holding that in will cause the device to immediately process any pending changes. But you have to check the user manual to find out if thereβs a specific tap pattern or length of time you have to hold it.
The Aeotec trisensor does have a button of this type, itβs described in the user manual.
So itβs possible that your changes are still pending and just havenβt taken effect yet.
As always, the first rule of home automation applies: βthe model number matters.β Youβll have to check the user manual for any batterypowered device you want to use this edge driver with to see if thereβs anything special you need to do to get the changes accepted. (since Mains-powered devices donβt have to worry about battery life, they will generally accept a reconfiguration request at pretty much any time.)
Hereβs the old Groovy DTH, where you can see the same issue is being discussed. There wonβt be any difference between an edge driver and a groovy DTH in this regard, the issue comes from the way the device itself is manufactured.
Added scanning function of all the values ββof the device configuration parameters (1 to 255). You can choose the search range. (For the 255 parameters it takes about 15 or 20 sec to process)
NOTE:
Remember that the default libraries only understand signed integer values and therefore negative values can actually be the 2βs complement of the actual value on the device. You have to check with the device manual the range of values of these parameters to know the real value stored and the one we have to send when changing it. (See this Post)
These functions are accessed from preferences. Choosing one of them changes to a specific profile for that function. This requires that to see the new profile you have to close the device and reopen it in a few seconds.
In the Device Parameters configuration function I have added a button to execute the Get, Send or Select action chosen in the list. This is because the app command handles selecting values ββfrom the list has changed and it no longer send repeated commands.
Added Visibility to false to all events so they donβt show up in device history
As I have not seen any problems being updated, the driver update will be done automatically, but you will have to clear the appβs cache to see the new profiles correctly.
New version is this:
βββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββ
β Name β Z-Wave Device Config Mc β
β Version β 2022-08-18T20:03:38.502231317 β
βββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββ
Iβll be adding more features like, association groups as I learn how to do it. I donβt quite understand how association groups work with other devices and searching for information in libraries and documentation is tedious.
Only know how made the device association group with Hub
If anyone knows and wants to help, they are welcome.