Does anyone have examples or know where I can find z/ip to mqtt ? I have the zipgateway working and was able to add two devices. Let me know
I guess you are talking about the use of zwave in the Creator.
Can you give more details about what you need or trying to acomplish here?
Thanks,
-Yoel
Basically I want to use zwave with my zwave switches and my HA vm or with just node-red. sort of how shown here https://pypi.org/project/zwave-mqtt-bridge/
Hi @vizonyc,
Looks like zwave-mqtt-bridge
uses openzwave internally. We don’t have a full guide for OpenZwave with the Creator but you should give it a try and let us know if you get stock.
I just did a quick test and got connection between OpenZwave (frmo python using python-openzwave. So, OpenZwave could ‘talk’ to the Zwave chip in the Creator( Sigma design ZM5202 … supported by OpenZwave).
Setup steps
-
Install matrix kernel modules from package
Step in https://github.com/matrix-io/matrix-malos-zwave following steps
- Zwave Initial Setup
- Zwave Utils Setup
- (No need to install
matrixio-malos-zwave
for this) sudo reboot
-
Installed python-openzwave
- using device =
/de/ttyMATRIX0
- using device =
and tried :
pyozw_check -i -d /dev/ttyMATRIX0
This is what I got for pyozw_check
:
(venv3) pi@py-test:~ $ pyozw_check -i -d /dev/ttyMATRIX0
-------------------------------------------------------------------------------
Intialize device /dev/ttyMATRIX0
Try to get options
Try to get manager
2018-08-27 19:35:26.876 Always, OpenZwave Version 1.4.3142 Starting Up
Try to get python_openzwave version
0.4.9
Try to get python_openzwave full version
python_openzwave version 0.4.9 (embed-cpp / Jul 31 2018 - 13:31:25)
Try to get openzwave version
1.4.3142
Try to get default config path
/usr/local/etc/openzwave/
Try to add watcher
2018-08-27 19:35:27.879 Info, Setting Up Provided Network Key for Secure Communications
2018-08-27 19:35:27.879 Warning, Failed - Network Key Not Set
2018-08-27 19:35:27.879 Info, mgr, Added driver for controller /dev/ttyMATRIX0
Wait for notifications (15s)
2018-08-27 19:35:27.880 Info, Opening controller /dev/ttyMATRIX0
2018-08-27 19:35:27.880 Info, Trying to open serial port /dev/ttyMATRIX0 (attempt 1)
2018-08-27 19:35:27.880 Info, Serial port /dev/ttyMATRIX0 opened (attempt 1)
2018-08-27 19:35:27.881 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2018-08-27 19:35:27.881 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2018-08-27 19:35:27.881 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2018-08-27 19:35:27.881 Detail, contrlr, Queuing (Command) FUNC_ID_SERIAL_API_GET_CAPABILITIES:0x01, 0x03, 0x00, 0x07, 0xfb
2018-08-27 19:35:27.882 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2018-08-27 19:35:27.882 Detail,
2018-08-27 19:35:27.882 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x15) - FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2018-08-27 19:35:27.885 Detail, contrlr, Received: 0x01, 0x10, 0x01, 0x15, 0x5a, 0x2d, 0x57, 0x61, 0x76, 0x65, 0x20, 0x34, 0x2e, 0x36, 0x31, 0x00, 0x07, 0x93
2018-08-27 19:35:27.886 Detail,
2018-08-27 19:35:27.887 Info, contrlr, Received reply to FUNC_ID_ZW_GET_VERSION:
2018-08-27 19:35:27.887 Info, contrlr, Bridge Controller library, version Z-Wave 4.61
2018-08-27 19:35:27.888 Detail, Node045, Expected reply was received
2018-08-27 19:35:27.888 Detail, Node045, Message transaction complete
2018-08-27 19:35:27.888 Detail,
2018-08-27 19:35:27.889 Detail, contrlr, Removing current message
2018-08-27 19:35:27.890 Detail,
2018-08-27 19:35:27.890 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x20) - FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2018-08-27 19:35:27.893 Detail, contrlr, Received: 0x01, 0x08, 0x01, 0x20, 0xf2, 0x8f, 0xcc, 0x56, 0x01, 0x30
2018-08-27 19:35:27.894 Detail,
2018-08-27 19:35:27.895 Info, contrlr, Received reply to FUNC_ID_ZW_MEMORY_GET_ID. Home ID = 0xf28fcc56. Our node ID = 1
2018-08-27 19:35:27.895 Detail, Node143, Expected reply was received
2018-08-27 19:35:27.896 Detail, Node143, Message transaction complete
2018-08-27 19:35:27.896 Detail,
2018-08-27 19:35:27.897 Detail, contrlr, Removing current message
2018-08-27 19:35:27.897 Detail,
2018-08-27 19:35:27.898 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x05) - FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2018-08-27 19:35:27.900 Detail, contrlr, Received: 0x01, 0x04, 0x01, 0x05, 0x1c, 0xe3
2018-08-27 19:35:27.901 Detail,
2018-08-27 19:35:27.901 Info, contrlr, Received reply to FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES:
2018-08-27 19:35:27.902 Info, contrlr, There is a SUC ID Server (SIS) in this network.
2018-08-27 19:35:27.902 Info, contrlr, The PC controller is an inclusion static update controller (SUC) and was the original primary before the SIS was added.
2018-08-27 19:35:27.903 Detail, Node227, Expected reply was received
2018-08-27 19:35:27.903 Detail, Node227, Message transaction complete
2018-08-27 19:35:27.904 Detail,
2018-08-27 19:35:27.904 Detail, contrlr, Removing current message
2018-08-27 19:35:27.905 Detail,
2018-08-27 19:35:27.905 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x07) - FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2018-08-27 19:35:27.911 Detail, contrlr, Received: 0x01, 0x2b, 0x01, 0x07, 0x05, 0x22, 0x00, 0x00, 0x00, 0x03, 0x00, 0x08, 0xf6, 0x87, 0x77, 0x88, 0xcf, 0x7f, 0xc0, 0x4f, 0xfb, 0xdf, 0xfd, 0xe0, 0x67, 0x00, 0x00, 0x80, 0x00, 0x80, 0x86, 0x80, 0xba, 0x05, 0xe8, 0x73, 0x00, 0x80, 0x0f, 0x00, 0x00, 0x60, 0x00, 0x00, 0xdc
2018-08-27 19:35:27.911 Detail,
2018-08-27 19:35:27.911 Info, contrlr, Received reply to FUNC_ID_SERIAL_API_GET_CAPABILITIES
2018-08-27 19:35:27.911 Info, contrlr, Serial API Version: 5.34
2018-08-27 19:35:27.911 Info, contrlr, Manufacturer ID: 0x0000
2018-08-27 19:35:27.911 Info, contrlr, Product Type: 0x0003
2018-08-27 19:35:27.911 Info, contrlr, Product ID: 0x0008
2018-08-27 19:35:27.911 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_VIRTUAL_NODES: 0x01, 0x03, 0x00, 0xa5, 0x59
2018-08-27 19:35:27.912 Detail, contrlr, Queuing (Command) FUNC_ID_SERIAL_API_GET_INIT_DATA: 0x01, 0x03, 0x00, 0x02, 0xfe
2018-08-27 19:35:27.912 Detail, contrlr, Queuing (Command) FUNC_ID_SERIAL_API_APPL_NODE_INFORMATION: 0x01, 0x07, 0x00, 0x03, 0x01, 0x02, 0x01, 0x00, 0xf9
2018-08-27 19:35:27.912 Detail, Node034, Expected reply was received
2018-08-27 19:35:27.912 Detail, Node034, Message transaction complete
2018-08-27 19:35:27.912 Detail,
2018-08-27 19:35:27.912 Detail, contrlr, Removing current message
2018-08-27 19:35:27.912 Detail,
2018-08-27 19:35:27.912 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x56) - FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2018-08-27 19:35:27.915 Detail, contrlr, Received: 0x01, 0x04, 0x01, 0x56, 0x01, 0xad
2018-08-27 19:35:27.915 Detail,
2018-08-27 19:35:27.915 Info, contrlr, Received reply to GET_SUC_NODE_ID. Node ID = 1
2018-08-27 19:35:27.915 Detail, Node173, Expected reply was received
2018-08-27 19:35:27.915 Detail, Node173, Message transaction complete
2018-08-27 19:35:27.915 Detail,
2018-08-27 19:35:27.915 Detail, contrlr, Removing current message
2018-08-27 19:35:27.915 Detail,
2018-08-27 19:35:27.916 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0xa5) - FUNC_ID_ZW_GET_VIRTUAL_NODES: 0x01, 0x03, 0x00, 0xa5, 0x59
2018-08-27 19:35:27.921 Detail, contrlr, Received: 0x01, 0x20, 0x01, 0xa5, 0xde, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xa6
2018-08-27 19:35:27.921 Detail,
2018-08-27 19:35:27.921 Info, contrlr, Received reply to FUNC_ID_ZW_GET_VIRTUAL_NODES
2018-08-27 19:35:27.921 Info, contrlr, Node 2
2018-08-27 19:35:27.921 Info, contrlr, Node 3
2018-08-27 19:35:27.921 Info, contrlr, Node 4
2018-08-27 19:35:27.921 Info, contrlr, Node 5
2018-08-27 19:35:27.922 Info, contrlr, Node 7
2018-08-27 19:35:27.922 Info, contrlr, Node 8
2018-08-27 19:35:27.922 Info, contrlr, Node 9
2018-08-27 19:35:27.922 Info, contrlr, Node 10
2018-08-27 19:35:27.922 Detail, Node003, Expected reply was received
2018-08-27 19:35:27.922 Detail, Node003, Message transaction complete
2018-08-27 19:35:27.922 Detail,
2018-08-27 19:35:27.922 Detail, contrlr, Removing current message
2018-08-27 19:35:27.922 Detail,
2018-08-27 19:35:27.922 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x02) - FUNC_ID_SERIAL_API_GET_INIT_DATA: 0x01, 0x03, 0x00, 0x02, 0xfe
2018-08-27 19:35:27.977 Detail, contrlr, Received: 0x01, 0x25, 0x01, 0x02, 0x07, 0x08, 0x1d, 0xff, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x32
2018-08-27 19:35:27.978 Detail,
2018-08-27 19:35:27.978 Info, mgr, Driver with Home ID of 0xf28fcc56 is now ready.
2018-08-27 19:35:27.978 Info,
2018-08-27 19:35:27.981 Info, contrlr, Received reply to FUNC_ID_SERIAL_API_GET_INIT_DATA:
2018-08-27 19:35:27.981 Info, contrlr, Node 001 - Known
2018-08-27 19:35:27.981 Detail, Node001, AdvanceQueries queryPending=0 queryRetries=0 queryStage=CacheLoad live=1
2018-08-27 19:35:27.981 Detail, Node001, QueryStage_CacheLoad
2018-08-27 19:35:27.981 Info, Node001, Node Identity Codes: 0000:0003:0008
2018-08-27 19:35:27.981 Detail, Node001, QueryStage_Associations
2018-08-27 19:35:27.981 Detail, Node001, QueryStage_Neighbors
2018-08-27 19:35:27.982 Detail, contrlr, Requesting routing info (neighbor list) for Node 1
2018-08-27 19:35:27.982 Detail, Node001, Queuing (Command) Get Routing Info (Node=1): 0x01, 0x07, 0x00, 0x80, 0x01, 0x00, 0x00, 0x03, 0x7a
2018-08-27 19:35:27.982 Detail, Node001, Queuing (Query) Query Stage Complete (Neighbors)
2018-08-27 19:35:27.982 Info, contrlr, Node 002 - Virtual (ignored)
2018-08-27 19:35:27.982 Info, contrlr, Node 003 - Virtual (ignored)
2018-08-27 19:35:27.982 Info, contrlr, Node 004 - Virtual (ignored)
2018-08-27 19:35:27.982 Info, contrlr, Node 005 - Virtual (ignored)
2018-08-27 19:35:27.983 Info, contrlr, Node 006 - Known
2018-08-27 19:35:27.983 Detail, Node006, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Probe live=1
2018-08-27 19:35:27.983 Detail, Node006, QueryStage_Probe
2018-08-27 19:35:27.983 Info, Node006, NoOperation::Set - Routing=true
2018-08-27 19:35:27.983 Detail, Node006, Queuing (NoOp) NoOperation_Set (Node=6): 0x01, 0x09, 0x00, 0x13, 0x06, 0x02, 0x00, 0x00, 0x25, 0x0a, 0xce
2018-08-27 19:35:27.983 Detail, Node006, Queuing (Query) Query Stage Complete (Probe)
2018-08-27 19:35:27.983 Info, contrlr, Node 007 - Virtual (ignored)
2018-08-27 19:35:27.984 Info, contrlr, Node 008 - Virtual (ignored)
2018-08-27 19:35:27.984 Info, contrlr, Node 009 - Virtual (ignored)
2018-08-27 19:35:27.984 Info, contrlr, Node 010 - Virtual (ignored)
2018-08-27 19:35:27.984 Detail, Node008, Expected reply was received
2018-08-27 19:35:27.984 Detail, Node008, Message transaction complete
2018-08-27 19:35:27.984 Detail,
2018-08-27 19:35:27.984 Detail, contrlr, Removing current message
2018-08-27 19:35:27.985 Detail, Node001, Notification: DriverReady
--------------------------------- zwcallback with args=[{'notificationType': 'DriverReady', 'homeId': 4069510230, 'nodeId': 1}]
Received DriverReady
2018-08-27 19:35:27.985 Detail, Node001, Notification: NodeAdded
--------------------------------- zwcallback with args=[{'notificationType': 'NodeAdded', 'homeId': 4069510230, 'nodeId': 1}]
Received NodeAdded
2018-08-27 19:35:27.986 Detail, Node001, Notification: NodeProtocolInfo
--------------------------------- zwcallback with args=[{'notificationType': 'NodeProtocolInfo', 'homeId': 4069510230, 'nodeId': 1}]
Received NodeProtocolInfo
2018-08-27 19:35:27.986 Detail, Node001, Notification: EssentialNodeQueriesComplete
--------------------------------- zwcallback with args=[{'notificationType': 'EssentialNodeQueriesComplete', 'homeId': 4069510230, 'nodeId': 1}]
Received EssentialNodeQueriesComplete
2018-08-27 19:35:27.987 Detail, Node001, Notification: ValueAdded
--------------------------------- zwcallback with args=[{'notificationType': 'ValueAdded', 'valueId': {'label': None, 'type': 'Byte', 'genre': '', 'value': None, 'homeId': 4069510230, 'nodeId': 1, 'commandClass': 'COMMAND_CLASS_BASIC', 'id': 72057594055229441, 'index': 0, 'instance': 1,'readOnly': False, 'units': None}, 'homeId': 4069510230, 'nodeId': 1}]
Received ValueAdded
2018-08-27 19:35:27.987 Detail, Node006, Notification: NodeAdded
--------------------------------- zwcallback with args=[{'notificationType': 'NodeAdded', 'homeId': 4069510230, 'nodeId': 6}]
Received NodeAdded
2018-08-27 19:35:27.988 Detail, Node006, Notification: NodeProtocolInfo
--------------------------------- zwcallback with args=[{'notificationType': 'NodeProtocolInfo', 'homeId': 4069510230, 'nodeId': 6}]
Received NodeProtocolInfo
2018-08-27 19:35:27.988 Detail, Node006, Notification: ValueAdded
--------------------------------- zwcallback with args=[{'notificationType': 'ValueAdded', 'valueId': {'label': 'Level', 'type': 'Byte', 'genre': 'User', 'value': 0, 'homeId': 4069510230, 'nodeId': 6, 'commandClass': 'COMMAND_CLASS_SWITCH_MULTILEVEL', 'id': 72057594143408129, 'index': 0, 'instance': 1, 'readOnly': False, 'units': ''}, 'homeId': 4069510230, 'nodeId': 6}]
Received ValueAdded
2018-08-27 19:35:27.989 Detail, Node006, Notification: ValueAdded
--------------------------------- zwcallback with args=[{'notificationType': 'ValueAdded', 'valueId': {'label': 'Bright', 'type': 'Button', 'genre': 'User', 'value': False, 'homeId': 4069510230, 'nodeId': 6, 'commandClass': 'COMMAND_CLASS_SWITCH_MULTILEVEL', 'id': 72057594143408152, 'index': 1, 'instance': 1, 'readOnly': False, 'units': ''}, 'homeId': 4069510230, 'nodeId': 6}]
Received ValueAdded
2018-08-27 19:35:27.989 Detail, Node006, Notification: ValueAdded
--------------------------------- zwcallback with args=[{'notificationType': 'ValueAdded', 'valueId': {'label': 'Dim', 'type': 'Button', 'genre': 'User', 'value': False, 'homeId': 4069510230,'nodeId': 6, 'commandClass': 'COMMAND_CLASS_SWITCH_MULTILEVEL', 'id': 72057594143408168, 'index': 2, 'instance': 1, 'readOnly': False, 'units': ''}, 'homeId': 4069510230, 'nodeId': 6}]
Received ValueAdded
2018-08-27 19:35:27.990 Detail, Node006, Notification: ValueAdded
--------------------------------- zwcallback with args=[{'notificationType': 'ValueAdded', 'valueId': {'label': 'Ignore Start Level', 'type': 'Bool', 'genre': 'System', 'value': True, 'homeId': 4069510230, 'nodeId': 6, 'commandClass': 'COMMAND_CLASS_SWITCH_MULTILEVEL', 'id': 72057594151796784, 'index': 3, 'instance': 1, 'readOnly': False, 'units': ''}, 'homeId': 4069510230, 'nodeId': 6}]
Received ValueAdded
2018-08-27 19:35:27.991 Detail, Node006, Notification: ValueAdded
--------------------------------- zwcallback with args=[{'notificationType': 'ValueAdded', 'valueId': {'label': 'Start Level', 'type': 'Byte', 'genre': 'System', 'value': 0, 'homeId': 4069510230, 'nodeId': 6, 'commandClass': 'COMMAND_CLASS_SWITCH_MULTILEVEL', 'id': 72057594151796801, 'index': 4, 'instance': 1, 'readOnly': False, 'units': ''}, 'homeId': 4069510230, 'nodeId': 6}]
Received ValueAdded
2018-08-27 19:35:27.992 Detail, Node006, Notification: ValueAdded
--------------------------------- zwcallback with args=[{'notificationType': 'ValueAdded', 'valueId': {'label': 'Switch All', 'type': 'List', 'genre': 'System', 'value': 'Disabled', 'homeId':4069510230, 'nodeId': 6, 'commandClass': 'COMMAND_CLASS_SWITCH_ALL', 'id': 72057594151813124, 'index': 0, 'instance': 1, 'readOnly': False, 'units': ''}, 'homeId': 4069510230, 'nodeId': 6}]
Received ValueAdded
2018-08-27 19:35:27.993 Detail,
2018-08-27 19:35:27.993 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x00) - FUNC_ID_SERIAL_API_APPL_NODE_INFORMATION: 0x01, 0x07, 0x00, 0x03, 0x01, 0x02, 0x01, 0x00, 0xf9
2018-08-27 19:35:27.995 Detail, contrlr, Removing current message
2018-08-27 19:35:27.995 Detail,
2018-08-27 19:35:27.996 Info, Node001, Sending (Command) message (Callback ID=0x00, Expected Reply=0x80) - Get Routing Info (Node=1): 0x01, 0x07, 0x00, 0x80, 0x01, 0x00, 0x00, 0x03, 0x7a
2018-08-27 19:35:28.001 Detail, Node001, Received: 0x01, 0x20, 0x01, 0x80, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7e
2018-08-27 19:35:28.002 Detail,
2018-08-27 19:35:28.002 Info, Node001, Received reply to FUNC_ID_ZW_GET_ROUTING_INFO
2018-08-27 19:35:28.002 Info, Node001, Neighbors of this node are:
2018-08-27 19:35:28.002 Info, Node001, Node 6
2018-08-27 19:35:28.002 Detail, Expected reply was received
2018-08-27 19:35:28.003 Detail, Message transaction complete
2018-08-27 19:35:28.003 Detail,
2018-08-27 19:35:28.003 Detail, Node001, Removing current message
2018-08-27 19:35:28.003 Detail,
2018-08-27 19:35:28.003 Info, Node006, Sending (NoOp) message (Callback ID=0x0a, Expected Reply=0x13) - NoOperation_Set (Node=6): 0x01, 0x09, 0x00, 0x13, 0x06, 0x02, 0x00, 0x00, 0x25, 0x0a, 0xce
2018-08-27 19:35:28.011 Detail, Node006, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2018-08-27 19:35:28.011 Detail, Node006, ZW_SEND_DATA delivered to Z-Wave stack
.
.
2018-08-27 19:35:32.216 Detail, Node006, Received: 0x01, 0x18, 0x00, 0x13, 0x0a, 0x01, 0x01, 0xa4, 0x00, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x00, 0x01, 0x07, 0x00, 0x00, 0x00, 0x00, 0x02, 0x07, 0x00, 0x00, 0x00
2018-08-27 19:35:32.223 Warning, Node006, WARNING: Checksum incorrect - sending NAK
2018-08-27 19:35:32.226 Detail, Node006, Received: 0x01, 0x18, 0x00, 0x13, 0x0a, 0x01, 0x01, 0xa4, 0x00, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x00, 0x01, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x07, 0x00, 0x00
2018-08-27 19:35:32.227 Warning, Node006, WARNING: Checksum incorrect - sending NAK
2018-08-27 19:35:32.230 Detail, Node006, Received: 0x01, 0x18, 0x00, 0x13, 0x0a, 0x01, 0x01, 0xa4, 0x00, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x00, 0x01, 0x07, 0x00, 0x00, 0x00, 0x00, 0x02, 0x07, 0x00, 0x00, 0x26
2018-08-27 19:35:32.230 Detail, Node006, ZW_SEND_DATA Request with callback ID 0x0a received (expected 0x0a)
2018-08-27 19:35:32.230 Info, Node006, WARNING: ZW_SEND_DATA failed. No ACK received - device may be asleep.
2018-08-27 19:35:32.230 Warning, Node006, WARNING: Device is not a sleeping node.
2018-08-27 19:35:32.231 Info, Node006, QueryStageRetry stage Probe requested stage Probe max 3 retries 0 pending 1
2018-08-27 19:35:32.231 Detail, Node001, Expected callbackId was received
2018-08-27 19:35:32.231 Detail, Node001, Expected reply was received
2018-08-27 19:35:32.231 Detail, Node001, Message transaction complete
2018-08-27 19:35:32.231 Detail,
2018-08-27 19:35:32.231 Detail, Node006, Removing current message
2018-08-27 19:35:32.232 Detail, Node006, Notification: Notification - NoOperation
--------------------------------- zwcallback with args=[{'notificationType': 'Notification', 'notificationCode': 2, 'homeId': 4069510230, 'nodeId': 6}]
Received Notification
2018-08-27 19:35:32.233 Warning, WARNING: Out of frame flow! (0x00). Sending NAK.
2018-08-27 19:35:32.233 Detail, Node001, Query Stage Complete (Neighbors)
2018-08-27 19:35:32.233 Detail, Node001, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Session live=1
2018-08-27 19:35:32.233 Detail, Node001, QueryStage_Session
2018-08-27 19:35:32.233 Detail, Node001, QueryStage_Dynamic
2018-08-27 19:35:32.233 Detail, Node001, QueryStage_Configuration
2018-08-27 19:35:32.234 Detail, Node001, QueryStage_Complete
2018-08-27 19:35:32.234 Warning, CheckCompletedNodeQueries m_allNodesQueried=0 m_awakeNodesQueried=0
2018-08-27 19:35:32.234 Warning, CheckCompletedNodeQueries all=0, deadFound=0 sleepingOnly=0
2018-08-27 19:35:32.234 Detail, Node001, Notification: NodeQueriesComplete
--------------------------------- zwcallback with args=[{'notificationType': 'NodeQueriesComplete', 'homeId': 4069510230, 'nodeId': 1}]
Received NodeQueriesComplete
2018-08-27 19:35:32.235 Detail, Node006, Query Stage Complete (Probe)
2018-08-27 19:35:32.236 Detail, Node006, AdvanceQueries queryPending=0 queryRetries=1 queryStage=Probe live=1
2018-08-27 19:35:32.236 Detail, Node006, QueryStage_Probe
2018-08-27 19:35:32.236 Info, Node006, NoOperation::Set - Routing=true
2018-08-27 19:35:32.236 Detail, Node006, Queuing (NoOp) NoOperation_Set (Node=6): 0x01, 0x09, 0x00, 0x13, 0x06, 0x02, 0x00, 0x00, 0x25, 0x0b, 0xcf
2018-08-27 19:35:32.236 Detail, Node006, Queuing (Query) Query Stage Complete (Probe)
2018-08-27 19:35:32.237 Detail,
2018-08-27 19:35:32.237 Info, Node006, Sending (NoOp) message (Callback ID=0x0b, Expected Reply=0x13) - NoOperation_Set (Node=6): 0x01, 0x09, 0x00, 0x13, 0x06, 0x02, 0x00, 0x00, 0x25, 0x0b, 0xcf
2018-08-27 19:35:32.244 Detail, Node006, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2018-08-27 19:35:32.245 Detail, Node006, ZW_SEND_DATA delivered to Z-Wave stack
.
.
.
2018-08-27 19:35:36.509 Detail, Node006, Received: 0x01, 0x18, 0x00, 0x13, 0x0b, 0x01, 0x01, 0xab, 0x00, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x00, 0x01, 0x07, 0x00, 0x00, 0x00, 0x00, 0x02, 0x07, 0x00, 0x00, 0x28
2018-08-27 19:35:36.510 Detail, Node006, ZW_SEND_DATA Request with callback ID 0x0b received (expected 0x0b)
2018-08-27 19:35:36.510 Info, Node006, WARNING: ZW_SEND_DATA failed. No ACK received - device may be asleep.
2018-08-27 19:35:36.510 Warning, Node006, WARNING: Device is not a sleeping node.
2018-08-27 19:35:36.510 Info, Node006, QueryStageRetry stage Probe requested stage Probe max 3 retries 1 pending 1
2018-08-27 19:35:36.511 Detail, Node001, Expected callbackId was received
2018-08-27 19:35:36.511 Detail, Node001, Expected reply was received
2018-08-27 19:35:36.511 Detail, Node001, Message transaction complete
2018-08-27 19:35:36.511 Detail,
2018-08-27 19:35:36.511 Detail, Node006, Removing current message
2018-08-27 19:35:36.511 Detail, Node006, Notification: Notification - NoOperation
--------------------------------- zwcallback with args=[{'notificationType': 'Notification', 'notificationCode': 2, 'homeId': 4069510230, 'nodeId': 6}]
Received Notification
2018-08-27 19:35:36.512 Detail, Node006, Query Stage Complete (Probe)
2018-08-27 19:35:36.512 Detail, Node006, AdvanceQueries queryPending=0 queryRetries=2 queryStage=Probe live=1
2018-08-27 19:35:36.513 Detail, Node006, QueryStage_Probe
2018-08-27 19:35:36.513 Info, Node006, NoOperation::Set - Routing=true
2018-08-27 19:35:36.513 Detail, Node006, Queuing (NoOp) NoOperation_Set (Node=6): 0x01, 0x09, 0x00, 0x13, 0x06, 0x02, 0x00, 0x00, 0x25, 0x0c, 0xc8
2018-08-27 19:35:36.513 Detail, Node006, Queuing (Query) Query Stage Complete (Probe)
2018-08-27 19:35:36.514 Detail,
2018-08-27 19:35:36.514 Info, Node006, Sending (NoOp) message (Callback ID=0x0c, Expected Reply=0x13) - NoOperation_Set (Node=6): 0x01, 0x09, 0x00, 0x13, 0x06, 0x02, 0x00, 0x00, 0x25, 0x0c, 0xc8
2018-08-27 19:35:36.521 Detail, Node006, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2018-08-27 19:35:36.521 Detail, Node006, ZW_SEND_DATA delivered to Z-Wave stack
.
.
.
2018-08-27 19:35:40.740 Detail, Node006, Received: 0x01, 0x18, 0x00, 0x13, 0x0c, 0x01, 0x01, 0xa6, 0x00, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x00, 0x01, 0x07, 0x00, 0x00, 0x00, 0x00, 0x02, 0x07, 0x00, 0x00, 0x22
2018-08-27 19:35:40.740 Detail, Node006, ZW_SEND_DATA Request with callback ID 0x0c received (expected 0x0c)
2018-08-27 19:35:40.740 Info, Node006, WARNING: ZW_SEND_DATA failed. No ACK received - device may be asleep.
2018-08-27 19:35:40.740 Warning, Node006, WARNING: Device is not a sleeping node.
2018-08-27 19:35:40.740 Error, Node006, ERROR: node presumed dead
2018-08-27 19:35:40.741 Warning, CheckCompletedNodeQueries m_allNodesQueried=0 m_awakeNodesQueried=0
2018-08-27 19:35:40.741 Warning, CheckCompletedNodeQueries all=1, deadFound=1 sleepingOnly=1
2018-08-27 19:35:40.741 Info, Node query processing complete except for dead nodes.
2018-08-27 19:35:40.741 Info, Node006, QueryStageRetry stage Probe requested stage Probe max 3 retries 2 pending 1
2018-08-27 19:35:40.741 Detail, Node001, Expected callbackId was received
2018-08-27 19:35:40.741 Detail, Node001, Expected reply was received
2018-08-27 19:35:40.742 Detail, Node001, Message transaction complete
2018-08-27 19:35:40.742 Detail,
2018-08-27 19:35:40.742 Detail, Node006, Removing current message
2018-08-27 19:35:40.742 Detail, Node006, Notification: Notification - NoOperation
--------------------------------- zwcallback with args=[{'notificationType': 'Notification', 'notificationCode': 2, 'homeId': 4069510230, 'nodeId': 6}]
Received Notification
2018-08-27 19:35:40.743 Detail, contrlr, Notification: AllNodesQueriedSomeDead
--------------------------------- zwcallback with args=[{'notificationType': 'AllNodesQueriedSomeDead', 'homeId': 4069510230, 'nodeId': 255}]
Received AllNodesQueriedSomeDead
2018-08-27 19:35:40.743 Detail, Node006, Notification: Notification - Node Dead
--------------------------------- zwcallback with args=[{'notificationType': 'Notification', 'notificationCode': 5, 'homeId': 4069510230, 'nodeId': 6}]
Received Notification
2018-08-27 19:35:40.744 Detail, Node006, Query Stage Complete (Probe)
2018-08-27 19:35:40.744 Detail, Node006, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Probe live=0
.
.
Try to remove driver
2018-08-27 19:35:42.908 Info, mgr, Driver for controller /dev/ttyMATRIX0 pending removal
2018-08-27 19:35:42.908 Detail, Notification: DriverRemoved
--------------------------------- zwcallback with args=[{'notificationType': 'DriverRemoved', 'homeId': 4069510230, 'nodeId': 0}]
Received DriverRemoved
2018-08-27 19:35:42.909 Always, ***************************************************************************
2018-08-27 19:35:42.909 Always, ********************* Cumulative Network Statistics *********************
2018-08-27 19:35:42.909 Always, *** General
2018-08-27 19:35:42.909 Always, Driver run time: . . . 0 days, 0 hours, 0 minutes
2018-08-27 19:35:42.909 Always, Frames processed: . . . . . . . . . . . . . . . . . . . . 16
2018-08-27 19:35:42.909 Always, Total messages successfully received: . . . . . . . . . . 14
2018-08-27 19:35:42.909 Always, Total Messages successfully sent: . . . . . . . . . . . . 12
2018-08-27 19:35:42.909 Always, ACKs received from controller: . . . . . . . . . . . . . 12
2018-08-27 19:35:42.910 Always, *** Errors
2018-08-27 19:35:42.910 Always, Unsolicited messages received while waiting for ACK: . . 0
2018-08-27 19:35:42.910 Always, Reads aborted due to timeouts: . . . . . . . . . . . . . 0
2018-08-27 19:35:42.910 Always, Bad checksum errors: . . . . . . . . . . . . . . . . . . 2
2018-08-27 19:35:42.910 Always, CANs received from controller: . . . . . . . . . . . . . 0
2018-08-27 19:35:42.910 Always, NAKs received from controller: . . . . . . . . . . . . . 0
2018-08-27 19:35:42.910 Always, Out of frame data flow errors: . . . . . . . . . . . . . 1
2018-08-27 19:35:42.910 Always, Messages retransmitted: . . . . . . . . . . . . . . . . . 0
2018-08-27 19:35:42.910 Always, Messages dropped and not delivered: . . . . . . . . . . . 0
2018-08-27 19:35:42.910 Always, ***************************************************************************
2018-08-27 19:35:44.916 Info, mgr, Driver for controller /dev/ttyMATRIX0 removed
Try to remove watcher
Try to destroy manager
Try to destroy options
Retrieve HomeID
f28fcc56
I also cloned the python-openzwave repo and tested some of the examples in python-openzwave/examples/. They all connect but I am getting the same error
2018-08-27 19:06:23.345 Info, mgr, Manager::WriteConfig completed for driver with home ID of 0xf28fcc56
INFO:openzwave:ZWave configuration written to user directory.
2018-08-27 19:06:24.347 Info, mgr, Driver for controller /dev/ttyMATRIX0 pending removal
2018-08-27 19:06:24.347 Detail, Notification: DriverRemoved
2018-08-27 19:06:24.347 Always, ***************************************************************************
2018-08-27 19:06:24.347 Always, ********************* Cumulative Network Statistics *********************
2018-08-27 19:06:24.347 Always, *** General
2018-08-27 19:06:24.348 Always, Driver run time: . . . 0 days, 0 hours, 0 minutes
2018-08-27 19:06:24.348 Always, Frames processed: . . . . . . . . . . . . . . . . . . . . 15
2018-08-27 19:06:24.348 Always, Total messages successfully received: . . . . . . . . . . 14
2018-08-27 19:06:24.348 Always, Total Messages successfully sent: . . . . . . . . . . . . 12
2018-08-27 19:06:24.348 Always, ACKs received from controller: . . . . . . . . . . . . . 12
2018-08-27 19:06:24.348 Always, *** Errors
2018-08-27 19:06:24.348 Always, Unsolicited messages received while waiting for ACK: . . 0
2018-08-27 19:06:24.349 Always, Reads aborted due to timeouts: . . . . . . . . . . . . . 0
2018-08-27 19:06:24.349 Always, Bad checksum errors: . . . . . . . . . . . . . . . . . . 1
2018-08-27 19:06:24.349 Always, CANs received from controller: . . . . . . . . . . . . . 0
2018-08-27 19:06:24.349 Always, NAKs received from controller: . . . . . . . . . . . . . 0
2018-08-27 19:06:24.349 Always, Out of frame data flow errors: . . . . . . . . . . . . . 0
2018-08-27 19:06:24.349 Always, Messages retransmitted: . . . . . . . . . . . . . . . . . 0
2018-08-27 19:06:24.350 Always, Messages dropped and not delivered: . . . . . . . . . . . 0
2018-08-27 19:06:24.350 Always, ***************************************************************************
2018-08-27 19:06:26.355 Info, mgr, Driver for controller /dev/ttyMATRIX0 removed
2018-08-27 19:06:27.355 Error, mgr, Manager::GetDriver failed - Home ID 0xf28fcc56 is unknown
2018-08-27 19:06:27.356 Warning, Exception: Manager.cpp:373 - 100 - Invalid HomeId passed to GetDriver
2018-08-27 19:06:27.356 Info, mgr, GetSendQueueCount() failed - _homeId -225457066 not found
Memory use : 20.16796875 Mo
I think this is a good start maybe you can go further. I will post here any progress.
-Yoel