I have read many of the docs and posts relating the Z-Wave and .things
files (Sometimes it feels like I’ve read them all.) but am still having a problem creating things using .things
files. I am running version 2.5.8 on a Raspberry Pi. I have tried a variety if thing and item definitions, but none of them work. There is no information in the zwave.log
.
.things file
Bridge zwave:serial_zstick:controller
"Z-Wave Controller" @ "System" [
port="/dev/ttyACM0",
controller_softreset="false",
controller_master="true",
heal_time="2",
controller_inclusiontimeout="45",
heal_enable="true",
security_networkkey="xxxx" ]
Thing
ge_zw3003_00_000:controller:light1Switch
"GE Dimmer In-Wall Dimmer" (zwave:serial_zstick:controller) @ "Room" [
node_id=18] {
Channels:
Dimmer : Light1Switch_Dimmer "zwave:ge_zw3003_00_000:controller:light1Switch:switch_dimmer" }
Thing
ge_45609_00_000:controller:light2Switch
"GE In-Wall Switch" (zwave:serial_zstick:controller) @ "Room" [
node_id=20 ] {
Channels:
Switch : Light2Switch_Switch "zwave:ge_45609_00_000:controller:node20:switch_binary" }
.items file
Switch Light1_Dimmer "Lamp 1" (Room, Lights, Switches, ZWave) {
channel="zwave:ge_zw3003_00_000:controller:node18:switch_dimmer"}
Switch Light1A_Dimmer "Lamp 1A" (Room, Lights, Switches, ZWave) {
channel="zwave:device:controller:node18:switch_dimmer"}
Switch Light1B_Dimmer "Lamp 1B" (Room, Lights, Switches, ZWave) {
channel="zwave:device:controller:light1Switch:switch_dimmer"}
Switch Light2_Switch "Lamp 2" (Room, Lights, Switches, ZWave) {
channel="zwave:ge_ge_45609_00_000:controller:node20:switch_dimmer"}
Switch LightA_Dimmer "Lamp 2A" (Room, Lights, Switches, ZWave) {
channel="zwave:device:controller:node20:switch_dimmer"}
The controller is defined and ON-LINE. The only way I have found to use Z-Wave is to discover the thing, create a channel, and link an item to the channel using the Paper UI.
What am I doing wrong, or does the system not support using files for configuring Z-Wave devices at this time? If so, will this capability be available in the future? As an aside, what is the purpose of / use for the thing_ID in the Thing name, i.e., light1Switch
, and the Channel name, i.e., Light1Switch_Dimmer
?
Thanks for your help