Usb-стик zmr_zstick4 и debian

Данный раздел предназначен для русскоязычных пользователей. Если вы владеете английским, рекомендуем также просмотреть общую ветку обсуждений на английском.
Post Reply
Mikhail_Tomsk
Posts: 4
Joined: 02 Mar 2017 16:07

Usb-стик zmr_zstick4 и debian

Post by Mikhail_Tomsk » 02 Mar 2017 16:13

Добрый день!
Купил usb-stick z-stick4, пытаюсь запустить его хоть как-нибудь.
В логах dmesg вижу что устройство определилось и висит на /dev/ttyUSB0
Запускаю z-way сервер на Debian 16.04 i386, в логах вроде бы идет общение со стиком а потом обрывается с ошибкой, но почему мне непонятно. Лог нижe.
Мне нужна лицензия? А как ее купить и установить?

Code: Select all

[2017-03-02 19:53:24.057] [D] [zway] Opened device: /dev/ttyUSB0
[2017-03-02 19:53:24.058] [D] [zway] Worker thread successfully created
[2017-03-02 19:53:24.058] [D] [zway] Worker thread entry point
[2017-03-02 19:53:24.058] [I] [zway] Adding job: Get controller info and supported function classes
[2017-03-02 19:53:24.068] [D] [zway] SENDING: ( 01 03 00 07 FB )
[2017-03-02 19:53:24.069] [D] [zway] RECEIVED ACK
[2017-03-02 19:53:24.078] [D] [zway] RECEIVED: ( 01 2B 01 07 04 00 01 15 00 02 00 03 FE 00 36 80 0B 00 00 00 E3 97 7D 80 07 00 00 80 00 00 00 00 00 00 00 20 00 00 02 00 00 80 03 00 2F )
[2017-03-02 19:53:24.078] [D] [zway] SENT ACK
[2017-03-02 19:53:24.078] [D] [zway] SETDATA controller.data.APIVersion = "04.00"
[2017-03-02 19:53:24.078] [D] [zway] SETDATA controller.data.manufacturerId = 277 (0x00000115)
[2017-03-02 19:53:24.078] [D] [zway] SETDATA controller.data.manufacturerProductType = 2 (0x00000002)
[2017-03-02 19:53:24.078] [D] [zway] SETDATA controller.data.manufacturerProductId = 3 (0x00000003)
[2017-03-02 19:53:24.079] [D] [zway] SETDATA controller.data.vendor = "Z-Wave.Me"
[2017-03-02 19:53:24.079] [D] [zway] Supported Function Classes:
[2017-03-02 19:53:24.079] [D] [zway] ---------------------------
[2017-03-02 19:53:24.079] [D] [zway] 0x02 SerialAPIGetInitData
[2017-03-02 19:53:24.079] [D] [zway] 0x03 SerialAPIApplicationNodeInformation
[2017-03-02 19:53:24.079] [D] [zway] 0x04 ApplicationCommandHandler
[2017-03-02 19:53:24.079] [D] [zway] 0x05 GetControllerCapabilities
[2017-03-02 19:53:24.079] [D] [zway] 0x06 SerialAPISetTimeouts
[2017-03-02 19:53:24.079] [D] [zway] 0x07 GetSerialAPICapabilities
[2017-03-02 19:53:24.079] [D] [zway] 0x08 SerialAPISoftReset
[2017-03-02 19:53:24.079] [D] [zway] 0x12 SendNodeInformation
[2017-03-02 19:53:24.079] [D] [zway] 0x13 SendData
[2017-03-02 19:53:24.079] [D] [zway] 0x15 GetVersion
[2017-03-02 19:53:24.079] [D] [zway] 0x16 SendDataAbort
[2017-03-02 19:53:24.079] [D] [zway] 0x20 GetHomeId
[2017-03-02 19:53:24.079] [D] [zway] 0x21 MemoryGetByte
[2017-03-02 19:53:24.079] [D] [zway] 0x22 MemoryPutByte
[2017-03-02 19:53:24.079] [D] [zway] 0x24 MemoryPutBuffer
[2017-03-02 19:53:24.080] [D] [zway] 0x41 GetNodeProtocolInformation
[2017-03-02 19:53:24.080] [D] [zway] 0x42 SetDefault
[2017-03-02 19:53:24.080] [D] [zway] 0x46 AssignReturnRoute
[2017-03-02 19:53:24.080] [D] [zway] 0x47 DeleteReturnRoute
[2017-03-02 19:53:24.080] [D] [zway] 0x48 RequestNodeNeighbourUpdate
[2017-03-02 19:53:24.080] [D] [zway] 0x49 ApplicationNodeUpdate
[2017-03-02 19:53:24.080] [D] [zway] 0x4a AddNodeToNetwork
[2017-03-02 19:53:24.080] [D] [zway] 0x4b RemoveNodeFromNetwork
[2017-03-02 19:53:24.080] [D] [zway] 0x4d ControllerChange
[2017-03-02 19:53:24.080] [D] [zway] 0x50 SetLearnMode
[2017-03-02 19:53:24.080] [D] [zway] 0x51 AssignSUCReturnRoute
[2017-03-02 19:53:24.080] [D] [zway] 0x53 RequestNetworkUpdate
[2017-03-02 19:53:24.080] [D] [zway] 0x54 SetSUCNodeId
[2017-03-02 19:53:24.080] [D] [zway] 0x55 DeleteSUCReturnRoute
[2017-03-02 19:53:24.080] [D] [zway] 0x56 GetSUCNodeId
[2017-03-02 19:53:24.080] [D] [zway] 0x57 SendSUCNodeId
[2017-03-02 19:53:24.080] [D] [zway] 0x60 RequestNodeInformation
[2017-03-02 19:53:24.080] [D] [zway] 0x61 RemoveFailedNode
[2017-03-02 19:53:24.080] [D] [zway] 0x62 IsFailedNode
[2017-03-02 19:53:24.080] [D] [zway] 0x63 ReplaceFailedNode
[2017-03-02 19:53:24.080] [D] [zway] 0x80 GetRoutingTableLine
[2017-03-02 19:53:24.080] [D] [zway] 0xbe SendTestFrame
[2017-03-02 19:53:24.080] [D] [zway] 0xd2 WatchDogStart
[2017-03-02 19:53:24.080] [D] [zway] 0xf0 UNKNOWN
[2017-03-02 19:53:24.080] [D] [zway] 0xf1 UNKNOWN
[2017-03-02 19:53:24.081] [D] [zway] 0xf2 ZMEFreqChange
[2017-03-02 19:53:24.081] [D] [zway] SETDATA controller.data.capabilities = int[41]
[2017-03-02 19:53:24.081] [D] [zway]   [00] 2
[2017-03-02 19:53:24.081] [D] [zway]   [01] 3
[2017-03-02 19:53:24.081] [D] [zway]   [02] 4
[2017-03-02 19:53:24.081] [D] [zway]   [03] 5
[2017-03-02 19:53:24.081] [D] [zway]   [04] 6
[2017-03-02 19:53:24.081] [D] [zway]   [05] 7
[2017-03-02 19:53:24.081] [D] [zway]   [06] 8
[2017-03-02 19:53:24.081] [D] [zway]   [07] 18
[2017-03-02 19:53:24.081] [D] [zway]   [08] 19
[2017-03-02 19:53:24.081] [D] [zway]   [09] 21
[2017-03-02 19:53:24.081] [D] [zway]   [10] 22
[2017-03-02 19:53:24.081] [D] [zway]   [11] 32
[2017-03-02 19:53:24.081] [D] [zway]   [12] 33
[2017-03-02 19:53:24.081] [D] [zway]   [13] 34
[2017-03-02 19:53:24.081] [D] [zway]   [14] 36
[2017-03-02 19:53:24.081] [D] [zway]   [15] 65
[2017-03-02 19:53:24.081] [D] [zway]   [16] 66
[2017-03-02 19:53:24.081] [D] [zway]   [17] 70
[2017-03-02 19:53:24.081] [D] [zway]   [18] 71
[2017-03-02 19:53:24.081] [D] [zway]   [19] 72
[2017-03-02 19:53:24.081] [D] [zway]   [20] 73
[2017-03-02 19:53:24.081] [D] [zway]   [21] 74
[2017-03-02 19:53:24.081] [D] [zway]   [22] 75
[2017-03-02 19:53:24.081] [D] [zway]   [23] 77
[2017-03-02 19:53:24.081] [D] [zway]   [24] 80
[2017-03-02 19:53:24.082] [D] [zway]   [25] 81
[2017-03-02 19:53:24.082] [D] [zway]   [26] 83
[2017-03-02 19:53:24.082] [D] [zway]   [27] 84
[2017-03-02 19:53:24.082] [D] [zway]   [28] 85
[2017-03-02 19:53:24.082] [D] [zway]   [29] 86
[2017-03-02 19:53:24.082] [D] [zway]   [30] 87
[2017-03-02 19:53:24.082] [D] [zway]   [31] 96
[2017-03-02 19:53:24.082] [D] [zway]   [32] 97
[2017-03-02 19:53:24.082] [D] [zway]   [33] 98
[2017-03-02 19:53:24.082] [D] [zway]   [34] 99
[2017-03-02 19:53:24.082] [D] [zway]   [35] 128
[2017-03-02 19:53:24.082] [D] [zway]   [36] 190
[2017-03-02 19:53:24.082] [D] [zway]   [37] 210
[2017-03-02 19:53:24.082] [D] [zway]   [38] 240
[2017-03-02 19:53:24.082] [D] [zway]   [39] 241
[2017-03-02 19:53:24.082] [D] [zway]   [40] 242
[2017-03-02 19:53:24.082] [D] [zway] ---------------------------
[2017-03-02 19:53:24.082] [D] [zway] Job 0x07 (Get controller info and supported function classes): success
[2017-03-02 19:53:24.082] [C] [zway] Device don't answer to capabilities. Terminating...
[2017-03-02 19:53:24.082] [D] [zway] SETDATA controller.data.controllerState = 0 (0x00000000)
[2017-03-02 19:53:24.082] [I] [zway] Adding job: Set Serial API timeouts
[2017-03-02 19:53:24.082] [I] [zway] Adding job: WatchDog Start
[2017-03-02 19:53:24.082] [D] [zway] SETDATA controller.data.frequency = "unknown"
[2017-03-02 19:53:24.083] [E] [zway] Error returned from zway_fc_zme_freq_change(zway, 0xFF, NULL, NULL, NULL): Function class not supported by the hardware (-4)
[2017-03-02 19:53:24.083] [I] [zway] Adding job: Get home id and controller node id
[2017-03-02 19:53:24.083] [I] [zway] Removing job: Get controller info and supported function classes
[2017-03-02 19:53:24.083] [D] [zway] SENDING: ( 01 05 00 06 0A 0A FC )
[2017-03-02 19:53:24.088] [D] [zway] RECEIVED ACK
[2017-03-02 19:53:24.088] [D] [zway] RECEIVED: ( 01 05 01 06 0A 0A FD )
[2017-03-02 19:53:24.088] [D] [zway] SENT ACK
[2017-03-02 19:53:24.088] [I] [zway] Job 0x06 (Set Serial API timeouts): Old timeouts are: ACK timeout 100 ms and Byte timeout 100 ms
[2017-03-02 19:53:24.088] [D] [zway] SETDATA controller.data.oldSerialAPIAckTimeout10ms = 10 (0x0000000a)
[2017-03-02 19:53:24.088] [D] [zway] SETDATA controller.data.oldSerialAPIByteTimeout10ms = 10 (0x0000000a)
[2017-03-02 19:53:24.088] [D] [zway] SETDATA controller.data.curSerialAPIAckTimeout10ms = 10 (0x0000000a)
[2017-03-02 19:53:24.088] [D] [zway] SETDATA controller.data.curSerialAPIByteTimeout10ms = 10 (0x0000000a)
[2017-03-02 19:53:24.088] [D] [zway] Job 0x06 (Set Serial API timeouts): success
[2017-03-02 19:53:24.088] [I] [zway] Removing job: Set Serial API timeouts
[2017-03-02 19:53:24.088] [D] [zway] SENDING: ( 01 03 00 D2 2E )
[2017-03-02 19:53:24.089] [D] [zway] RECEIVED ACK
[2017-03-02 19:53:24.090] [I] [zway] Removing job: WatchDog Start
[2017-03-02 19:53:24.090] [D] [zway] Worker thread exit point
[2017-03-02 19:53:24.090] [D] [zway] Worker thread successfully finished
[2017-03-02 19:53:24.191] [I] [core] zbwTimerCount:2
[2017-03-02 19:53:24.202] [E] [zway] SaveData will not save data since it wasn't loaded. This is to prevent data loss.
[2017-03-02 19:53:24.202] [C] [zway] Get HomeId failed.
[2017-03-02 19:53:24.213] [I] [core] Notification: critical (z-wave): Cannot start Z-Wave binding: Error: Bad data - communication failed

User avatar
PoltoS
Posts: 3829
Joined: 26 Jan 2011 19:36

Re: Usb-стик zmr_zstick4 и debian

Post by PoltoS » 03 Mar 2017 04:42

А он не будет работать. Это оооочень старый стик. Их было 2 версии: с поддержкой Z-Way подороже и без подешевле. У Вас второй. На эти лицензия не ставится, нужно нести к нам в офис (5 минут и он станет совместим). Да и вообще это третье поколение - я бы рекомендовал этот http://rus.z-wave.me/shop/controllers/z ... r-windows/

Mikhail_Tomsk
Posts: 4
Joined: 02 Mar 2017 16:07

Re: Usb-стик zmr_zstick4 и debian

Post by Mikhail_Tomsk » 03 Mar 2017 14:19

Покупать второй только что купив первый как-то не очень.
Подключил его в domoticz через open zwave, вроде бы работает.

Mikhail_Tomsk
Posts: 4
Joined: 02 Mar 2017 16:07

Re: Usb-стик zmr_zstick4 и debian

Post by Mikhail_Tomsk » 24 Mar 2017 05:52

Так что мне со всем этим делать? В Москву лететь с usb-стиком чтобы он стал работоспособным?
Или возвращать в магазин и покупать что-то другое?
Софта к нему никакого нет - по крайней мере, у вас на сайте ссылка только на z-way.
Переткнул его в windows ноутбук чтобы до сервера не бегать и пробовал скачивать всякое разное - incontrol не опознает вообще, z-way работать отказывается.
Более-менее его видит и командами обменивается только domoticz, но при этом устройства не добавляются и посмотреть в чем проблема просто нечем.

Mikhail_Tomsk
Posts: 4
Joined: 02 Mar 2017 16:07

Re: Usb-стик zmr_zstick4 и debian

Post by Mikhail_Tomsk » 24 Mar 2017 16:06

Update: проблема решена, под windows надо было еще раз проверить настройки соединения - скорость 115200, по умолчанию было 9600, частота после этого выставилась нормально.
Остались мелкие глюки, domoticz не видит изменения состояния если fibaro включен с выключателя.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests