And now it seems to have died more completely:
Code: Select all
[2015-01-11 20:24:59.426] [I] [core] ZWay Automation started
[2015-01-11 20:24:59.452] [I] [core] Terminating Z-Wave binding
[2015-01-11 20:25:04.459] [I] [core] Restarting Z-Wave binding
[2015-01-11 20:25:04.490] [I] [core] Notification: critical (z-wave): Can not start Z-Wave binding: Error: Binding with name 'zway' already exists
[2015-01-11 20:25:10.649] [E] [zway] SaveData will not save data since it wasn't loaded. This is to prevent data loss.
After a reboot:
Code: Select all
[2015-01-11 20:29:45.525] [I] [core] ZWay Automation started
[2015-01-11 20:29:45.594] [I] [core] Terminating Z-Wave binding
[2015-01-11 20:29:50.642] [I] [core] Restarting Z-Wave binding
[2015-01-11 20:29:50.700] [I] [core] Notification: critical (z-wave): Can not start Z-Wave binding: Error: Binding with name 'zway' already exists
[2015-01-11 20:29:57.112] [E] [zway] SaveData will not save data since it wasn't loaded. This is to prevent data loss.
UI just says "error handling data from server".
More detailed end of log:
Code: Select all
[2015-01-11 21:00:58.048] [D] [zway] [49] "WatchDogStart"
[2015-01-11 21:00:58.048] [D] [zway] [50] "WatchDogStop"
[2015-01-11 21:00:58.048] [D] [zway] [51] "ZMEFreqChange"
[2015-01-11 21:00:58.048] [D] [zway] [52] "ZMERestore"
[2015-01-11 21:00:58.048] [D] [zway] [53] "ZMEBootloaderFlash"
[2015-01-11 21:00:58.048] [D] [zway] [54] "ZMECapabilities"
[2015-01-11 21:00:58.049] [D] [zway] Opened device: /dev/ttyAMA0
[2015-01-11 21:00:58.050] [D] [zway] Worker thread successfully created
[2015-01-11 21:00:58.061] [D] [zway] Worker thread entry point
[2015-01-11 21:00:58.066] [I] [zway] Adding job: Get controller info and supported function classes
[2015-01-11 21:00:58.072] [D] [zway] SENDING: ( 01 03 00 07 FB )
[2015-01-11 21:00:58.073] [D] [zway] RECEIVED CAN
[2015-01-11 21:00:58.083] [D] [zway] SENDING: ( 01 03 00 07 FB )
[2015-01-11 21:00:58.085] [D] [zway] RECEIVED CAN
[2015-01-11 21:00:58.095] [D] [zway] SENDING: ( 01 03 00 07 FB )
[2015-01-11 21:00:58.096] [D] [zway] RECEIVED CAN
[2015-01-11 21:00:58.107] [D] [zway] SENDING: ( 01 03 00 07 FB )
[2015-01-11 21:00:58.108] [D] [zway] RECEIVED CAN
[2015-01-11 21:00:58.118] [D] [zway] SENDING: ( 01 03 00 07 FB )
[2015-01-11 21:00:58.120] [D] [zway] RECEIVED CAN
[2015-01-11 21:00:58.130] [D] [zway] SENDING: ( 01 03 00 07 FB )
[2015-01-11 21:00:58.131] [D] [zway] RECEIVED CAN
[2015-01-11 21:00:58.137] [D] [zway] RECEIVED: ( 01 0C 00 04 00 02 06 31 05 03 0A 00 04 CA )
[2015-01-11 21:00:58.138] [D] [zway] SENT ACK
[2015-01-11 21:00:58.138] [I] [zway] Unhandled request for function class 0x04
[2015-01-11 21:00:58.138] [D] [zway] SENDING: ( 01 03 00 07 FB )
[2015-01-11 21:00:58.140] [D] [zway] RECEIVED ACK
[2015-01-11 21:00:58.143] [D] [zway] RECEIVED: ( 01 2B 01 07 01 61 06 06 06 06 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 B4 )
[2015-01-11 21:00:58.143] [D] [zway] SENT ACK
[2015-01-11 21:00:58.144] [D] [zway] SETDATA controller.data.APIVersion = "01.97"
[2015-01-11 21:00:58.144] [D] [zway] SETDATA controller.data.manufacturerId = 1542 (0x00000606)
[2015-01-11 21:00:58.144] [D] [zway] SETDATA controller.data.manufacturerProductType = 1542 (0x00000606)
[2015-01-11 21:00:58.144] [D] [zway] SETDATA controller.data.manufacturerProductId = 1536 (0x00000600)
[2015-01-11 21:00:58.150] [D] [zway] SETDATA controller.data.vendor = ""
[2015-01-11 21:00:58.150] [D] [zway] Supported Function Classes:
[2015-01-11 21:00:58.150] [D] [zway] ---------------------------
[2015-01-11 21:00:58.150] [D] [zway] SETDATA controller.data.capabilities = int[0]
[2015-01-11 21:00:58.150] [D] [zway] ---------------------------
[2015-01-11 21:00:58.150] [D] [zway] Initialization done
[2015-01-11 21:00:58.151] [D] [zway] Job 0x07 (Get controller info and supported function classes): success
[2015-01-11 21:00:58.151] [C] [zway] Get Serial API Capabilities returned zero.
[2015-01-11 21:00:58.151] [I] [zway] Removing job: Get controller info and supported function classes
[2015-01-11 21:00:58.161] [D] [zway] Worker thread exit point
[2015-01-11 21:00:58.162] [D] [zway] Worker thread successfully finished
[2015-01-11 21:00:58.216] [I] [core] Notification: critical (z-wave): Can not start Z-Wave binding: Error: Bad data - communication failed
[2015-01-11 21:00:58.218] [I] [core] Loading module ScheduledScene from modules/ScheduledScene
[2015-01-11 21:00:58.221] [I] [core] Executing script: /*** ScheduledScene Z-Way HA module ******************************************* ...
[2015-01-11 21:00:58.224] [I] [core] Loading module DelayedScene from modules/DelayedScene
[2015-01-11 21:00:58.227] [I] [core] Executing script: /*** DelayedScene Z-Way HA module ******************************************* ...
[2015-01-11 21:00:58.230] [I] [core] Loading module HomeKitGate from modules/HomeKitGate
[2015-01-11 21:00:58.235] [I] [core] Executing script: /* ...
[2015-01-11 21:00:58.237] [I] [core] Loading module BindDevices from modules/BindDevices
[2015-01-11 21:00:58.241] [I] [core] Executing script: /*** BindDevices Z-Way HA module ******************************************* ...
[2015-01-11 21:00:58.244] [I] [core] Loading module SensorsPollingLogging from modules/SensorsPollingLogging
[2015-01-11 21:00:58.247] [I] [core] Executing script: /*** SensorsPollingLogging Z-Way HA module ******************************************* ...
[2015-01-11 21:00:58.250] [I] [core] Loading module ImportRemoteHA from modules/ImportRemoteHA
[2015-01-11 21:00:58.256] [I] [core] Executing script: /*** ImportRemoteHA Z-Way HA module ******************************************* ...
[2015-01-11 21:00:58.259] [I] [core] Loading module LogicalRules from modules/LogicalRules
[2015-01-11 21:00:58.266] [I] [core] Executing script: /*** LogicalRules Z-Way HA module ******************************************* ...
[2015-01-11 21:00:58.269] [I] [core] Loading module OpenRemoteHelpers from modules/OpenRemoteHelpers
[2015-01-11 21:00:58.274] [I] [core] Executing script: /* RaZOR ...
[2015-01-11 21:00:58.277] [I] [core] Starting automation...
[2015-01-11 21:00:58.372] [I] [core] Starting storage...
[2015-01-11 21:00:58.376] [I] [core] ZWay Automation started
[2015-01-11 21:00:58.390] [I] [core] Terminating Z-Wave binding
[2015-01-11 21:01:03.410] [I] [core] Restarting Z-Wave binding
[2015-01-11 21:01:03.431] [I] [core] Notification: critical (z-wave): Can not start Z-Wave binding: Error: Binding with name 'zway' already exists
[2015-01-11 21:01:09.589] [E] [zway] SaveData will not save data since it wasn't loaded. This is to prevent data loss.
Downgrading to 1.7.1 causes z-way-server to exit silently; 2.0.0 is no change in behaviour. I presume
Code: Select all
[2015-01-11 21:00:58.130] [D] [zway] SENDING: ( 01 03 00 07 FB )
[2015-01-11 21:00:58.131] [D] [zway] RECEIVED CAN
[2015-01-11 21:00:58.137] [D] [zway] RECEIVED: ( 01 0C 00 04 00 02 06 31 05 03 0A 00 04 CA )
[2015-01-11 21:00:58.138] [D] [zway] SENT ACK
means the hardware is alive, but
Code: Select all
[2015-01-11 21:00:58.216] [I] [core] Notification: critical (z-wave): Can not start Z-Wave binding: Error: Bad data - communication failed
isn't good.
edit: /dev/ttyAMA0 works fine.
Is there any documentation available on the protocol used on /dev/ttyAMA0?
edit:
magic echo commmands did not help.
I cannot do anything with the power of the pi, my arms are not 2000km long.