ZWave binding updates

Hi Chris

I have atatched the log at start up

zwave.txt (352.8 KB)

This confirms the above theory - assuming node 2 is the old node, the controller still thinks it is included in the network, so the binding will continue to try and communicate with it.

No matter what I try I cannot get the device to remove from the controller. I have tried paper ui, habmin & zensys tools but the device wont mark as failed or remove.

I managed to use the Zensys tools to replace the device with the same device, re added to openhab and so far everything is working again.

@chris thanks as always for the fast response & putting me in the right direction!

Thanks Scott,

I checked the tutorial script but It is not clear for me if It should be done or not for zwave! I ran the script, I was ready to Install it but decided to be patient ahahahha
 I think I can wait until the binding is updated!. @chris would it be to much to announce here whenever the updated binding is uploaded?, so I dont apt-get update / upgrade everyday?:sweat_smile:

Cheers,
T

Yes, it works for zwave
 just don’t select Development (use Snapshot). If you’d rather not use a manual install, there is another option here, just replace the 2.4s with 2.5s. The change for your device is not yet in the binding.

Hi guys,
I have successfully added a new zwave device to the database MH-C221 and it was approved recently, but what is the next step? how to update my zwave binding on OPNEHAB2 in order to read the new device?
Thank you

Have you read the post just before yours? There’s also another option a little further up. The build system has had some changes recently, so it may take longer than normal for a new build to be available, so here is a third option.

After a device has been approved in the database it needs to be merged into the binding, so please watch the MCO Home folder:

https://github.com/openhab/org.openhab.binding.zwave/tree/master/ESH-INF/thing/mcohome

After you see the merged device there it will take another couple of hours until the new zwave snapshot binding is available:

https://ci.openhab.org/job/openHAB2-Bundles/org.openhab.binding$org.openhab.binding.zwave/

Hi @chris , just updated from 2.4.0 M7 to 2.4.0 and been trying to get the binding to work, until i finally saw that the https://www.cd-jackson.com/index.php/zwave/zwave-device-database/zwave-device-list/devicesummary/787 doesn’t have a switch parameter anymore zwave:device:controller:node5:switch_dimmer, is this intentionally or?

Yes, this would be intentional. Since this is a dimmer, it doesn’t require a separate switch channel.

ah ok, i used that to turn on the light, have to change my rules for that then.

You can still do this exactly the same - just use the dimmer channel.

Hmm, when i turn off the light with the switch, it doesn’t report back that its off, turning it on/off with openhab does.

That’s not related to the above channels - that is an association issue.

well, it did with that zwave:device:controller:node5:switch_dimmer channel

What do you mean? So you change the wall switch, and it updates the level, but not when you turn it off?

i used to use this:

Switch	LV_dimmer1		"Hal" 		{ channel="zwave:device:controller:node5:switch_dimmer" }
Dimmer	LV_dimmer1_dim	"Hal [%d %%]"	[ "Lighting" ]	{ channel="zwave:device:controller:node5:switch_dimmer1" }
Number	LV_dimmer1_power	"Hal - huidig verbruik [%.2f W]"	(gEnergy)		{ channel="zwave:device:controller:node5:sensor_power" }
Number	LV_dimmer1_energy	"Hal - totaal verbruik [%.2f KWh]"	(gEnergy)		{ channel="zwave:device:controller:node5:meter_kwh" }

if i used my wall pulse switch to turn on the light, the LV_dimmer1 switch would turn to on, and LV_dimmer1_dim would show the dim level, same when i turn it off.

now with:

Switch	LV_dimmer1		"Hal" 		{ channel="zwave:device:controller:node5:switch_dimmer1" }
Dimmer	LV_dimmer1_dim	"Hal [%d %%]"	[ "Lighting" ]	{ channel="zwave:device:controller:node5:switch_dimmer1" }
Number	LV_dimmer1_power	"Hal - huidig verbruik [%.2f W]"	(gEnergy)		{ channel="zwave:device:controller:node5:sensor_power" }
Number	LV_dimmer1_energy	"Hal - totaal verbruik [%.2f KWh]"	(gEnergy)		{ channel="zwave:device:controller:node5:meter_kwh" }

this doesn’t work anymore, it’s not showing if its on or off, and not showing the dim level.

You need to use the switch_dimmer1 channel for your switch item.
Edit: okay, you already did, sorry. Works fine for me with switch_dimmer1 :sunglasses:

Ok, so your statement that it works with the dimmer is wrong?

In that case, the issue is with the association configuration as I said above. Please check this, or preferably change to a more recent version of the binding as this will help.