Hi all,
I have been running into a problem recently where my z-wave devices are appearing online even when they are plugged out Z-wave device Online when plugged out
One solution maybe to configure things based on when they are discovered possibly and I was wondering if anyone had experience with this.
Currently I have two ZW096 Smart Switch 6 configured through a ZW090 Z‐Stick Gen5 USB Controller bridge in my zwave.things file shown below.
Bridge zwave:serial_zstick:controller "Z-Wave Controller" [port="/dev/ttyACM0", controller_softreset="false", controller_master="true", heal_enable="true", heal_time=3, security_networkkey="0E 21 AB E3 AE 76 44 C3 A1 5C ED 87 44 12 DD C0" ] {
//Node 2
Thing zwave:aeon_zw096_00_000:controller:node2 "ZWave Node 2: aeon_plug"(zwave:serial_zstick:controller) [ node_id=2 ]
//Node 3
Thing zwave:aeon_zw096_00_000:controller:node3 "ZWave Node 3: aeon_plug"(zwave:serial_zstick:controller) [ node_id=3 ]
}
I have configured each of my items for each smart plug in my zwave.items file shown below.
//// Smart plug node 1
Switch Switch_Zwave_Node2 "Power Switch" { channel = "zwave:aeon_zw096_00_000:controller:node2:switch_binary" }
Number Voltage_Zwave_Node2 "Voltage (Volts)" { channel = "zwave:aeon_zw096_00_000:controller:node2:meter_voltage" }
Number Energy_Zwave_Node2 "Energy (kWh)" { channel = "zwave:aeon_zw096_00_000:controller:node2:meter_kwh" }
Number Current_Zwave_Node2 "Current (Amps)" { channel = "zwave:aeon_zw096_00_000:controller:node2:meter_current" }
Number Power_Zwave_Node2 "Power (Watts)" { channel = "zwave:aeon_zw096_00_000:controller:node2:meter_watts" }
//
//// Smart plug node 2
Switch Switch_Zwave_Node3 "Power Switch" { channel = "zwave:aeon_zw096_00_000:controller:node3:switch_binary" }
Number Voltage_Zwave_Node3 "Voltage (Volts)" { channel = "zwave:aeon_zw096_00_000:controller:node3:meter_voltage" }
Number Energy_Zwave_Node3 "Energy (kWh)" { channel = "zwave:aeon_zw096_00_000:controller:node3:meter_kwh" }
Number Current_Zwave_Node3 "Current (Amps)" { channel = "zwave:aeon_zw096_00_000:controller:node3:meter_current" }
Number Power_Zwave_Node3 "Power (Watts)" { channel = "zwave:aeon_zw096_00_000:controller:node3:meter_watts" }
These things and items are configured as soon as openHAB boots which I think could possibly be the problem.
Would a better solution to be just to leave these files blank and only configure things based on the inbox of discovered things in the network? If so has anyone implemented a similar solution to this?
Any input would be helpful