Razberry - NODE 255: Timeout

Hello
I have Raspberry Pi + zwave.me.
(openhab installed with apt-get).
added permissions to the port, dialout to openhab user, setup the properties:
zwave:port=/dev/ttyAMA0
added -Dgnu.io.rxtx.SerialPorts in openhab sh

I’m getting his errors in the logs:

[DEBUG] [.zwave.internal.ZWaveActivator:36 ]- Z-Wave binding started. Version 1.8.3
[DEBUG] [.z.internal.ZWaveActiveBinding:175 ]- ConverterHandler not initialised. Polling disabled.
[INFO ] [.z.internal.ZWaveActiveBinding:325 ]- Update config, port = /dev/ttyAMA0
[INFO ] [.z.internal.ZWaveActiveBinding:330 ]- Update config, healtime = 2
[DEBUG] [.z.internal.ZWaveActiveBinding:282 ]- Initialising zwave binding
[INFO ] [b.z.i.protocol.ZWaveController:148 ]- Starting Z-Wave controller
[INFO ] [b.z.i.protocol.ZWaveController:156 ]- Z-Wave timeout is set to 5000ms. Soft reset is false.
[INFO ] [b.z.i.protocol.ZWaveController:322 ]- Connecting to serial port /dev/ttyAMA0
[DEBUG] [eController$ZWaveReceiveThread:1413]- Starting Z-Wave thread: Receive
[INFO ] [b.z.i.protocol.ZWaveController:342 ]- Serial port is initialized
[DEBUG] [WaveController$ZWaveSendThread:1197]- Starting Z-Wave thread: Send
[DEBUG] [b.z.i.protocol.ZWaveController:1154]- Starting Z-Wave thread: Input
[DEBUG] [veController$WatchDogTimerTask:178 ]- Initialising network
[DEBUG] [o.b.z.i.protocol.SerialMessage:109 ]- NODE 255: Creating empty message of class = GetVersion (0x15), type = Request (0x00)
[DEBUG] [WaveController$ZWaveSendThread:1211]- Took message from queue for sending. Queue length = 0
[DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 03 00 15 E9
[DEBUG] [WaveController$ZWaveSendThread:1268]- NODE 255: Sending REQUEST Message = 01 03 00 15 E9
[DEBUG] [b.z.i.protocol.ZWaveController:620 ]- Enqueueing message. Queue length = 0
[DEBUG] [o.b.z.i.protocol.SerialMessage:109 ]- NODE 255: Creating empty message of class = MemoryGetId (0x20), type = Request (0x00)
[DEBUG] [b.z.i.protocol.ZWaveController:620 ]- Enqueueing message. Queue length = 1
[DEBUG] [o.b.z.i.protocol.SerialMessage:109 ]- NODE 255: Creating empty message of class = SerialApiGetCapabilities (0x07), type = Request (0x00)
[DEBUG] [b.z.i.protocol.ZWaveController:620 ]- Enqueueing message. Queue length = 2
[DEBUG] [o.b.z.i.protocol.SerialMessage:109 ]- NODE 255: Creating empty message of class = SerialApiSetTimeouts (0x06), type = Request (0x00)
[DEBUG] [b.z.i.protocol.ZWaveController:620 ]- Enqueueing message. Queue length = 3
[DEBUG] [i.p.s.GetSucNodeIdMessageClass:30 ]- Get SUC NodeID
[DEBUG] [o.b.z.i.protocol.SerialMessage:109 ]- NODE 255: Creating empty message of class = GetSucNodeId (0x56), type = Request (0x00)
[DEBUG] [b.z.i.protocol.ZWaveController:620 ]- Enqueueing message. Queue length = 4
[DEBUG] [z.internal.ZWaveNetworkMonitor:315 ]- Network Monitor: Queue length is 4 - deferring network monitor functions.
[ERROR] [WaveController$ZWaveSendThread:1309]- NODE 255: Timeout while sending message. Requeueing - 2 attempts left!
[DEBUG] [b.z.i.protocol.ZWaveController:620 ]- Enqueueing message. Queue length = 5
[DEBUG] [WaveController$ZWaveSendThread:1211]- Took message from queue for sending. Queue length = 4
[DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 03 00 15 E9
[DEBUG] [WaveController$ZWaveSendThread:1268]- NODE 255: Sending REQUEST Message = 01 03 00 15 E9
[DEBUG] [z.internal.ZWaveNetworkMonitor:315 ]- Network Monitor: Queue length is 4 - deferring network monitor functions.
[ERROR] [WaveController$ZWaveSendThread:1309]- NODE 255: Timeout while sending message. Requeueing - 1 attempts left!
[DEBUG] [b.z.i.protocol.ZWaveController:620 ]- Enqueueing message. Queue length = 5
[DEBUG] [WaveController$ZWaveSendThread:1211]- Took message from queue for sending. Queue length = 4
[DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 03 00 15 E9
[DEBUG] [WaveController$ZWaveSendThread:1268]- NODE 255: Sending REQUEST Message = 01 03 00 15 E9
[DEBUG] [z.internal.ZWaveNetworkMonitor:315 ]- Network Monitor: Queue length is 4 - deferring network monitor functions.
[ERROR] [WaveController$ZWaveSendThread:1309]- NODE 255: Timeout while sending message. Requeueing - 0 attempts left!
[DEBUG] [b.z.i.protocol.ZWaveController:620 ]- Enqueueing message. Queue length = 5
[DEBUG] [WaveController$ZWaveSendThread:1211]- Took message from queue for sending. Queue length = 4
[DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 03 00 15 E9
[DEBUG] [WaveController$ZWaveSendThread:1268]- NODE 255: Sending REQUEST Message = 01 03 00 15 E9
[DEBUG] [z.internal.ZWaveNetworkMonitor:315 ]- Network Monitor: Queue length is 4 - deferring network monitor functions.
[WARN ] [WaveController$ZWaveSendThread:1318]- NODE 255: Too many retries. Discarding message: Message: class = GetVersion (0x15), type = Request (0x00), payload =
[DEBUG] [WaveController$ZWaveSendThread:1211]- Took message from queue for sending. Queue length = 3
[DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 03 00 20 DC
[DEBUG] [WaveController$ZWaveSendThread:1268]- NODE 255: Sending REQUEST Message = 01 03 00 20 DC
[DEBUG] [z.internal.ZWaveNetworkMonitor:315 ]- Network Monitor: Queue length is 3 - deferring network monitor functions.
[ERROR] [WaveController$ZWaveSendThread:1309]- NODE 255: Timeout while sending message. Requeueing - 2 attempts left!
[DEBUG] [b.z.i.protocol.ZWaveController:620 ]- Enqueueing message. Queue length = 4
[DEBUG] [WaveController$ZWaveSendThread:1211]- Took message from queue for sending. Queue length = 3
[DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 03 00 20 DC
[DEBUG] [WaveController$ZWaveSendThread:1268]- NODE 255: Sending REQUEST Message = 01 03 00 20 DC
[DEBUG] [z.internal.ZWaveNetworkMonitor:315 ]- Network Monitor: Queue length is 3 - deferring network monitor functions.
[ERROR] [WaveController$ZWaveSendThread:1309]- NODE 255: Timeout while sending message. Requeueing - 1 attempts left!
[DEBUG] [b.z.i.protocol.ZWaveController:620 ]- Enqueueing message. Queue length = 4
[DEBUG] [WaveController$ZWaveSendThread:1211]- Took message from queue for sending. Queue length = 3
[DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 03 00 20 DC
[DEBUG] [WaveController$ZWaveSendThread:1268]- NODE 255: Sending REQUEST Message = 01 03 00 20 DC
[DEBUG] [z.internal.ZWaveNetworkMonitor:315 ]- Network Monitor: Queue length is 3 - deferring network monitor functions.
[ERROR] [WaveController$ZWaveSendThread:1309]- NODE 255: Timeout while sending message. Requeueing - 0 attempts left!
[DEBUG] [b.z.i.protocol.ZWaveController:620 ]- Enqueueing message. Queue length = 4
[DEBUG] [WaveController$ZWaveSendThread:1211]- Took message from queue for sending. Queue length = 3
[DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 03 00 20 DC
[DEBUG] [WaveController$ZWaveSendThread:1268]- NODE 255: Sending REQUEST Message = 01 03 00 20 DC
[DEBUG] [z.internal.ZWaveNetworkMonitor:315 ]- Network Monitor: Queue length is 3 - deferring network monitor functions.
[WARN ] [WaveController$ZWaveSendThread:1318]- NODE 255: Too many retries. Discarding message: Message: class = MemoryGetId (0x20), type = Request (0x00), payload =
[DEBUG] [WaveController$ZWaveSendThread:1211]- Took message from queue for sending. Queue length = 2
[DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 03 00 07 FB
[DEBUG] [WaveController$ZWaveSendThread:1268]- NODE 255: Sending REQUEST Message = 01 03 00 07 FB
[DEBUG] [z.internal.ZWaveNetworkMonitor:315 ]- Network Monitor: Queue length is 2 - deferring network monitor functions.
[ERROR] [WaveController$ZWaveSendThread:1309]- NODE 255: Timeout while sending message. Requeueing - 2 attempts left!
[DEBUG] [b.z.i.protocol.ZWaveController:620 ]- Enqueueing message. Queue length = 3
[DEBUG] [WaveController$ZWaveSendThread:1211]- Took message from queue for sending. Queue length = 2
[DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 03 00 07 FB
[DEBUG] [WaveController$ZWaveSendThread:1268]- NODE 255: Sending REQUEST Message = 01 03 00 07 FB
[DEBUG] [z.internal.ZWaveNetworkMonitor:315 ]- Network Monitor: Queue length is 2 - deferring network monitor functions.
[ERROR] [WaveController$ZWaveSendThread:1309]- NODE 255: Timeout while sending message. Requeueing - 1 attempts left!
[DEBUG] [b.z.i.protocol.ZWaveController:620 ]- Enqueueing message. Queue length = 3
[DEBUG] [WaveController$ZWaveSendThread:1211]- Took message from queue for sending. Queue length = 2
[DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 03 00 07 FB
[DEBUG] [WaveController$ZWaveSendThread:1268]- NODE 255: Sending REQUEST Message = 01 03 00 07 FB
[DEBUG] [z.internal.ZWaveNetworkMonitor:315 ]- Network Monitor: Queue length is 2 - deferring network monitor functions.
[ERROR] [WaveController$ZWaveSendThread:1309]- NODE 255: Timeout while sending message. Requeueing - 0 attempts left!
[DEBUG] [b.z.i.protocol.ZWaveController:620 ]- Enqueueing message. Queue length = 3
[DEBUG] [WaveController$ZWaveSendThread:1211]- Took message from queue for sending. Queue length = 2
[DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 03 00 07 FB
[DEBUG] [WaveController$ZWaveSendThread:1268]- NODE 255: Sending REQUEST Message = 01 03 00 07 FB
[DEBUG] [z.internal.ZWaveNetworkMonitor:315 ]- Network Monitor: Queue length is 2 - deferring network monitor functions.
[WARN ] [WaveController$ZWaveSendThread:1318]- NODE 255: Too many retries. Discarding message: Message: class = SerialApiGetCapabilities (0x07), type = Request (0x00), payload =
[DEBUG] [WaveController$ZWaveSendThread:1211]- Took message from queue for sending. Queue length = 1
[DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 05 00 06 96 0F 65
[DEBUG] [WaveController$ZWaveSendThread:1268]- NODE 255: Sending REQUEST Message = 01 05 00 06 96 0F 65
[ERROR] [WaveController$ZWaveSendThread:1309]- NODE 255: Timeout while sending message. Requeueing - 2 attempts left!
[DEBUG] [b.z.i.protocol.ZWaveController:620 ]- Enqueueing message. Queue length = 2
[DEBUG] [WaveController$ZWaveSendThread:1211]- Took message from queue for sending. Queue length = 1
[DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 05 00 06 96 0F 65
[DEBUG] [WaveController$ZWaveSendThread:1268]- NODE 255: Sending REQUEST Message = 01 05 00 06 96 0F 65
[ERROR] [WaveController$ZWaveSendThread:1309]- NODE 255: Timeout while sending message. Requeueing - 1 attempts left!
[DEBUG] [b.z.i.protocol.ZWaveController:620 ]- Enqueueing message. Queue length = 2
[DEBUG] [WaveController$ZWaveSendThread:1211]- Took message from queue for sending. Queue length = 1
[DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 05 00 06 96 0F 65
[DEBUG] [WaveController$ZWaveSendThread:1268]- NODE 255: Sending REQUEST Message = 01 05 00 06 96 0F 65
[ERROR] [WaveController$ZWaveSendThread:1309]- NODE 255: Timeout while sending message. Requeueing - 0 attempts left!
[DEBUG] [b.z.i.protocol.ZWaveController:620 ]- Enqueueing message. Queue length = 2
[DEBUG] [WaveController$ZWaveSendThread:1211]- Took message from queue for sending. Queue length = 1
[DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 05 00 06 96 0F 65
[DEBUG] [WaveController$ZWaveSendThread:1268]- NODE 255: Sending REQUEST Message = 01 05 00 06 96 0F 65
[WARN ] [WaveController$ZWaveSendThread:1318]- NODE 255: Too many retries. Discarding message: Message: class = SerialApiSetTimeouts (0x06), type = Request (0x00), payload = 96 0F
[DEBUG] [WaveController$ZWaveSendThread:1211]- Took message from queue for sending. Queue length = 0
[DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 03 00 56 AA
[DEBUG] [WaveController$ZWaveSendThread:1268]- NODE 255: Sending REQUEST Message = 01 03 00 56 AA
[ERROR] [WaveController$ZWaveSendThread:1309]- NODE 255: Timeout while sending message. Requeueing - 2 attempts left!
[DEBUG] [b.z.i.protocol.ZWaveController:620 ]- Enqueueing message. Queue length = 1
[DEBUG] [WaveController$ZWaveSendThread:1211]- Took message from queue for sending. Queue length = 0
[DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 03 00 56 AA
[DEBUG] [WaveController$ZWaveSendThread:1268]- NODE 255: Sending REQUEST Message = 01 03 00 56 AA
[ERROR] [WaveController$ZWaveSendThread:1309]- NODE 255: Timeout while sending message. Requeueing - 1 attempts left!
[DEBUG] [b.z.i.protocol.ZWaveController:620 ]- Enqueueing message. Queue length = 1
[DEBUG] [WaveController$ZWaveSendThread:1211]- Took message from queue for sending. Queue length = 0
[DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 03 00 56 AA
[DEBUG] [WaveController$ZWaveSendThread:1268]- NODE 255: Sending REQUEST Message = 01 03 00 56 AA
[ERROR] [WaveController$ZWaveSendThread:1309]- NODE 255: Timeout while sending message. Requeueing - 0 attempts left!
[DEBUG] [b.z.i.protocol.ZWaveController:620 ]- Enqueueing message. Queue length = 1
[DEBUG] [WaveController$ZWaveSendThread:1211]- Took message from queue for sending. Queue length = 0
[DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 03 00 56 AA
[DEBUG] [WaveController$ZWaveSendThread:1268]- NODE 255: Sending REQUEST Message = 01 03 00 56 AA
[WARN ] [WaveController$ZWaveSendThread:1318]- NODE 255: Too many retries. Discarding message: Message: class = GetSucNodeId (0x56), type = Request (0x00), payload =

Any suggestions how to get the error fixed?
Thanks!

255 is the broadcast node ID. Do you have any z-wave nodes deployed that you would expect to answer ?

Have you disabled the z-way service ?

Are your permissions for /dev/ttyAMA0 correct?
Also check if the serial console is enable in “raspi-config”, if yes, disable it and set the permissions.

Bye, Frido.

Hello,
Thanks for answering

  1. I have installed it on RASPBIAN JESSIE LITE so I don’t have z-way. I still didn’t added any new zwave component.
    (I tried to add new component with habmin and habmin didn’t recognize it)

  2. I think the permissions are ok, here is the data:

$ ls -l /dev/ttyAMA0
crw-rw-rw- 1 root dialout 204, 64 Jun 9 08:17 /dev/ttyAMA0

  1. I enabled the serial console using “raspi-config”, rebooted and still having the same problem

Your permissions are correct, but you definitely have to DISABLE the serial console, otherwise it will block openHABs access to the port.

Did you try starting the Z-Wave Binding with debug enabled?

Bye, Frido.

mm tried to disable it, add privliges and restart.
no new still having timeout in logs…
The logs are in debug mode, in the openhab I don’t see any errors, only this info line:

[INFO ] [.service.AbstractActiveService] - ZWave Refresh Service has been started

I’ve installed z-way and then disabled it and now its working… weard.
thanks anyway.

Just to help people who have this problem, here is how I solved the problem:

  1. disable serial console with Raspi-config and reboot (/dev/ttyAMA0 missing after-reboot)
  2. edit /boot/config.txt and change value of enable_uart to 1 (enable_uart=1) and reboot (/dev/ttyAMA0 seem back)
  3. Add openhab user to dialout group
  4. add -Dgnu.io.rxtx.SerialPorts=/dev/ttyAMA0" to /usr/share/openhab2/runtime/karaf/bin/setenv
  5. Restart openhab
  6. Add your controller in PAPERui.

Hoping that help.
Joël.