Hello!
I saw that some discussion is going on in the Testing Z-Wave Binding on openHAB-2 Thread and I wanted to put this into it’s own thread as I think it’s going to be needed by more people
I received my AeonLabs Z-Stick Gen5 on Friday and a TZ67 Wall Plug Dimmer to test Zwave (i wanted to have two external devices to add them to the upcoming Docker Container ;)).
Since I keep deleting the database all the time I want to keep all things in a proper things file and use the Discovery only for gathering initial information on how I need to add it to the things file.
According to the ESH documentation I would expect the configuration to look like:
Bridge zwave:serial_zstick:controller [ port="/dev/ttyACM0", controller_softreset="false", controller_master="true", heal_enable="true", security_networkkey="XX XX XX XX XX XX XX XX" ]
Thing zwave:tkb_tz67_00_000:controller:zwavedimmer (zwave:serial_zstick:controller) [ zwave_nodeid="3" config_1_1="0" ]
The bridge comes online and works fine. The other documented variant with curly braces does not work (rfxcom does in my config)
The device itself is not discovered correctly. Instead it wurns up in the inbox:
openhab> inbox
NEW [zwave:device]: Z-Wave Node 3: TZ67 Wall Plug Dimmer [thingId=zwave:device:controller:node3, bridgeId=zwave:serial_zstick:controller, properties={zwave_class_basic=ROUTING_SLAVE, zwave_class_generic=MULTILEVEL_SWITCH, zwave_frequent=false, zwave_version=1.12, zwave_listening=true, zwave_deviceid=1553, zwave_nodeid=3, zwave_routing=true, zwave_beaming=true, zwave_class_specific=POWER_SWITCH_MULTILEVEL, zwave_manufacturer=280, zwave_devicetype=514}, timestamp=Sun Mar 27 00:11:10 CET 2016, timeToLive=UNLIMITED]
When I add and link it with an item, the Dimmer works.
Dimmer UG_Hannes_zwavedimmer "ZwaveDimmer [%.1f]" (UG_Hannes,Lights) { channel="zwave:device:controller:node3:switch_dimmer"}
openhab> things
zwave:serial_zstick:controller (Type=Bridge, Status=ONLINE, Label=Z-Wave Serial Controller, Bridge=null)
zwave:tkb_tz67_00_000:controller:zwavedimmer (Type=Thing, Status=OFFLINE, Label=TZ67 Wall Plug Dimmer, Bridge=zwave:serial_zstick:controller)
zwave:device:controller:node3 (Type=Thing, Status=ONLINE, Label=Z-Wave Node 3: TZ67 Wall Plug Dimmer, Bridge=zwave:serial_zstick:controller)
I also tried excluding and including the device again (hence the ID 3) but it didn’t change.
What did I do wrong? Is there any required parameter missing in my things file @chris?
Thanks a lot for your help!
Cheers
Hannes