z-way-server stops after a while (fresh install)

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
linderp1
Posts: 1
Joined: 18 Aug 2014 00:01

z-way-server stops after a while (fresh install)

Post by linderp1 »

Hello,

I am having trouble with the initial configuration of the RaZberry daughter board. After installing the PI (with the Raspbian distribution over NOOBS) and then the z-wave software the z-way-server simply stops running after approximately a minute.
The configuration on port 8083 is not available.

Trying running again the service with: sudo service z-way-server start the same happens again

I did the recommended shutdown after the installation, even took power off during several hours.

The following is the content of the config.xml file under /opt/z-way-server:
<config>
<device>/dev/ttyAMA0</device>
<config-dir></config-dir>
<translations-dir></translations-dir>
<zddx-dir></zddx-dir>
<port>8083</port>
<http-root-dir>./htdocs</http-root-dir>
<automation-dir>automation</automation-dir>
<shell-script-on-save-xml>sync</shell-script-on-save-xml>
<shell-script-on-save-http>sync</shell-script-on-save-http>
<log-file>/var/log/z-way-server.log</log-file>
<log-level>0</log-level>
<http-log-file>/var/log/z-way-server.log</http-log-file>
<http-log-level>0</http-log-level>
</config>

Here is how I tried to run the z-way-server manually on the console:
cd /opt/z-way-server
sudo bash
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/z-way-server/libs
./z-way-server

In the console the following can be read:
Z-Way version v1.7.2 from 2014-07-26 15:20:00 +0400 (build 428d48e765a32b39615c073af93e8666497724c9)
Using default configuration file config.xml
Starting Z-Way for device /dev/ttyAMA0...
failed to discover ZWay: Wrong packet from Z-Wave network or Discovery got bad data (stick communication failed) (-9)

After the last line above it stops working

Here is what is been seen in /var/log/z-way-server.log:
[2014-08-17 20:13:58.638] SETDATA controller.data = Empty
[2014-08-17 20:13:58.639] SETDATA controller.data.nodeId = Empty
[2014-08-17 20:13:58.639] SETDATA controller.data.homeId = Empty
[2014-08-17 20:13:58.639] SETDATA controller.data.SUCNodeId = Empty
[2014-08-17 20:13:58.639] SETDATA controller.data.isPrimary = Empty
[2014-08-17 20:13:58.639] SETDATA controller.data.isInOthersNetwork = Empty
[2014-08-17 20:13:58.639] SETDATA controller.data.isRealPrimary = Empty
[2014-08-17 20:13:58.640] SETDATA controller.data.isSUC = Empty
[2014-08-17 20:13:58.640] SETDATA controller.data.SISPresent = Empty
[2014-08-17 20:13:58.640] SETDATA controller.data.libType = Empty
[2014-08-17 20:13:58.640] SETDATA controller.data.SDK = Empty
[2014-08-17 20:13:58.640] SETDATA controller.data.ZWlibMajor = Empty
[2014-08-17 20:13:58.640] SETDATA controller.data.ZWlibMinor = Empty
[2014-08-17 20:13:58.641] SETDATA controller.data.ZWVersion = Empty
[2014-08-17 20:13:58.641] SETDATA controller.data.ZWaveChip = Empty
[2014-08-17 20:13:58.641] SETDATA controller.data.APIVersion = Empty
[2014-08-17 20:13:58.641] SETDATA controller.data.manufacturerId = Empty
[2014-08-17 20:13:58.641] SETDATA controller.data.vendor = Empty
[2014-08-17 20:13:58.641] SETDATA controller.data.manufacturerProductType = Empty
[2014-08-17 20:13:58.642] SETDATA controller.data.manufacturerProductId = Empty
[2014-08-17 20:13:58.642] SETDATA controller.data.capabilities = Empty
[2014-08-17 20:13:58.642] SETDATA controller.data.controllerState = Empty
[2014-08-17 20:13:58.642] SETDATA controller.data.nonManagmentJobs = Empty
[2014-08-17 20:13:58.642] SETDATA controller.data.lastIncludedDevice = Empty
[2014-08-17 20:13:58.642] SETDATA controller.data.lastExcludedDevice = Empty
[2014-08-17 20:13:58.642] SETDATA controller.data.secureInclusion = Empty
[2014-08-17 20:13:58.643] SETDATA controller.data.oldSerialAPIAckTimeout10ms = Empty
[2014-08-17 20:13:58.643] SETDATA controller.data.oldSerialAPIByteTimeout10ms = Empty
[2014-08-17 20:13:58.643] SETDATA controller.data.curSerialAPIAckTimeout10ms = Empty
[2014-08-17 20:13:58.643] SETDATA controller.data.curSerialAPIByteTimeout10ms = Empty
[2014-08-17 20:13:58.643] SETDATA controller.data.libVersionId = Empty
[2014-08-17 20:13:58.643] SETDATA controller.data.countJobs = Empty
[2014-08-17 20:13:58.643] SETDATA controller.data.memoryGetAddress = Empty
[2014-08-17 20:13:58.644] SETDATA controller.data.memoryGetData = Empty
[2014-08-17 20:13:58.644] SETDATA controller.data.memoryManufacturerId = Empty
[2014-08-17 20:13:58.644] SETDATA controller.data.memoryType = Empty
[2014-08-17 20:13:58.644] SETDATA controller.data.memoryCapacity = Empty
[2014-08-17 20:13:58.644] SETDATA controller.data.functionClasses = Empty
[2014-08-17 20:13:58.644] SETDATA controller.data.functionClassesNames = Empty
[2014-08-17 20:13:58.645] SETDATA controller.data.softwareRevisionVersion = Empty
[2014-08-17 20:13:58.645] SETDATA controller.data.softwareRevisionId = Empty
[2014-08-17 20:13:58.645] SETDATA controller.data.softwareRevisionDate = Empty
[2014-08-17 20:13:58.645] SETDATA controller.data.nodeId = 0 (0x00000000)
[2014-08-17 20:13:58.645] SETDATA controller.data.homeId = 0 (0x00000000)
[2014-08-17 20:13:58.645] SETDATA controller.data.SUCNodeId = 0 (0x00000000)
[2014-08-17 20:13:58.645] SETDATA controller.data.isPrimary = False
[2014-08-17 20:13:58.646] SETDATA controller.data.isInOthersNetwork = False
[2014-08-17 20:13:58.646] SETDATA controller.data.isRealPrimary = False
[2014-08-17 20:13:58.646] SETDATA controller.data.isSUC = False
[2014-08-17 20:13:58.646] SETDATA controller.data.SISPresent = False
[2014-08-17 20:13:58.646] SETDATA controller.data.libType = 0 (0x00000000)
[2014-08-17 20:13:58.646] SETDATA controller.data.ZWlibMajor = 0 (0x00000000)
[2014-08-17 20:13:58.646] SETDATA controller.data.ZWlibMinor = 0 (0x00000000)
[2014-08-17 20:13:58.646] SETDATA controller.data.ZWVersion = 0 (0x00000000)
[2014-08-17 20:13:58.647] SETDATA controller.data.manufacturerId = 0 (0x00000000)
[2014-08-17 20:13:58.647] SETDATA controller.data.manufacturerProductType = 0 (0x00000000)
[2014-08-17 20:13:58.647] SETDATA controller.data.manufacturerProductId = 0 (0x00000000)
[2014-08-17 20:13:58.647] SETDATA controller.data.controllerState = 0 (0x00000000)
[2014-08-17 20:13:58.647] SETDATA controller.data.nonManagmentJobs = 0 (0x00000000)
[2014-08-17 20:13:58.647] SETDATA controller.data.secureInclusion = True
[2014-08-17 20:13:58.647] SETDATA controller.data.oldSerialAPIAckTimeout10ms = 0 (0x00000000)
[2014-08-17 20:13:58.648] SETDATA controller.data.oldSerialAPIByteTimeout10ms = 0 (0x00000000)
[2014-08-17 20:13:58.648] SETDATA controller.data.curSerialAPIAckTimeout10ms = 0 (0x00000000)
[2014-08-17 20:13:58.648] SETDATA controller.data.curSerialAPIByteTimeout10ms = 0 (0x00000000)
[2014-08-17 20:13:58.648] SETDATA controller.data.libVersionId = 1 (0x00000001)
[2014-08-17 20:13:58.648] SETDATA controller.data.countJobs = False
[2014-08-17 20:13:58.648] SETDATA controller.data.softwareRevisionVersion = "v1.7.2"
[2014-08-17 20:13:58.648] SETDATA controller.data.softwareRevisionId = "428d48e765a32b39615c073af93e8666497724c9"
[2014-08-17 20:13:58.649] SETDATA controller.data.softwareRevisionDate = "2014-07-26 15:20:00 +0400"
[2014-08-17 20:13:58.649] SETDATA controller.data.functionClasses = int[48]
[2014-08-17 20:13:58.649] [00] 2
[2014-08-17 20:13:58.649] [01] 3
[2014-08-17 20:13:58.650] [02] 4
[2014-08-17 20:13:58.650] [03] 5
[2014-08-17 20:13:58.650] [04] 6
[2014-08-17 20:13:58.650] [05] 7
[2014-08-17 20:13:58.650] [06] 8
[2014-08-17 20:13:58.650] [07] 18
[2014-08-17 20:13:58.650] [08] 19
[2014-08-17 20:13:58.650] [09] 21
[2014-08-17 20:13:58.651] [10] 22
[2014-08-17 20:13:58.651] [11] 32
[2014-08-17 20:13:58.651] [12] 33
[2014-08-17 20:13:58.651] [13] 34
[2014-08-17 20:13:58.651] [14] 35
[2014-08-17 20:13:58.651] [15] 36
[2014-08-17 20:13:58.651] [16] 41
[2014-08-17 20:13:58.651] [17] 42
[2014-08-17 20:13:58.652] [18] 43
[2014-08-17 20:13:58.652] [19] 44
[2014-08-17 20:13:58.652] [20] 45
[2014-08-17 20:13:58.652] [21] 65
[2014-08-17 20:13:58.652] [22] 66
[2014-08-17 20:13:58.652] [23] 70
[2014-08-17 20:13:58.652] [24] 71
[2014-08-17 20:13:58.652] [25] 72
[2014-08-17 20:13:58.652] [26] 73
[2014-08-17 20:13:58.653] [27] 74
[2014-08-17 20:13:58.653] [28] 75
[2014-08-17 20:13:58.653] [29] 76
[2014-08-17 20:13:58.653] [30] 77
[2014-08-17 20:13:58.653] [31] 80
[2014-08-17 20:13:58.653] [32] 81
[2014-08-17 20:13:58.653] [33] 82
[2014-08-17 20:13:58.653] [34] 83
[2014-08-17 20:13:58.654] [35] 84
[2014-08-17 20:13:58.654] [36] 85
[2014-08-17 20:13:58.654] [37] 86
[2014-08-17 20:13:58.654] [38] 87
[2014-08-17 20:13:58.654] [39] 96
[2014-08-17 20:13:58.654] [40] 97
[2014-08-17 20:13:58.654] [41] 98
[2014-08-17 20:13:58.654] [42] 99
[2014-08-17 20:13:58.654] [43] 128
[2014-08-17 20:13:58.655] [44] 210
[2014-08-17 20:13:58.655] [45] 211
[2014-08-17 20:13:58.655] [46] 242
[2014-08-17 20:13:58.655] [47] 243
[2014-08-17 20:13:58.655] SETDATA controller.data.functionClassesNames = string[48]
[2014-08-17 20:13:58.655] [00] "SerialAPIGetInitData"
[2014-08-17 20:13:58.656] [01] "SerialAPIApplicationNodeInformation"
[2014-08-17 20:13:58.656] [02] "ApplicationCommandHandler"
[2014-08-17 20:13:58.656] [03] "GetControllerCapabilities"
[2014-08-17 20:13:58.656] [04] "SerialAPISetTimeouts"
[2014-08-17 20:13:58.656] [05] "GetSerialAPICapabilities"
[2014-08-17 20:13:58.656] [06] "SerialAPISoftReset"
[2014-08-17 20:13:58.656] [07] "SendNodeInformation"
[2014-08-17 20:13:58.656] [08] "SendData"
[2014-08-17 20:13:58.657] [09] "GetVersion"
[2014-08-17 20:13:58.657] [10] "SendDataAbort"
[2014-08-17 20:13:58.657] [11] "GetHomeId"
[2014-08-17 20:13:58.657] [12] "MemoryGetByte"
[2014-08-17 20:13:58.657] [13] "MemoryPutByte"
[2014-08-17 20:13:58.657] [14] "MemoryGetBuffer"
[2014-08-17 20:13:58.657] [15] "MemoryPutBuffer"
[2014-08-17 20:13:58.657] [16] "NVMGetId"
[2014-08-17 20:13:58.657] [17] "NVMExtReadLongBuffer"
[2014-08-17 20:13:58.658] [18] "NVMExtWriteLongBuffer"
[2014-08-17 20:13:58.658] [19] "NVMExtReadLongByte"
[2014-08-17 20:13:58.658] [20] "NVMExtWriteLongByte"
[2014-08-17 20:13:58.658] [21] "GetNodeProtocolInformation"
[2014-08-17 20:13:58.658] [22] "SetDefault"
[2014-08-17 20:13:58.658] [23] "AssignReturnRoute"
[2014-08-17 20:13:58.659] [24] "DeleteReturnRoute"
[2014-08-17 20:13:58.659] [25] "RequestNodeNeighbourUpdate"
[2014-08-17 20:13:58.659] [26] "ApplicationNodeUpdate"
[2014-08-17 20:13:58.659] [27] "AddNodeToNetwork"
[2014-08-17 20:13:58.659] [28] "RemoveNodeFromNetwork"
[2014-08-17 20:13:58.659] [29] "CreateNewPrimary"
[2014-08-17 20:13:58.659] [30] "ControllerChange"
[2014-08-17 20:13:58.659] [31] "SetLearnMode"
[2014-08-17 20:13:58.659] [32] "AssignSUCReturnRoute"
[2014-08-17 20:13:58.660] [33] "EnableSUC"
[2014-08-17 20:13:58.660] [34] "RequestNetworkUpdate"
[2014-08-17 20:13:58.660] [35] "SetSUCNodeId"
[2014-08-17 20:13:58.660] [36] "DeleteSUCReturnRoute"
[2014-08-17 20:13:58.660] [37] "GetSUCNodeId"
[2014-08-17 20:13:58.660] [38] "SendSUCNodeId"
[2014-08-17 20:13:58.660] [39] "RequestNodeInformation"
[2014-08-17 20:13:58.660] [40] "RemoveFailedNode"
[2014-08-17 20:13:58.661] [41] "IsFailedNode"
[2014-08-17 20:13:58.661] [42] "ReplaceFailedNode"
[2014-08-17 20:13:58.661] [43] "GetRoutingTableLine"
[2014-08-17 20:13:58.661] [44] "WatchDogStart"
[2014-08-17 20:13:58.661] [45] "WatchDogStop"
[2014-08-17 20:13:58.661] [46] "ZMEFreqChange"
[2014-08-17 20:13:58.661] [47] "ZMERestore"
[2014-08-17 20:13:58.662] Opened device: /dev/ttyAMA0
[2014-08-17 20:13:58.663] Worker thread successfully created
[2014-08-17 20:13:58.664] Worker thread entry point
[2014-08-17 20:13:58.674] Adding job: Get controller info and supported function classes
[2014-08-17 20:13:58.677] SENDING (cb 0x07): ( 01 03 00 07 FB )
[2014-08-17 20:13:58.687] RECEIVED ACK
[2014-08-17 20:13:58.698] RECEIVED: ( 01 2B 01 07 04 02 01 47 00 02 00 03 FE 00 16 80 0C 00 00 00 E3 97 7D 80 07 00 00 80 00 00 00 00 00 00 00 00 00
00 02 00 00 80 07 00 7C )
[2014-08-17 20:13:58.698] SENT ACK
[2014-08-17 20:13:58.699] SETDATA controller.data.APIVersion = "04.02"
[2014-08-17 20:13:58.699] SETDATA controller.data.manufacturerId = 327 (0x00000147)
[2014-08-17 20:13:58.699] SETDATA controller.data.manufacturerProductType = 2 (0x00000002)
[2014-08-17 20:13:58.699] SETDATA controller.data.manufacturerProductId = 3 (0x00000003)
[2014-08-17 20:13:58.705] SETDATA controller.data.vendor = "RaZberry by Z-Wave.Me"
[2014-08-17 20:13:58.705] Supported Function Classes:
[2014-08-17 20:13:58.705] ---------------------------
[2014-08-17 20:13:58.705] 0x02 SerialAPIGetInitData
[2014-08-17 20:13:58.706] 0x03 SerialAPIApplicationNodeInformation
[2014-08-17 20:13:58.706] 0x04 ApplicationCommandHandler
[2014-08-17 20:13:58.706] 0x05 GetControllerCapabilities
[2014-08-17 20:13:58.706] 0x06 SerialAPISetTimeouts
[2014-08-17 20:13:58.706] 0x07 GetSerialAPICapabilities
[2014-08-17 20:13:58.706] 0x08 SerialAPISoftReset
[2014-08-17 20:13:58.706] 0x12 SendNodeInformation
[2014-08-17 20:13:58.706] 0x13 SendData
[2014-08-17 20:13:58.707] 0x15 GetVersion
[2014-08-17 20:13:58.707] 0x20 GetHomeId
[2014-08-17 20:13:58.707] 0x23 MemoryGetBuffer
[2014-08-17 20:13:58.707] 0x24 MemoryPutBuffer
[2014-08-17 20:13:58.707] 0x41 GetNodeProtocolInformation
[2014-08-17 20:13:58.707] 0x42 SetDefault
[2014-08-17 20:13:58.707] 0x46 AssignReturnRoute
[2014-08-17 20:13:58.707] 0x47 DeleteReturnRoute
[2014-08-17 20:13:58.707] 0x48 RequestNodeNeighbourUpdate
[2014-08-17 20:13:58.708] 0x49 ApplicationNodeUpdate
[2014-08-17 20:13:58.708] 0x4a AddNodeToNetwork
[2014-08-17 20:13:58.708] 0x4b RemoveNodeFromNetwork
[2014-08-17 20:13:58.708] 0x4d ControllerChange
[2014-08-17 20:13:58.708] 0x50 SetLearnMode
[2014-08-17 20:13:58.708] 0x51 AssignSUCReturnRoute
[2014-08-17 20:13:58.708] 0x53 RequestNetworkUpdate
[2014-08-17 20:13:58.709] 0x54 SetSUCNodeId
[2014-08-17 20:13:58.709] 0x55 DeleteSUCReturnRoute
[2014-08-17 20:13:58.709] 0x56 GetSUCNodeId
[2014-08-17 20:13:58.709] 0x57 SendSUCNodeId
[2014-08-17 20:13:58.709] 0x60 RequestNodeInformation
[2014-08-17 20:13:58.709] 0x61 RemoveFailedNode
[2014-08-17 20:13:58.709] 0x62 IsFailedNode
[2014-08-17 20:13:58.709] 0x63 ReplaceFailedNode
[2014-08-17 20:13:58.710] 0x80 GetRoutingTableLine
[2014-08-17 20:13:58.710] 0xd2 WatchDogStart
[2014-08-17 20:13:58.710] 0xf0 UNKNOWN
[2014-08-17 20:13:58.710] 0xf1 UNKNOWN
[2014-08-17 20:13:58.710] 0xf2 ZMEFreqChange
[2014-08-17 20:13:58.710] 0xf3 ZMERestore
[2014-08-17 20:13:58.710] SETDATA controller.data.capabilities = int[39]
[2014-08-17 20:13:58.710] [00] 2
[2014-08-17 20:13:58.711] [01] 3
[2014-08-17 20:13:58.711] [02] 4
[2014-08-17 20:13:58.711] [03] 5
[2014-08-17 20:13:58.711] [04] 6
[2014-08-17 20:13:58.711] [05] 7
[2014-08-17 20:13:58.711] [06] 8
[2014-08-17 20:13:58.711] [07] 18
[2014-08-17 20:13:58.712] [08] 19
[2014-08-17 20:13:58.712] [09] 21
[2014-08-17 20:13:58.712] [10] 32
[2014-08-17 20:13:58.712] [11] 35
[2014-08-17 20:13:58.712] [12] 36
[2014-08-17 20:13:58.712] [13] 65
[2014-08-17 20:13:58.712] [14] 66
[2014-08-17 20:13:58.712] [15] 70
[2014-08-17 20:13:58.713] [16] 71
[2014-08-17 20:13:58.713] [17] 72
[2014-08-17 20:13:58.713] [18] 73
[2014-08-17 20:13:58.713] [19] 74
[2014-08-17 20:13:58.713] [20] 75
[2014-08-17 20:13:58.713] [21] 77
[2014-08-17 20:13:58.713] [22] 80
[2014-08-17 20:13:58.713] [23] 81
[2014-08-17 20:13:58.713] [24] 83
[2014-08-17 20:13:58.714] [25] 84
[2014-08-17 20:13:58.714] [26] 85
[2014-08-17 20:13:58.714] [27] 86
[2014-08-17 20:13:58.714] [28] 87
[2014-08-17 20:13:58.714] [29] 96
[2014-08-17 20:13:58.714] [30] 97
[2014-08-17 20:13:58.714] [31] 98
[2014-08-17 20:13:58.714] [32] 99
[2014-08-17 20:13:58.714] [33] 128
[2014-08-17 20:13:58.715] [34] 210
[2014-08-17 20:13:58.715] [35] 240
[2014-08-17 20:13:58.715] [36] 241
[2014-08-17 20:13:58.715] [37] 242
[2014-08-17 20:13:58.715] [38] 243
[2014-08-17 20:13:58.715] ---------------------------
[2014-08-17 20:13:58.715] Job 0x07 (Get controller info and supported function classes): success
[2014-08-17 20:13:58.716] Adding job: Set Serial API timeouts
[2014-08-17 20:13:58.716] Adding job: WatchDog Start
[2014-08-17 20:13:58.716] Adding job: Get home id and controller node id
[2014-08-17 20:13:58.716] Removing job: Get controller info and supported function classes
[2014-08-17 20:13:58.728] SENDING (cb 0x0a): ( 01 05 00 06 0A 0A FC )
[2014-08-17 20:13:58.738] RECEIVED ACK
[2014-08-17 20:13:58.748] RECEIVED: ( 01 05 01 06 0A 0A FD )
[2014-08-17 20:13:58.749] SENT ACK
[2014-08-17 20:13:58.749] Job 0x06 (Set Serial API timeouts): Old timeouts are: ACK timeout 100 ms and Byte timeout 100 ms
[2014-08-17 20:13:58.749] SETDATA controller.data.oldSerialAPIAckTimeout10ms = 10 (0x0000000a)
[2014-08-17 20:13:58.749] SETDATA controller.data.oldSerialAPIByteTimeout10ms = 10 (0x0000000a)
[2014-08-17 20:13:58.749] SETDATA controller.data.curSerialAPIAckTimeout10ms = 10 (0x0000000a)
[2014-08-17 20:13:58.749] SETDATA controller.data.curSerialAPIByteTimeout10ms = 10 (0x0000000a)
[2014-08-17 20:13:58.750] Job 0x06 (Set Serial API timeouts): success
[2014-08-17 20:13:58.750] Removing job: Set Serial API timeouts
[2014-08-17 20:13:58.761] SENDING (cb 0xd2): ( 01 03 00 D2 2E )
[2014-08-17 20:13:58.772] RECEIVED ACK
[2014-08-17 20:13:58.772] Removing job: WatchDog Start
[2014-08-17 20:13:58.783] SENDING (cb 0x20): ( 01 03 00 20 DC )
[2014-08-17 20:13:58.794] RECEIVED ACK
[2014-08-17 20:13:58.804] RECEIVED: ( 01 08 01 20 FF FF FF FF FF 29 )
[2014-08-17 20:13:58.804] SENT ACK
[2014-08-17 20:13:58.805] SETDATA controller.data.nodeId = 255 (0x000000ff)
[2014-08-17 20:13:58.805] SETDATA controller.data.homeId = -1 (0xffffffff)
[2014-08-17 20:13:58.805] Job 0x20 (Get home id and controller node id): Home id: 0xffffffff, controller node id: 255
[2014-08-17 20:13:58.805] Job 0x20 (Get home id and controller node id): success
[2014-08-17 20:13:58.806] Adding job: Get controller capabilities
[2014-08-17 20:13:58.806] Adding job: Get controller version
[2014-08-17 20:13:58.806] Adding job: Get SUC node id
[2014-08-17 20:13:58.806] Adding job: Get initial data about network devices
[2014-08-17 20:13:58.807] Removing job: Get home id and controller node id
[2014-08-17 20:13:58.818] SENDING (cb 0x05): ( 01 03 00 05 F9 )
[2014-08-17 20:13:58.829] RECEIVED ACK
[2014-08-17 20:13:58.839] RECEIVED: ( 01 04 01 05 2E D1 )
[2014-08-17 20:13:58.839] SENT ACK
[2014-08-17 20:13:58.839] SETDATA controller.data.isPrimary = True
[2014-08-17 20:13:58.840] SETDATA controller.data.isInOthersNetwork = True
[2014-08-17 20:13:58.840] SETDATA controller.data.SISPresent = True
[2014-08-17 20:13:58.840] SETDATA controller.data.isRealPrimary = True
[2014-08-17 20:13:58.840] SETDATA controller.data.isSUC = False
[2014-08-17 20:13:58.840] Job 0x05 (Get controller capabilities): success
[2014-08-17 20:13:58.840] Removing job: Get controller capabilities
[2014-08-17 20:13:58.852] SENDING (cb 0x15): ( 01 03 00 15 E9 )
[2014-08-17 20:13:58.862] RECEIVED ACK
[2014-08-17 20:13:58.873] RECEIVED: ( 01 10 01 15 5A 2D 57 61 76 65 20 33 2E 34 32 00 01 93 )
[2014-08-17 20:13:58.873] SENT ACK
[2014-08-17 20:13:58.875] SETDATA controller.data.SDK = "4.54.01"
[2014-08-17 20:13:58.876] SETDATA controller.data.ZWlibMajor = 3 (0x00000003)
[2014-08-17 20:13:58.876] SETDATA controller.data.ZWlibMinor = 42 (0x0000002a)
[2014-08-17 20:13:58.876] SETDATA controller.data.libType = "Static Controller"
[2014-08-17 20:13:58.876] Job 0x15 (Get controller version): success
[2014-08-17 20:13:58.877] Removing job: Get controller version
[2014-08-17 20:13:58.888] SENDING (cb 0x56): ( 01 03 00 56 AA )
[2014-08-17 20:13:58.899] RECEIVED ACK
[2014-08-17 20:13:58.909] RECEIVED: ( 01 04 01 56 FF 53 )
[2014-08-17 20:13:58.909] SENT ACK
[2014-08-17 20:13:58.910] Job 0x56 (Get SUC node id): SUC node is 255
[2014-08-17 20:13:58.910] SETDATA controller.data.SUCNodeId = 255 (0x000000ff)
[2014-08-17 20:13:58.910] Job 0x56 (Get SUC node id): success
[2014-08-17 20:13:58.910] Removing job: Get SUC node id
[2014-08-17 20:13:58.921] SENDING (cb 0x02): ( 01 03 00 02 FE )
[2014-08-17 20:13:58.932] RECEIVED ACK
[2014-08-17 20:13:58.975] RECEIVED: ( 01 25 01 02 05 00 1D FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 03
01 3C )
[2014-08-17 20:13:58.975] SENT ACK
[2014-08-17 20:13:58.976] SETDATA controller.data.ZWVersion = 5 (0x00000005)
[2014-08-17 20:13:58.976] SETDATA controller.data.ZWaveChip = "ZW0301"
[2014-08-17 20:13:58.976] Capabilities:
[2014-08-17 20:13:58.976] - Controller API
[2014-08-17 20:13:58.976] - Timer function not supported
[2014-08-17 20:13:58.976] - Primary Controller
[2014-08-17 20:13:58.977] Detected Devices:
[2014-08-17 20:13:58.977] -----------------
[2014-08-17 20:13:58.977] Node 0x01
[2014-08-17 20:13:58.977] SETDATA devices.1.data = Empty
[2014-08-17 20:13:58.977] SETDATA devices.1.instances.0.data = Empty
[2014-08-17 20:13:58.977] SETDATA devices.1.instances.0.data.dynamic = Empty
[2014-08-17 20:13:58.978] SETDATA devices.1.instances.0.data.dynamic = False
[2014-08-17 20:13:58.978] SETDATA devices.1.instances.0.data.genericType = Empty
[2014-08-17 20:13:58.978] SETDATA devices.1.instances.0.data.genericType = 0 (0x00000000)
[2014-08-17 20:13:58.978] SETDATA devices.1.instances.0.data.specificType = Empty
[2014-08-17 20:13:58.978] SETDATA devices.1.instances.0.data.specificType = 0 (0x00000000)
[2014-08-17 20:13:58.978] SETDATA devices.1.data.basicType = Empty
[2014-08-17 20:13:58.979] SETDATA devices.1.data.genericType = Empty
[2014-08-17 20:13:58.979] SETDATA devices.1.data.specificType = Empty
[2014-08-17 20:13:58.979] SETDATA devices.1.data.infoProtocolSpecific = Empty
[2014-08-17 20:13:58.979] SETDATA devices.1.data.deviceTypeString = Empty
[2014-08-17 20:13:58.979] SETDATA devices.1.data.isVirtual = Empty
[2014-08-17 20:13:58.979] SETDATA devices.1.data.isListening = Empty
[2014-08-17 20:13:58.979] SETDATA devices.1.data.isRouting = Empty
[2014-08-17 20:13:58.980] SETDATA devices.1.data.isAwake = Empty
[2014-08-17 20:13:58.980] SETDATA devices.1.data.optional = Empty
[2014-08-17 20:13:58.980] SETDATA devices.1.data.isFailed = Empty
[2014-08-17 20:13:58.980] SETDATA devices.1.data.beam = Empty
[2014-08-17 20:13:58.980] SETDATA devices.1.data.sensor250 = Empty
[2014-08-17 20:13:58.980] SETDATA devices.1.data.sensor1000 = Empty
[2014-08-17 20:13:58.981] SETDATA devices.1.data.neighbours = Empty
[2014-08-17 20:13:58.981] SETDATA devices.1.data.manufacturerId = Empty
[2014-08-17 20:13:58.981] SETDATA devices.1.data.vendorString = Empty
[2014-08-17 20:13:58.981] SETDATA devices.1.data.manufacturerProductType = Empty
[2014-08-17 20:13:58.981] SETDATA devices.1.data.manufacturerProductId = Empty
[2014-08-17 20:13:58.981] SETDATA devices.1.data.ZWLib = Empty
[2014-08-17 20:13:58.982] SETDATA devices.1.data.ZWProtocolMajor = Empty
[2014-08-17 20:13:58.982] SETDATA devices.1.data.ZWProtocolMinor = Empty
[2014-08-17 20:13:58.982] SETDATA devices.1.data.SDK = Empty
[2014-08-17 20:13:58.982] SETDATA devices.1.data.applicationMajor = Empty
[2014-08-17 20:13:58.982] SETDATA devices.1.data.applicationMinor = Empty
[2014-08-17 20:13:58.982] SETDATA devices.1.data.nodeInfoFrame = Empty
[2014-08-17 20:13:58.982] SETDATA devices.1.data.ZDDXMLFile = Empty
[2014-08-17 20:13:58.982] SETDATA devices.1.data.lastSend = Empty
[2014-08-17 20:13:58.983] SETDATA devices.1.data.lastNonceGet = Empty
[2014-08-17 20:13:58.983] SETDATA devices.1.data.lastReceived = Empty
[2014-08-17 20:13:58.983] SETDATA devices.1.data.failureCount = Empty
[2014-08-17 20:13:58.983] SETDATA devices.1.data.keepAwake = Empty
[2014-08-17 20:13:58.983] SETDATA devices.1.data.countSuccess = Empty
[2014-08-17 20:13:58.983] SETDATA devices.1.data.countFailed = Empty
[2014-08-17 20:13:58.983] SETDATA devices.1.data.queueLength = Empty
[2014-08-17 20:13:58.984] SETDATA devices.1.data.givenName = Empty
[2014-08-17 20:13:58.984] SETDATA devices.1.data.lastPacketInfo = Empty
[2014-08-17 20:13:58.984] SETDATA devices.1.data.lastPacketInfo.deliveryTime = Empty
[2014-08-17 20:13:58.984] SETDATA devices.1.data.lastPacketInfo.delivered = Empty
[2014-08-17 20:13:58.984] SETDATA devices.1.data.lastPacketInfo.packetLength = Empty
[2014-08-17 20:13:58.984] SETDATA devices.1.data.basicType = 0 (0x00000000)
[2014-08-17 20:13:58.985] SETDATA devices.1.data.genericType = 0 (0x00000000)
[2014-08-17 20:13:58.985] SETDATA devices.1.data.specificType = 0 (0x00000000)
[2014-08-17 20:13:58.985] SETDATA devices.1.data.infoProtocolSpecific = 0 (0x00000000)
[2014-08-17 20:13:58.985] SETDATA devices.1.data.deviceTypeString = ""
[2014-08-17 20:13:58.985] SETDATA devices.1.data.isVirtual = False
[2014-08-17 20:13:58.985] SETDATA devices.1.data.isListening = True
[2014-08-17 20:13:58.985] SETDATA devices.1.data.isRouting = False
[2014-08-17 20:13:58.986] SETDATA devices.1.data.isAwake = False
[2014-08-17 20:13:58.986] SETDATA devices.1.data.optional = False
[2014-08-17 20:13:58.986] SETDATA devices.1.data.isFailed = False
[2014-08-17 20:13:58.986] SETDATA devices.1.data.beam = False
[2014-08-17 20:13:58.986] SETDATA devices.1.data.sensor250 = False
[2014-08-17 20:13:58.986] SETDATA devices.1.data.sensor1000 = False
[2014-08-17 20:13:58.986] SETDATA devices.1.data.neighbours = Empty
[2014-08-17 20:13:58.987] SETDATA devices.1.data.manufacturerId = 0 (0x00000000)
[2014-08-17 20:13:58.987] SETDATA devices.1.data.manufacturerProductType = 0 (0x00000000)
[2014-08-17 20:13:58.987] SETDATA devices.1.data.manufacturerProductId = 0 (0x00000000)
[2014-08-17 20:13:58.987] SETDATA devices.1.data.applicationMajor = 0 (0x00000000)
[2014-08-17 20:13:58.987] SETDATA devices.1.data.applicationMinor = 0 (0x00000000)
[2014-08-17 20:13:58.987] SETDATA devices.1.data.ZWProtocolMajor = 0 (0x00000000)
[2014-08-17 20:13:58.987] SETDATA devices.1.data.ZWProtocolMinor = 0 (0x00000000)
[2014-08-17 20:13:58.988] SETDATA devices.1.data.ZWLib = 0 (0x00000000)
[2014-08-17 20:13:58.988] SETDATA devices.1.data.SDK = ""
[2014-08-17 20:13:58.988] SETDATA devices.1.data.vendorString = ""
[2014-08-17 20:13:58.988] SETDATA devices.1.data.nodeInfoFrame = Empty
[2014-08-17 20:13:58.988] SETDATA devices.1.data.ZDDXMLFile = ""
[2014-08-17 20:13:58.988] SETDATA devices.1.data.keepAwake = False
[2014-08-17 20:13:58.989] SETDATA devices.1.data.countSuccess = 0 (0x00000000)
[2014-08-17 20:13:58.989] SETDATA devices.1.data.countFailed = 0 (0x00000000)
[2014-08-17 20:13:58.989] SETDATA devices.1.data.queueLength = 0 (0x00000000)
[2014-08-17 20:13:58.989] SETDATA devices.1.data.lastReceived = 0 (0x00000000)
[2014-08-17 20:13:58.989] SETDATA devices.1.data.lastSend = 0 (0x00000000)
[2014-08-17 20:13:58.989] SETDATA devices.1.data.failureCount = 0 (0x00000000)
[2014-08-17 20:13:58.989] SETDATA devices.1.data.givenName = ""
[2014-08-17 20:13:58.990] Adding job: Get node protocol information
[2014-08-17 20:13:58.990] Adding job: Get routing table line
[2014-08-17 20:13:58.990] Adding job: Check if node is failed
[2014-08-17 20:13:58.990] Job 0x80 (Get routing table line): removing duplicate
etc...
etc...

And this is what is at the end of the file:
[2014-08-17 20:14:14.094] Job 0x02 (Get initial data about network devices): success
[2014-08-17 20:14:14.097] Adding job: Set controller node information frame
[2014-08-17 20:14:14.097] No controller device found
[2014-08-17 20:14:14.097] Removing job: Get initial data about network devices
[2014-08-17 20:14:14.099] SENDING (cb 0x01): ( 01 04 00 62 01 98 )
[2014-08-17 20:14:14.110] Worker thread exit point
[2014-08-17 20:14:14.111] Worker thread successfully finished

I have been trying several re-installations (OS & z-way-server) during more than one week, been tweaking with rpi-updates, enabling/disabling SPI, cleaning /dev/ttyAMA0 with echo -ne "x01x04x00x42x01xB8", ...
All without any success.

I have never seen any LED blinking on the RazBerry, so I was wondering if this could not be a HW failure.
I would very happy if you could assist me.

P.S: My OS release is: Raspbian GNU/Linux 7 (wheezy)

Thanks a lot and best regards,
Pascal
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: z-way-server stops after a while (fresh install)

Post by PoltoS »

Please try to reset memory first:
echo -ne "\x01\x04\x00\x42\x01\xB8" > /dev/ttyAMA0
isachris83
Posts: 9
Joined: 01 Jun 2013 18:12

Re: z-way-server stops after a while (fresh install)

Post by isachris83 »

Could you explain Poltos ?

I have the same problem for the second time. The first time( 6 months ago) i thought my card was broken (this is what some posts on the forum suggest) and the seller tested the card which appeared to be in order. So he sent me the card back (in juni) and that worked from now on. yesterday, I wanted to switch a device and i had the same problem : Z-way-server off
here is the tail of z-way-server.log at startup :

Code: Select all

[2014-10-12 11:53:29.678] Adding job: WatchDog Start
[2014-10-12 11:53:29.678] Adding job: Get home id and controller node id
[2014-10-12 11:53:29.678] Removing job: Get controller info and supported function classes
[2014-10-12 11:53:29.726] SENDING (cb 0x0a): ( 01 05 00 06 0A 0A FC )
[2014-10-12 11:53:29.736] RECEIVED ACK
[2014-10-12 11:53:29.747] RECEIVED: ( 01 05 01 06 0A 0A FD )
[2014-10-12 11:53:29.747] SENT ACK
[2014-10-12 11:53:29.747] Job 0x06 (Set Serial API timeouts): Old timeouts are: ACK timeout 100 ms and Byte timeout 100 ms
[2014-10-12 11:53:29.748] SETDATA controller.data.oldSerialAPIAckTimeout10ms = 10 (0x0000000a)
[2014-10-12 11:53:29.748] SETDATA controller.data.oldSerialAPIByteTimeout10ms = 10 (0x0000000a)
[2014-10-12 11:53:29.748] SETDATA controller.data.curSerialAPIAckTimeout10ms = 10 (0x0000000a)
[2014-10-12 11:53:29.748] SETDATA controller.data.curSerialAPIByteTimeout10ms = 10 (0x0000000a)
[2014-10-12 11:53:29.748] Job 0x06 (Set Serial API timeouts): success
[2014-10-12 11:53:29.748] Removing job: Set Serial API timeouts
[2014-10-12 11:53:29.760] SENDING (cb 0xd2): ( 01 03 00 D2 2E )
[2014-10-12 11:53:29.770] RECEIVED ACK
[2014-10-12 11:53:29.771] Removing job: WatchDog Start
[2014-10-12 11:53:29.782] SENDING (cb 0x20): ( 01 03 00 20 DC )
[2014-10-12 11:53:29.964] Job 0x20 (Get home id and controller node id): No ACK received before timeout
[2014-10-12 11:53:29.976] SENDING (cb 0x20): ( 01 03 00 20 DC )
[2014-10-12 11:53:30.156] Job 0x20 (Get home id and controller node id): No ACK received before timeout
[2014-10-12 11:53:30.168] SENDING (cb 0x20): ( 01 03 00 20 DC )
[2014-10-12 11:53:30.350] Job 0x20 (Get home id and controller node id): No ACK received before timeout
[2014-10-12 11:53:30.351] Job 0x20 (Get home id and controller node id) dropped: too many resends
[2014-10-12 11:53:30.351] Job 0x20 (Get home id and controller node id): fail
[2014-10-12 11:53:30.351] Get HomeId failed.
[2014-10-12 11:53:30.351] Removing job: Get home id and controller node id
[2014-10-12 11:53:30.361] Worker thread exit point
[2014-10-12 11:53:30.362] Worker thread successfully finished
I made :
echo -ne "\x01\x04\x00\x42\x01\xB8" > /dev/ttyAMA0
and i tried to start manually, i got exactly the same message as linderp1 ("failed to discover ZWay: Wrong packet from Z-Wave network or Discovery got bad data (stick communication failed) (-9)")

i installed V2.0.0 - RC10 but i have stille the same problem...


Thanks for your help.

Christophe
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: z-way-server stops after a while (fresh install)

Post by PoltoS »

It finally seems to be dead. What numbers are written on your RaZberry board?

Seems that it worked for half a year more before finally being going on retreat...
isachris83
Posts: 9
Joined: 01 Jun 2013 18:12

Re: z-way-server stops after a while (fresh install)

Post by isachris83 »

The e-shop where I have bought the device doesn't want to make the replacement for the reason that the guaranty is over (despite I sent them the card during the guaranty last time). What should I do ?

best regards,

Christophe
isachris83
Posts: 9
Joined: 01 Jun 2013 18:12

Re: z-way-server stops after a while (fresh install)

Post by isachris83 »

allo ?
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: z-way-server stops after a while (fresh install)

Post by PoltoS »

When have you bought it? What is the date written on the board? What is the shop and what was guarantee time announced by them (it should be 1 year)? You can write us on info
isachris83
Posts: 9
Joined: 01 Jun 2013 18:12

Re: z-way-server stops after a while (fresh install)

Post by isachris83 »

Hello,
I don't understand. I brought back the card from a remote site and i plugged it on my local raspberry and it works fine again !!!! It seems to be a software problem but i can't find it ... what should i do ?

Thanks for your answer.
Post Reply