Hi,
Sorry if this has already been asked, but I haven’t been able to find any threads about it.
I have a couple og Aeotec Nano Switch with power metering (ZW116) that I have been using for some time as just switches.
Now I need to get energy reporting from them.
Which reports to send is supposed to be configure in parameters 101, 102 and 103. In the UI these are single select options. ut according to Aeotec support, these should be a 4-byte value, with legal values between 0 and 15 (same as for the Nano Dimmer ZW111)
If I change this to 15 (which is the value I want) in the code tab, I get an error stating it is not a valid value. (incidentally, this is also the error given when the thing is included, since the value 0 (zero) is the default value)
The code that gives the error is “config_101_4: 15” in the below segment.
Is there any way to override the binding and force it to send 15 as the value for the parameter (I expect not…)
I believe this was fixed in the latest zwave snapshot (DB Update 1800). The .jar for that is here Build 178.
Assuming you are on the OH3.3 release; Uninstall the zwave binding from the UI, in the openhab-cli console add feature:install openhab-transport-serial then drop build 178 in the addons folder. OR if you already have a zwave jar in the addons, just delete that one and drop in the new one.
Bob
Edit: ZW111 looks like it could have problems with the OH core validation, but Zw116 is fine (IMO)
Thanks for the quick reply, I’ll try to get time to do this tomorrow.
But won’t removing the binding mess up all the z-wave things I already have?
I guess they will loose all the links to the items at least. Or am I just being pessimistic?
It will look bad momentarily (if you look), but the new binding will start and nothing should be lost/unlinked/changed. Just wait about 30 seconds before looking to keep your blood pressure low. Worst case is that you might have to delete (do not exclude) the ZW116’s and then go right to the inbox–zwave–scan to pick them up with the new properties and the old links.
I got the newer version of the jar file installed, and that did indeed allow me to set the parameters correctly.
However, I can no longer add new z-wave devices from the UI (haven’t looked at other ways to add yet).
So I guess I have to remove that jar file and install the zwave binding again.
Or is there another way to fix that issue?
Did you just upgrade the zwave jar or did you upgrade OH to the latest snapshot? There is nothing that I can see with the latest zwave binding that would cause this problem, but the snapshot OH could have other changes that might be the cause.
Yes, the bundle is there, but on version 3.4, the rest of the system is 3.3. I have just dropped the new jar file for zwave into the addons.
Z-Wave binding does not show up as an option to choose when I try to add a new device.
I removed the new (3.4) z-wave jar, and installed the binding from the UI agin. Now things are as “normal”, and the option to add new z-wave things is visible again.
Seems like there is some mismatch between the new (3.4.x) version of the binding and the 3.3 version of the core openhab system. (Maybe not so surprising?)
I’m afraid I don’t know why the UI does not show the add thing for the zwave binding and the Zwave developer/maintainer is on holiday without internet access.
There is way to add an updated XML file to an existing .jar using the jar -uf command. There are some tracks on how to do this in this post
What version of the Zw116 do you have? There is a <2 and >2.1 version in the DB?
FWIW, I had the same problem - had an Aeotec ZW116 that worked just fine. Then started showing an initialization error. Installing the SNAPSHOT .jar fixed the problem.