Zwave device is added just fine but then nothing

Platform information:

  • Hardware: KVM VM
  • OS: Ubuntu 16.04
  • Java Runtime Environment: openjdk version “1.8.0_202”
  • openHAB version: 2.4.0 Release Build
  • Zwave binding: 2.5.0.201911230756

I can find and add the device just fine:

Nov 24 22:13:19 openhab zwave [DEBUG] [ding.zwave.handler.ZWaveThingHandler] Initializing ZWave thing handler zwave:device:071de70e:node18.
Nov 24 22:13:19 openhab zwave [DEBUG] [ding.zwave.handler.ZWaveThingHandler] NODE 18: Channel zwave:device:071de70e:node18:switch_binary linked - polling started.
Nov 24 22:13:19 openhab zwave [DEBUG] [ding.zwave.handler.ZWaveThingHandler] NODE 18: Channel zwave:device:071de70e:node18:meter_current linked - polling started.
Nov 24 22:13:19 openhab zwave [DEBUG] [ding.zwave.handler.ZWaveThingHandler] NODE 18: Channel zwave:device:071de70e:node18:meter_kwh linked - polling started.
Nov 24 22:13:19 openhab zwave [DEBUG] [ding.zwave.handler.ZWaveThingHandler] NODE 18: Channel zwave:device:071de70e:node18:meter_watts linked - polling started.
Nov 24 22:13:19 openhab zwave [DEBUG] [ding.zwave.handler.ZWaveThingHandler] NODE 18: Channel zwave:device:071de70e:node18:meter_voltage linked - polling started.
Nov 24 22:13:19 openhab zwave [DEBUG] [ding.zwave.handler.ZWaveThingHandler] NODE 18: Initialising cmd channel zwave:device:071de70e:node18:switch_binary for OnOffType
Nov 24 22:13:19 openhab zwave [DEBUG] [ding.zwave.handler.ZWaveThingHandler] NODE 18: Initialising state channel zwave:device:071de70e:node18:switch_binary for OnOffType
Nov 24 22:13:19 openhab zwave [DEBUG] [ding.zwave.handler.ZWaveThingHandler] NODE 18: Initialising state channel zwave:device:071de70e:node18:switch_binary for OnOffType
Nov 24 22:13:19 openhab zwave [DEBUG] [ding.zwave.handler.ZWaveThingHandler] NODE 18: Initialising cmd channel zwave:device:071de70e:node18:meter_current for DecimalType
Nov 24 22:13:19 openhab zwave [DEBUG] [ding.zwave.handler.ZWaveThingHandler] NODE 18: Initialising state channel zwave:device:071de70e:node18:meter_current for DecimalType
Nov 24 22:13:19 openhab zwave [DEBUG] [ding.zwave.handler.ZWaveThingHandler] NODE 18: Initialising cmd channel zwave:device:071de70e:node18:meter_kwh for DecimalType
Nov 24 22:13:19 openhab zwave [DEBUG] [ding.zwave.handler.ZWaveThingHandler] NODE 18: Initialising state channel zwave:device:071de70e:node18:meter_kwh for DecimalType
Nov 24 22:13:19 openhab zwave [DEBUG] [ding.zwave.handler.ZWaveThingHandler] NODE 18: Initialising cmd channel zwave:device:071de70e:node18:meter_watts for DecimalType
Nov 24 22:13:19 openhab zwave [DEBUG] [ding.zwave.handler.ZWaveThingHandler] NODE 18: Initialising state channel zwave:device:071de70e:node18:meter_watts for DecimalType
Nov 24 22:13:19 openhab zwave [DEBUG] [ding.zwave.handler.ZWaveThingHandler] NODE 18: Initialising cmd channel zwave:device:071de70e:node18:meter_voltage for DecimalType
Nov 24 22:13:19 openhab zwave [DEBUG] [ding.zwave.handler.ZWaveThingHandler] NODE 18: Initialising state channel zwave:device:071de70e:node18:meter_voltage for DecimalType
Nov 24 22:13:19 openhab zwave [DEBUG] [ding.zwave.handler.ZWaveThingHandler] NODE 18: Initialising cmd channel zwave:device:071de70e:node18:meter_reset for OnOffType
Nov 24 22:13:19 openhab zwave [DEBUG] [ding.zwave.handler.ZWaveThingHandler] NODE 18: Initialising state channel zwave:device:071de70e:node18:meter_reset for OnOffType
Nov 24 22:13:19 openhab zwave [DEBUG] [ding.zwave.handler.ZWaveThingHandler] NODE 18: Initialising cmd channel zwave:device:071de70e:node18:alarm_power for OnOffType
Nov 24 22:13:19 openhab zwave [DEBUG] [ding.zwave.handler.ZWaveThingHandler] NODE 18: Initialising state channel zwave:device:071de70e:node18:alarm_power for OnOffType

After that there is nothing from node18 in the debug log. The association groups for the device are empty and I can set them in both PaperUI and HABmin but it won’t stick.

Suggestions?

Thanks,

Torkil

Why are you using association groups within OpenHAB? They are designed for Z-Wave devices to communicate peer-to-peer, without a controller.

You do not say what your device is. Is it in the Z-Wave device database?

https://www.cd-jackson.com/index.php/zwave/zwave-device-database/zwave-device-list

Aha, I mistakenly believed that was for configuring where to send updates. I read somewhere they shold be set to “Controller”.

I have a bunch of these which all work. It’s a NAS-WR01ZE Wall Plug Switch and it’s on the list.

Thanks,

Torkil

What Items do you have set up to interface with the node? I have a few of those devices that appear to work fine but I just use the binary switch on them.

Here’s the faulty device (18) and one that works:

Switch Metered_plug_icemaker_switch { channel="zwave:device:071de70e:node13:switch_binary" }
Number Metered_plug_icemaker_kwh (Meters) { channel="zwave:device:071de70e:node13:meter_kwh" }
Number Metered_plug_icemaker_watts (Meters) { channel="zwave:device:071de70e:node13:meter_watts" }
Number Metered_plug_icemaker_current (Meters) { channel="zwave:device:071de70e:node13:meter_current" }
Number Metered_plug_icemaker_volts (Meters) { channel="zwave:device:071de70e:node13:meter_voltage" }

Switch Metered_plug_electric_heater_switch { channel="zwave:device:071de70e:node18:switch_binary" }
Number Metered_plug_electric_heater_kwh (Meters) { channel="zwave:device:071de70e:node18:meter_kwh" }
Number Metered_plug_electric_heater_watts (Meters) { channel="zwave:device:071de70e:node18:meter_watts" }
Number Metered_plug_electric_heater_current (Meters) { channel="zwave:device:071de70e:node18:meter_current" }
Number Metered_plug_electric_heater_volts (Meters) { channel="zwave:device:071de70e:node18:meter_voltage" }

Not sure if relevant but I was reading another thread and notice I have no XML file for node 18 in userdata/zwave.

Mvh.

Torkil

Try deleting the Thing from HABmin & re-discovering it. I have had devices get fully discovered that way before.

If there is no xml file, OpenHAB has not fully discovered the device.

Deleted and rediscovered from HABmin, looks just the same. Nothing in the zwave debug log after the initial add. Tried changing a value through HABmin also, which stays “pending”. No XML.

Since the device is mains powered I would expect full discovery to be pretty much instant?

Thanks,

Torkil

It should be but some of those Chinese devices can be strange.
It is drastic, but try excluding the device, resetting it, and then including it. I have seen some of these devices that need a factory reset before they can be fully discovered.

Restarted OpenHAB to trigger a network heal and it started working. Thanks for the suggestions.

Mvh.

Torkil

1 Like