GJ Software Products Posted May 28, 2022 Posted May 28, 2022 FEATURE REQUEST: I was just working with Zooz troubleshooting/understanding why the Relay button seems to track with the 4 smaller buttons and they asked me for all the Parameter settings. I had to do this one by one and thought it would be nice if you could display all Parameters in one click. Understanding this may not be possible if the Z-Wave device doesn't give you a total count of available Parameters you wouldn't know when to stop the loop through the Parameters table or whatever. Just a thought, but if there was some way to "Display All Parameters" that'd be cool.
oskrypuch Posted May 28, 2022 Posted May 28, 2022 If you query a parameter that doesn't exist, looks like it skips to the next valid one. That may be some administrative logic, but either way,might suggest that an efficient algorithm for this is possible. I also, was just thinking about this today. * Orest
lilyoyo1 Posted May 28, 2022 Posted May 28, 2022 1 hour ago, GJ Software Products said: FEATURE REQUEST: I was just working with Zooz troubleshooting/understanding why the Relay button seems to track with the 4 smaller buttons and they asked me for all the Parameter settings. I had to do this one by one and thought it would be nice if you could display all Parameters in one click. Understanding this may not be possible if the Z-Wave device doesn't give you a total count of available Parameters you wouldn't know when to stop the loop through the Parameters table or whatever. Just a thought, but if there was some way to "Display All Parameters" that'd be cool. One issue is that device parameters are mfg./device specific. Thats a enormous task.
oskrypuch Posted May 28, 2022 Posted May 28, 2022 You'd have to harness a dynamic way to map out the valid parameters, else it just isn't workable. * Orest
lilyoyo1 Posted May 28, 2022 Posted May 28, 2022 Still an exceptional task. The ROI probably isnt worth the time or effort since parameters arent specifically defined by the zwave association. What fibaro uses for its motion sensors are different than what zooz uses which is different than what aeotec does etc. Not only that, depending on firmware and revision, these parameters can also vary within the same line. Now multiply that across hundreds if not thousands of individual device types. Who tracks, inputs, and maintains all of this information? A similar question came up once before and another user stated he was going to do something but hasnt said anything about it since on whether he has made progress or not. Its much easier for the end user to keep notes about his specific setup/parameters than the time and effort it would require to manage them via software.
oskrypuch Posted May 28, 2022 Posted May 28, 2022 (edited) I think you are misunderstanding my suggestion. Would never consider for ISY to keep a catalog, just not possible or practical -- as you say. However, It can (even now) discover the valid parameter numbers. If you put one in that is invalid, it advances to the next valid one and returns a value. Just need to put that routine in a loop, and it can quickly discover all the valid parameters for a given device. There are many other things ZWave with a higher priority, but it would be nice to tuck this one away as future feature addtion. * Orest Edited May 28, 2022 by oskrypuch
oskrypuch Posted May 28, 2022 Posted May 28, 2022 (edited) The logic is something like this: $i = 0; while ($i <= 255) { $i++; // if $i is a valid parameter option, get_parameter_values() returns: // parameter #, parameter size, parameter value // else $i is either incremented by function, or by device firmware // to the next valid parameter // [SA already does this if you enter an invalid parameter number, no idea if that is the SA or device firmware] if ($values = get_parameter_values($i)) { $i = $values[$parameter_no]; $values_array[$i] = array of ( $values[$parameter_no], $values[$parameter_size], $values[$parameter_value] ) } } print_r($values_array); Edited May 28, 2022 by oskrypuch
lilyoyo1 Posted May 28, 2022 Posted May 28, 2022 1 hour ago, oskrypuch said: I think you are misunderstanding my suggestion. Would never consider for ISY to keep a catalog, just not possible or practical -- as you say. However, It can (even now) discover the valid parameter numbers. If you put one in that is invalid, it advances to the next valid one and returns a value. Just need to put that routine in a loop, and it can quickly discover all the valid parameters for a given device. There are many other things ZWave with a higher priority, but it would be nice to tuck this one away as future feature addtion. * Orest My response is based on what my interpretation of what the op asked for. While your desires may be different, it would help with any product request if you have a use case scenario so that they understand what it is you're looking for. Since the device firmware is what rejects an improper parameter, how does a query make it worth the time and effort to research and document all the specific parameters that may or may not be used without a database? Since only numbers would be shown, how does that help when one would still need to view the manual to see what it does...? I'm not trying to argue. Just trying to understand. Having a generic request can lead to improper implementation or something not being done at all simply due to misinterpreting what you're asking.
GJ Software Products Posted May 28, 2022 Author Posted May 28, 2022 After my original post I found that Simplicity Studio has a very nice one-click procedure to display parameters and it even provides descriptive information. I wonder if this is stored on the chip, as much as I doubt it which leads me to believe that either the specs for the device are installed with Simplicity Studio or maybe it queries an online manufacturer database at z-wavealliance.org? ROI is another matter, but something similar to what you can get in Simplicity Studio would be cool. 1
oskrypuch Posted May 29, 2022 Posted May 29, 2022 (edited) 4 hours ago, lilyoyo1 said: it would help with any product request if you have a use case scenario so that they understand what it is you're looking for. ... OK, not rocket science. New device (or perhaps doing some reprogramming) ... Currently in the the admin console you can/must query each individual parameter, one at a time, write down the result, query the next and so on. To me, having ONE "query all" button which would show all of the assignable parameters in a scollable list, and their current numeric value, to be of good value. That would be one big step up from what you get now, and that is all I'm looking for. Now, if the meaning of those values is actually stored on the chip or some publicly available database, even better. Keep in mind with ZWave you can have even a few dozen parameters. Trying to keep track of what you've set, and what you haven't, or if doing a bit of experimentation setting up one of several different scenarios, that is a lot of tedious one-step querying, and potentially prone to error. * Orest Edited May 29, 2022 by oskrypuch
oskrypuch Posted May 29, 2022 Posted May 29, 2022 (edited) 2 hours ago, GJ Software Products said: After my original post I found that Simplicity Studio has a very nice one-click procedure to display parameters and it even provides descriptive information. ... So, that means pulling the dongle, and plugging it into a laptop, where you run Simplicity Studio? I suspect there is only a database for Silicon Labs devices. Yes, no? * Orest Edited May 29, 2022 by oskrypuch
brians Posted June 1, 2022 Posted June 1, 2022 Sounds like you have a zen32. Any luck separating the buttons from the relay? I returned mine mainly because of this but if they fix I would be interested again.
Recommended Posts