Is it possible to create an app that can send parameters to ZWave devices for quick config? For example, I have some in-wall relays from Monoprice that work OK with the default Z-Wave Relay device, but they have a few parameters to set for things like wiring config.
My hope is to have an Advanced Mode app or OOB screen to easily configure a node without having to write a custom device handler.
Here's an example from Home Assistant, which provides advanced config options in a control panel.
I agree, Though I realize that this may not have been a day 1 priority, it is still quite useful for many types of devices like Motion Sensors.
Another user has explained a scenario quite well at the below post w.r.t Aeon Multisensors. A problem which I too am facing at the moment due to not being able to configure the device.
In my personal opinion, OZWCP is unsuited for a device targeted at the mainstream. I donāt know about you but Iād like HomeAutomation stuff to be as popular as an iPad. Home Assistant isnāt that product. Iād like Hubitat to be that product. In SmartThings, weāve only seemed to need ZWave Tweeker to perform this ācustom Commandā function. Perhaps getting that ported would be a better goal.
More than an advanced mode like Home assistant, I would rather favor device handlers exposing more of these settings and then having a solution like the tweaker app, on Smartthings. ST seems to have done this reasonably right from a non-technical end-user perspective. SO I agree with you there.
Hubitat, still being in its infancy would obviously not have had the chance to focus on these aspects yet, but I hope the general direction would be to get these options exposed in some form, in a noob-friendly UI (not like home assistant).
My bad, you are right, I was so used to only using the community drivers ST had, that totally forgot how basic the stock drivers were.
Please ignore my previous statement.
Good call on Z-Wave Tweaker. I started to try and port it, but Iām not sure how to migrate the getZwaveInfo() command that it uses. I canāt really find it documented well anywhere. It seems to pull the classes for the device as a map and then use that to decide whether itās a secure device and also to figure out how to scan it. Canāt initialize without it, though.
It feels like there should be a migration guide out there, but maybe itās just internal. Iāve noticed simple things like fixing the enum preference definitions and replacing physicalgraph with hubitat, but issues like this one are trickier for me to just figure out by looking at code.
Sorry if these questions are simple, I havenāt had to do much custom device handler work for z-wave.
I believe that even if Hubitat is LOCAL, we should not neglect the Z-wave nodes.
I use it to link a water probe to a water valve. A wall switch bind to a small controller conceal in the house. (Qubino, Fibaro RGBW, Aeotec switch, etc.)
Hubitat will certainly be more reliable than Smartthings but the basic Z-wave nodes and less dependent hub controllers.
Good luck with the migration of Z-wave TWEAKER. This would be a nice addition to my system.
Sorry to jump on the end of this discussion but has anyone had any luck with with a custom device handler to write parameters for basic setup/config?
I am in need of adjusting some parameters in an Aeotec Nano Dimmer to manually set the dimming range as per below:
I am using the Aeotec Micro driver that seams like it will fully work once these parameters have been set, the only restriction is the second switch input on the Nano that will not be available. I would like to set the parameters and then revert back to the Aeotech Micro Dimmer DH.
I read that ST has a custom DTH for this:
Anything similar for Hubitat @mike.maxwell ? I really don't want to setup a separate z-wave network just to initially configure these devices.
Yeah I was just looking at that before but not sure where I can change the config file. And I have the Aus zwave stick so not sure if pasting that in will work or mess anything up.
ZWave is ZWave, independent of radio frequency in use.
The Super Basic Z-Wave parameter tool allows you to do what it implies.. set parameters of the ZWave device.
Let me see if I can explain it from a different angle.
When a Device Driver is created, especially Generic's, they may not set every parameter available on every device that could possibly use that driver.
You Include a Device, ideally it auto selects a "good enough" driver, or you manually change it. Then you click Configure and the set of parameters are sent. If it's a battery device, the device must wait for awake, which you can usually cause manually.
But now you find there are ZWave parameters that you'd like to "set special." You SWAP the device driver with "Basic ZWave Tool" and use THAT to set the specific parameters. Then you SWAP BACK to the best functional driver.
Warning: If the "best functional driver" sets a parameter, and it is for that reason you've swapped to use the Super basic ZWave parameter tool, then do NOT click Configure, ever again, the driver WILL reset your parameter to the value you don't want and you'll have to do the "swap dance" again. If the driver never touches your parameter, then it's much more likely to "stick" after a Configure.
Remember, the Parameters we're referencing here are out on the physical Zwave device. They are not seen or stored by the Hub.
I was using another DH I found for advanced functions. I would change the DH, make the changes to parameters then change back to Hubitat built in DH. This did not satisfy all requirements as not all parameters are available.
I have now seen @cwwilson08 basic parameter tool that I will check out. Maybe what I need.
I know I need to stop the dimmers from automatically sensing the load every time the power is cycles as this causes the lights to come on (then off again) in a power outage.
Thanks for the explanation, but I see the code but I am just at a lost what I do with that or how to get into the config settings. I goto the device page in Hubitat and see nothing there, Goto zwave page and nothing there.
Is there some idiots guide out there to change config settings?
@mike.maxwell says that battery devices must be awake when the parameter is sent using his tool. So the proper technique is to press the "wake up" button first then send the parameter with the tool. I can confirm that it doesn't work if you send the parameter and then wake the device.
First and foremost, you MUST have the advanced configuration information for the device you want to program:
Parameter
Byte Length
Value
Second, you need to install the code that @mike.maxwell created in the driver's code section of HE (cut/paste/save).
Third, go into the device settings for the device you want to program, change the "device type" to the one you just created (it will be located at the bottom of the list under user drivers. Then choose save.
Fourth, now you can set the parameter you want to change using the information you gathered in the first step. Don't select "set" until you have pressed the 'program/wake" button on the device if it's battery powered.
Lastly, when you're done programming, change the device type back to the original one you had set and click save. Finished! As mentioned earlier, DO NOT choose configure or change any of the settings in the actual driver settings page for your device or it will over-write your work.
DONE!
@mike.maxwell has already stated that this tool will morph into an actual app at some point which will make it more user friendly, but for now, it gets the job done.
It looks like you can adjust the volume without actually disabling the alarm. I would recommend you consider that as it's a good idea to have an audible and visual warning that the door is about to operate without you being able to see it.
It looks like the parameter values are described in hex format, I believe the tool is set to use decimal only so you will want to use a hex to decimal conversion to get your settings. But to answer your question, yes you are have the correct information using those guides.
Looks like their all 4 byte entries so the format in the tool will be:
Parameter xx
Byte: 4
Setting: decimal value you desire
There are three boxes top to bottom follows this format.
Also, it looks like the tilt sensor is how you wake the device for programming, it doesn't have a button but rather you just move it as described to activate the wake up cycle.
Yeah I tried to just plug it into my computer but for whatever reason it is not picked up. Tried a few and nothing, so was waiting on Aeotec support to get back to me and that is taking about 5 days now so thought would try and see if I could do it this other way.