Page 1 of 1

An unexpected error occurred while initialising the Z-Wave c

Posted: 26 May 2016 13:26
by Slayes
Hello,

I just received this morning ZWave dongle (usb) and i tried without success to used it/
I reinstalled my SD and plugged the dongle.
On the zway log, there is :
Opened device: /dev/ttyAMA0
[D] [zway] Worker thread successfully created
[D] [zway] Worker thread entry point
[zway] Adding job: Get controller info and supported function classes
[D] [zway] SENDING: ( 01 03 00 07 FB )
[zway] Job 0x07 (Get controller info and supported function classes): No ACK received before timeout
[D] [zway] SENDING: ( 01 03 00 07 FB )
[zway] Job 0x07 (Get controller info and supported function classes): No ACK received before timeout
[D] [zway] SENDING: ( 01 03 00 07 FB )
[zway] Job 0x07 (Get controller info and supported function classes): No ACK received before timeout
[W] [zway] Job 0x07 (Get controller info and supported function classes) dropped: too many resends
[D] [zway] Job 0x07 (Get controller info and supported function classes): fail
[C] [zway] Get Serial API Capabilities returned zero.
[zway] Removing job: Get controller info and supported function classes
[D] [zway] Worker thread exit point
[D] [zway] Worker thread successfully finished
[E] [zway] SaveData will not save data since it wasn't loaded. This is to prevent data loss.
[core] Notification: critical (z-wave): Cannot start Z-Wave binding: Error: Bad data - communication failed


Part of messages log :
May 26 10:11:23 raspberrypi kernel: [ 110.129102] usb 1-1.2: new full-speed USB device number 10 using dwc_otg
May 26 10:11:23 raspberrypi kernel: [ 110.589103] usb 1-1.2: new full-speed USB device number 11 using dwc_otg
May 26 10:11:24 raspberrypi kernel: [ 111.049124] usb 1-1.2: new full-speed USB device number 12 using dwc_otg
May 26 10:11:24 raspberrypi kernel: [ 111.549099] usb 1-1.2: new full-speed USB device number 13 using dwc_otg
May 26 10:11:25 raspberrypi kernel: [ 112.209109] usb 1-1.2: new full-speed USB device number 14 using dwc_otg
May 26 10:11:25 raspberrypi kernel: [ 112.312434] usb 1-1.2: New USB device found, idVendor=0658, idProduct=0200
May 26 10:11:25 raspberrypi kernel: [ 112.312459] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
May 26 10:11:25 raspberrypi kernel: [ 112.313620] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device


My knowledge in linux are verry basic, i think my usb dongle id detected by linux.
I already try to change the dongle on another usb port, with the same issue.

I don't know where is the problem.
Somebody could help me ?

Thanks in advance.

Re: An unexpected error occurred while initialising the Z-Wa

Posted: 26 May 2016 15:08
by pz1
Zwave USB dongle UZB1 requires port:
/dev/ttyACM0
to be set in Zwave App

Re: An unexpected error occurred while initialising the Z-Wa

Posted: 26 May 2016 18:18
by Slayes
Thanks for your reply, this issue is resolved now:)

When i tried to include one sensor ( Fibaro : motion sensor) in normal mode, i have the error :
INCLUSION takes a long time to start up.
And i i used the expert mode :
Error handling data
/ZWave.zway/Run/controller.AddNodeToNetwork(1)
In log file :
SETDATA controller.data.secureInclusion = True
Max number of devices (1) reached
I read on this forum, this is a problem of license !?
Somebody could tell me if it's right and how much cost one license ? ( i don't know if one license is limited at a number of sensor ? )

Thanks in advance for your help.

Re: An unexpected error occurred while initialising the Z-Wa

Posted: 26 May 2016 23:26
by pz1
Slayes wrote: Somebody could tell me if it's right and how much cost one license ? ( i don't know if one license is limited at a number of sensor ? )
The price is around 60 EUR. UZB1 can in principle control 232 devices. Performence depends on number of devices, and how often you poll them.

Re: An unexpected error occurred while initialising the Z-Wa

Posted: 27 May 2016 11:58
by Slayes
Thanks for your reply.

I too expensive for me :), i will search another solution, might be nodejs & openzwave