Zwave and Danfoss Thermostat valve: struggling with inclusion

Hi folks,

I’m not able to include my Danfoss LC-13.

My configuration:
OH2 on Debian 8
org.openhab.ui.habmin_0.1.7-SNAPSHOT.jar

Procedure:
click on search in HABmin to go to inclusion mode
click on button in the middle on Danfoss to start the inclusion

Danfoss flash quickly, then a bit less (and antenna and alarm symbols are fixed), then … nothing :frowning:

My log:

2016-07-15 16:48:49.937 [DEBUG] [ve.internal.protocol.ZWaveController] - ZWave controller start inclusion - mode 2
2016-07-15 16:48:49.937 [DEBUG] [ol.serialmessage.AddNodeMessageClass] - Setting controller into INCLUSION mode, highPower:true networkWide:false.
2016-07-15 16:48:49.937 [TRACE] [wave.internal.protocol.SerialMessage] - NODE 255: Creating empty message of class = AddNodeToNetwork (0x4A), type = Request (0x00)
2016-07-15 16:48:49.938 [DEBUG] [ocol.ZWaveController$ZWaveSendThread] - Took message from queue for sending. Queue length = 0
2016-07-15 16:48:49.938 [TRACE] [wave.internal.protocol.SerialMessage] - Calculated checksum = 0x30
2016-07-15 16:48:49.938 [DEBUG] [wave.internal.protocol.SerialMessage] - Assembled message buffer = 01 05 00 4A 81 01 30 
2016-07-15 16:48:49.938 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - NODE 255: Sending REQUEST Message = 01 05 00 4A 81 01 30 
2016-07-15 16:48:49.938 [ERROR] [ing.zwave.handler.ZWaveSerialHandler] - Got I/O exception Input/output error in writeArray during sending. exiting thread.
2016-07-15 16:48:49.938 [DEBUG] [ve.internal.protocol.ZWaveController] - Message queued. Queue length = 0. Queue={}
2016-07-15 16:48:54.938 [ERROR] [ocol.ZWaveController$ZWaveSendThread] - NODE 255: Timeout while sending message. Requeueing - 2 attempts left!
2016-07-15 16:48:54.939 [DEBUG] [ve.internal.protocol.ZWaveController] - Message queued. Queue length = 1. Queue={}
2016-07-15 16:48:54.939 [DEBUG] [ocol.ZWaveController$ZWaveSendThread] - Took message from queue for sending. Queue length = 0
2016-07-15 16:48:54.939 [TRACE] [wave.internal.protocol.SerialMessage] - Calculated checksum = 0x30
2016-07-15 16:48:54.939 [DEBUG] [wave.internal.protocol.SerialMessage] - Assembled message buffer = 01 05 00 4A 81 01 30 
2016-07-15 16:48:54.939 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - NODE 255: Sending REQUEST Message = 01 05 00 4A 81 01 30 
2016-07-15 16:48:54.939 [ERROR] [ing.zwave.handler.ZWaveSerialHandler] - Got I/O exception Input/output error in writeArray during sending. exiting thread.
2016-07-15 16:48:59.940 [ERROR] [ocol.ZWaveController$ZWaveSendThread] - NODE 255: Timeout while sending message. Requeueing - 1 attempts left!
2016-07-15 16:48:59.940 [DEBUG] [ve.internal.protocol.ZWaveController] - Message queued. Queue length = 1. Queue={}
2016-07-15 16:48:59.940 [DEBUG] [ocol.ZWaveController$ZWaveSendThread] - Took message from queue for sending. Queue length = 0
2016-07-15 16:48:59.940 [TRACE] [wave.internal.protocol.SerialMessage] - Calculated checksum = 0x30
2016-07-15 16:48:59.940 [DEBUG] [wave.internal.protocol.SerialMessage] - Assembled message buffer = 01 05 00 4A 81 01 30 
2016-07-15 16:48:59.940 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - NODE 255: Sending REQUEST Message = 01 05 00 4A 81 01 30 
2016-07-15 16:48:59.940 [ERROR] [ing.zwave.handler.ZWaveSerialHandler] - Got I/O exception Input/output error in writeArray during sending. exiting thread.
2016-07-15 16:49:04.941 [ERROR] [ocol.ZWaveController$ZWaveSendThread] - NODE 255: Timeout while sending message. Requeueing - 0 attempts left!
2016-07-15 16:49:04.941 [DEBUG] [ve.internal.protocol.ZWaveController] - Message queued. Queue length = 1. Queue={}
2016-07-15 16:49:04.941 [DEBUG] [ocol.ZWaveController$ZWaveSendThread] - Took message from queue for sending. Queue length = 0
2016-07-15 16:49:04.941 [TRACE] [wave.internal.protocol.SerialMessage] - Calculated checksum = 0x30
2016-07-15 16:49:04.941 [DEBUG] [wave.internal.protocol.SerialMessage] - Assembled message buffer = 01 05 00 4A 81 01 30 
2016-07-15 16:49:04.941 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - NODE 255: Sending REQUEST Message = 01 05 00 4A 81 01 30 
2016-07-15 16:49:04.941 [ERROR] [ing.zwave.handler.ZWaveSerialHandler] - Got I/O exception Input/output error in writeArray during sending. exiting thread.
2016-07-15 16:49:09.942 [WARN ] [ocol.ZWaveController$ZWaveSendThread] - NODE 255: Too many retries. Discarding message: Message: class=AddNodeToNetwork[0x4A], type=Request[0x00], priority=High, dest=255, callback=0, payload=81 01 

can you please help here?

Thanks
Andrea

It seems I’m not able to include all devices.

Only node1 in my xml devices list (the controller)

There seems to be an error writing to the serial port. I don’t know what would cause the input/output error, but somehow you need to solve this before the binding will work. Sorry - I know that’s not helpful, but at it’s probably nothing to do with the Danfoss and maybe something to do with the serial driver or something in that area.

I’m also trying with a Wall Plug from Fibaro. Nothing.

I’ve just see 5 devices, that are most likely devices configured in my previous configuration with OH1 (in another VM).

In my previous installation (OH1) the USB port was:

crw-rw—T 1 root dialout 188, 0 Jul 15 13:01 ttyUSB0

when now:

crw-rw---- 1 root dialout 188, 0 Jul 15 17:53 ttyUSB0

I don’t understand the “T” meaning

Any idea?

Andrea

Chris,

it seems now working …

Fibaro Wall Plug recognised and ready

but Danfoss is Unknown Device. Is it in the db? Do you need to do something, or I need?

Thanks

Andrea

What is the device model, and what is the type/id that is shown in the device attributes?

mmm

this is a Danfoss LC-13 Thermostat valve.

but I can’t see device attributes :frowning: nor xml file.

This means that it hasn’t yet downloaded this data from the device. You will need to wake up the device a few times to allow the binding to configure it.

very strange problem here.

thermostat node 7 and node 9 are ok

thermostat node 8 was difficult, label recognised but unknown device.
At the end node 8 has proper description, but now when I click on button on the same device, the system is finding another node (10) that has correct label but “unknown device”.

:smiley:

OMG

Now it seems everything’s working fine, I did the same inclusion multiple times, and now it works.

just a question, Chris.

Now I have 1-2-3-4-5-6-7 and 9-10-11 nodes, 8 is missing. Any possibility to reuse/modify the number 8?

thank you very much
Andrea

There is a issue that I know of that might have caused this.

No - there is currently no way to change the node numbering. This is allocated by the controller…