• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomepcDuinoLinux ApplicationsInstall open-zwave on pcDuino to do home automatio ...
Previous Next

Install open-zwave on pcDuino to do home automation using z-wave

Posted by: admin , February 3, 2014

[vc_row][vc_column][vc_column_text]Z-Wave is a wireless communications protocol designed for home automation, specifically to remotely control applications in residential and light commercial environments. The technology uses a low-power RF radio embedded or retrofitted into electronics devices and systems, such as lighting, home access control, entertainment systems and household appliances.

The are many devices that have these RF chips embedded inside them.  We will use the open-zwave library. In this post, we will detail the steps to install open-zwave on pcDuino.  We follow the steps posted at here.

z_wave_dongle_setup

The open-zwave library is great because it is Open Source, you can easily build it for pcDuino and use the pcDuino  as a hub for your home automation system. In this way with one pcDuino you can remotely control all your Z-Wave enabled devices at home – things like light switches, open/closed sensors, power meters, etc.

The first step is to download and build the open-zwave library on your pcDuino.

sudo apt-get install subversion libudev-dev make build-essential git-core
svn checkout http://open-zwave.googlecode.com/svn/trunk/ open-zwave-read-only
~/open-zwave-read-only/cpp/build/linux $ make

Then you’re ready to build the MinOZW example:

~/open-zwave-read-only/cpp/examples/linux/MinOZW $ make

Check if everything is alright by running the test:

./test

Make sure that the Z-Wave controller is connected to the USB drive of the pcDuino. If everything goes alright the MinOZW example will scan for new Hadrware and generate some debug files that list all discovered devices. Note that the controller can discover a device only if they have previously been paired together. Pairing devices together means that they would belong to the same network.

The following is the log:

2014-02-03 22:41:14.298 mgr,     Added driver for controller /dev/ttyUSB0
2014-02-03 22:41:14.299   Opening controller /dev/ttyUSB0
2014-02-03 22:41:14.299 Trying to open serial port /dev/ttyUSB0 (attempt 1)
2014-02-03 22:41:14.358 Serial port /dev/ttyUSB0 opened (attempt 1)
2014-02-03 22:41:14.359 contrlr, Queuing (Command) FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2014-02-03 22:41:14.359 contrlr, Queuing (Command) FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2014-02-03 22:41:14.359 contrlr, Queuing (Command) FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2014-02-03 22:41:14.370 contrlr, Queuing (Command) FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2014-02-03 22:41:14.371 contrlr, Queuing (Command) FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2014-02-03 22:41:14.372 
2014-02-03 22:41:14.372 contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x15) - FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2014-02-03 22:41:14.377 contrlr,   Received: 0x01, 0x10, 0x01, 0x15, 0x5a, 0x2d, 0x57, 0x61, 0x76, 0x65, 0x20, 0x32, 0x2e, 0x36, 0x34, 0x00, 0x01, 0x96
2014-02-03 22:41:14.378 
2014-02-03 22:41:14.378 contrlr, Received reply to FUNC_ID_ZW_GET_VERSION:
2014-02-03 22:41:14.379 contrlr,     Static Controller library, version Z-Wave 2.64
2014-02-03 22:41:14.379 contrlr,   Expected reply was received
2014-02-03 22:41:14.390 contrlr,   Message transaction complete
2014-02-03 22:41:14.390 
2014-02-03 22:41:14.390 contrlr, Removing current message
2014-02-03 22:41:14.391 
2014-02-03 22:41:14.391 contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x20) - FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2014-02-03 22:41:14.394 contrlr,   Received: 0x01, 0x08, 0x01, 0x20, 0xff, 0xff, 0xff, 0xff, 0x01, 0xd7
2014-02-03 22:41:14.394 
2014-02-03 22:41:14.395 contrlr, Received reply to FUNC_ID_ZW_MEMORY_GET_ID. Home ID = 0xffffffff.  Our node ID = 1
2014-02-03 22:41:14.395 contrlr,   Expected reply was received
2014-02-03 22:41:14.395 contrlr,   Message transaction complete
2014-02-03 22:41:14.395 
2014-02-03 22:41:14.395 contrlr, Removing current message
2014-02-03 22:41:14.396 
2014-02-03 22:41:14.396 contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x05) - FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2014-02-03 22:41:14.399 contrlr,   Received: 0x01, 0x04, 0x01, 0x05, 0x08, 0xf7
2014-02-03 22:41:14.399 
2014-02-03 22:41:14.409 contrlr, Received reply to FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES:
2014-02-03 22:41:14.410 contrlr,     There is no SUC ID Server (SIS) in this network.
2014-02-03 22:41:14.410 contrlr,     The PC controller is a primary controller.
2014-02-03 22:41:14.410 contrlr,   Expected reply was received
2014-02-03 22:41:14.410 contrlr,   Message transaction complete
2014-02-03 22:41:14.410 
2014-02-03 22:41:14.411 contrlr, Removing current message
2014-02-03 22:41:14.411 
2014-02-03 22:41:14.411 contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x07) - FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2014-02-03 22:41:14.418 contrlr,   Received: 0x01, 0x2b, 0x01, 0x07, 0x02, 0x5e, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0xfe, 0x80, 0xfe, 0x88, 0x0f, 0x00, 0x00, 0x00, 0xfb, 0x9f, 0x7f, 0x82, 0x07, 0x00, 0x00, 0x80, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x17
2014-02-03 22:41:14.419 
2014-02-03 22:41:14.419 contrlr,  Received reply to FUNC_ID_SERIAL_API_GET_CAPABILITIES
2014-02-03 22:41:14.419 contrlr,     Serial API Version:   2.94
2014-02-03 22:41:14.419 contrlr,     Manufacturer ID:      0x0000
2014-02-03 22:41:14.419 contrlr,     Product Type:         0x0001
2014-02-03 22:41:14.430 contrlr,     Product ID:           0x0001
2014-02-03 22:41:14.430 contrlr, Queuing (Command) FUNC_ID_ZW_GET_RANDOM: 0x01, 0x04, 0x00, 0x1c, 0x20, 0xc7
2014-02-03 22:41:14.430 contrlr, Queuing (Command) FUNC_ID_SERIAL_API_GET_INIT_DATA: 0x01, 0x03, 0x00, 0x02, 0xfe
2014-02-03 22:41:14.430 contrlr, Queuing (Command) FUNC_ID_SERIAL_API_SET_TIMEOUTS: 0x01, 0x05, 0x00, 0x06, 0x64, 0x0f, 0x97
2014-02-03 22:41:14.431 contrlr, Queuing (Command) FUNC_ID_SERIAL_API_APPL_NODE_INFORMATION: 0x01, 0x07, 0x00, 0x03, 0x01, 0x02, 0x01, 0x00, 0xf9
2014-02-03 22:41:14.431 contrlr,   Expected reply was received
2014-02-03 22:41:14.431 contrlr,   Message transaction complete
2014-02-03 22:41:14.431 
2014-02-03 22:41:14.431 contrlr, Removing current message
2014-02-03 22:41:14.432 
2014-02-03 22:41:14.432 contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x56) - FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2014-02-03 22:41:14.435 contrlr,   Received: 0x01, 0x04, 0x01, 0x56, 0x00, 0xac
2014-02-03 22:41:14.435 
2014-02-03 22:41:14.436 contrlr, Received reply to GET_SUC_NODE_ID.  Node ID = 0
2014-02-03 22:41:14.436 contrlr,   Expected reply was received
2014-02-03 22:41:14.436 contrlr,   Message transaction complete
2014-02-03 22:41:14.436 
2014-02-03 22:41:14.436 contrlr, Removing current message
2014-02-03 22:41:14.436 
2014-02-03 22:41:14.437 contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x1c) - FUNC_ID_ZW_GET_RANDOM: 0x01, 0x04, 0x00, 0x1c, 0x20, 0xc7
2014-02-03 22:41:14.491 contrlr,   Received: 0x01, 0x25, 0x01, 0x1c, 0x01, 0x20, 0xcc, 0x25, 0x8d, 0xaa, 0xaa, 0xd4, 0x34, 0x18, 0xac, 0x58, 0x3c, 0x20, 0xa6, 0x8a, 0xbe, 0x9a, 0x1a, 0x30, 0x2f, 0x89, 0x80, 0x24, 0xdf, 0xb4, 0xa8, 0x7e, 0x41, 0x7e, 0x9a, 0x36, 0xe8, 0xd4, 0xa0
2014-02-03 22:41:14.492 
2014-02-03 22:41:14.492 contrlr, Received reply to FUNC_ID_ZW_GET_RANDOM: true
2014-02-03 22:41:14.492 contrlr,   Expected reply was received
2014-02-03 22:41:14.492 contrlr,   Message transaction complete
2014-02-03 22:41:14.492 
2014-02-03 22:41:14.492 contrlr, Removing current message
2014-02-03 22:41:14.493 
2014-02-03 22:41:14.493 contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x02) - FUNC_ID_SERIAL_API_GET_INIT_DATA: 0x01, 0x03, 0x00, 0x02, 0xfe
2014-02-03 22:41:14.543 contrlr,   Received: 0x01, 0x25, 0x01, 0x02, 0x05, 0x00, 0x1d, 0x09, 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, 0x03, 0x01, 0xca
2014-02-03 22:41:14.544 
2014-02-03 22:41:14.544 mgr,     Driver with Home ID of 0xffffffff is now ready.
2014-02-03 22:41:14.544 
2014-02-03 22:41:14.544 contrlr, Received reply to FUNC_ID_SERIAL_API_GET_INIT_DATA:
2014-02-03 22:41:14.545 contrlr,     Node 001 - New
2014-02-03 22:41:14.545 Node001, AdvanceQueries queryPending=0 queryRetries=0 queryStage=ProtocolInfo live=1
2014-02-03 22:41:14.545 Node001, QueryStage_ProtocolInfo
2014-02-03 22:41:14.545 Node001, Queuing (Query) Get Node Protocol Info (Node=1): 0x01, 0x04, 0x00, 0x41, 0x01, 0xbb
2014-02-03 22:41:14.545 Node001, Queuing (Query) Query Stage Complete (ProtocolInfo)
2014-02-03 22:41:14.545 contrlr,     Node 004 - New
2014-02-03 22:41:14.546 Node004, AdvanceQueries queryPending=0 queryRetries=0 queryStage=ProtocolInfo live=1
2014-02-03 22:41:14.546 Node004, QueryStage_ProtocolInfo
2014-02-03 22:41:14.546 Node004, Queuing (Query) Get Node Protocol Info (Node=4): 0x01, 0x04, 0x00, 0x41, 0x04, 0xbe
2014-02-03 22:41:14.546 Node004, Queuing (Query) Query Stage Complete (ProtocolInfo)
2014-02-03 22:41:14.546 contrlr,   Expected reply was received
2014-02-03 22:41:14.547 contrlr,   Message transaction complete
2014-02-03 22:41:14.547 
2014-02-03 22:41:14.547 contrlr, Removing current message
2014-02-03 22:41:14.547 
2014-02-03 22:41:14.547 contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x06) - FUNC_ID_SERIAL_API_SET_TIMEOUTS: 0x01, 0x05, 0x00, 0x06, 0x64, 0x0f, 0x97
2014-02-03 22:41:14.570 contrlr,   Received: 0x01, 0x05, 0x01, 0x06, 0x96, 0x0f, 0x64
2014-02-03 22:41:14.570 
2014-02-03 22:41:14.571 contrlr, Received reply to FUNC_ID_SERIAL_API_SET_TIMEOUTS
2014-02-03 22:41:14.571 contrlr,   Expected reply was received
2014-02-03 22:41:14.571 contrlr,   Message transaction complete
2014-02-03 22:41:14.571 
2014-02-03 22:41:14.571 contrlr, Removing current message
2014-02-03 22:41:14.572 
2014-02-03 22:41:14.572 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
2014-02-03 22:41:14.582 contrlr, Removing current message
2014-02-03 22:41:14.583 
2014-02-03 22:41:14.583 Node001, Sending (Query) message (Callback ID=0x00, Expected Reply=0x41) - Get Node Protocol Info (Node=1): 0x01, 0x04, 0x00, 0x41, 0x01, 0xbb
2014-02-03 22:41:14.588 Node001,   Received: 0x01, 0x09, 0x01, 0x41, 0x92, 0x16, 0x00, 0x02, 0x02, 0x01, 0x33
2014-02-03 22:41:14.589 
2014-02-03 22:41:14.589 Node001, Received reply to FUNC_ID_ZW_GET_NODE_PROTOCOL_INFO
2014-02-03 22:41:14.589 Node001,   Protocol Info for Node 1:
2014-02-03 22:41:14.639 Node001,     Listening     = true
2014-02-03 22:41:14.640 Node001,     Beaming       = true
2014-02-03 22:41:14.640 Node001,     Routing       = false
2014-02-03 22:41:14.640 Node001,     Max Baud Rate = 40000
2014-02-03 22:41:14.640 Node001,     Version       = 3
2014-02-03 22:41:14.641 Node001,     Security      = false
2014-02-03 22:41:14.648 Node001,   Basic device class    (0x02) - Static Controller
2014-02-03 22:41:14.648 Node001,   Generic device Class  (0x02) - Static Controller
2014-02-03 22:41:14.648 Node001,   Specific device class (0x01) - Static PC Controller
2014-02-03 22:41:14.648 Node001,     COMMAND_CLASS_BASIC is not mapped
2014-02-03 22:41:14.649 Node001,   Mandatory Command Classes for Node 1:
2014-02-03 22:41:14.649 Node001,     None
2014-02-03 22:41:14.649 Node001,   Mandatory Command Classes controlled by Node 1:
2014-02-03 22:41:14.649 Node001,     COMMAND_CLASS_BASIC
2014-02-03 22:41:14.700 Node001,   Expected reply was received
2014-02-03 22:41:14.700 Node001,   Message transaction complete
2014-02-03 22:41:14.700 
2014-02-03 22:41:14.700 Node001, Removing current message
2014-02-03 22:41:14.701 Node001, Query Stage Complete (ProtocolInfo)
2014-02-03 22:41:14.701 Node001, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Probe live=1
2014-02-03 22:41:14.701 Node001, QueryStage_Probe
2014-02-03 22:41:14.701 Node001, QueryStage_WakeUp
2014-02-03 22:41:14.701 Node001, QueryStage_ManufacturerSpecific1
2014-02-03 22:41:14.843 Node001, QueryStage_NodeInfo
2014-02-03 22:41:14.844 Node001, Queuing (Query) Request Node Info (Node=1): 0x01, 0x04, 0x00, 0x60, 0x01, 0x9a
2014-02-03 22:41:14.844 Node001, Queuing (Query) Query Stage Complete (NodeInfo)
2014-02-03 22:41:14.845 
2014-02-03 22:41:14.845 Node004, Sending (Query) message (Callback ID=0x00, Expected Reply=0x41) - Get Node Protocol Info (Node=4): 0x01, 0x04, 0x00, 0x41, 0x04, 0xbe
2014-02-03 22:41:14.849 Node004,   Received: 0x01, 0x09, 0x01, 0x41, 0x52, 0xdc, 0x00, 0x04, 0x40, 0x03, 0x7f
2014-02-03 22:41:14.849 
2014-02-03 22:41:14.849 Node004, Received reply to FUNC_ID_ZW_GET_NODE_PROTOCOL_INFO
2014-02-03 22:41:14.850 Node004,   Protocol Info for Node 4:
2014-02-03 22:41:14.850 Node004,     Listening     = false
2014-02-03 22:41:14.850 Node004,     Frequent      = true
2014-02-03 22:41:14.850 Node004,     Beaming       = true
2014-02-03 22:41:14.850 Node004,     Routing       = true
2014-02-03 22:41:14.850 Node004,     Max Baud Rate = 40000
2014-02-03 22:41:14.850 Node004,     Version       = 3
2014-02-03 22:41:14.851 Node004,     Security      = false
2014-02-03 22:41:14.851 Node004,   Basic device class    (0x04) - Routing Slave
2014-02-03 22:41:14.851 Node004,   Generic device Class  (0x40) - Entry Control
2014-02-03 22:41:14.851 Node004,   Specific device class (0x03) - Secure Keypad Door Lock
2014-02-03 22:41:14.851 Node004,     COMMAND_CLASS_BASIC will be mapped to 0x62
2014-02-03 22:41:14.852 Node004,   Mandatory Command Classes for Node 4:
2014-02-03 22:41:14.852 Node004,     COMMAND_CLASS_BASIC
2014-02-03 22:41:14.852 Node004,     COMMAND_CLASS_USER_CODE
2014-02-03 22:41:14.852 Node004,     COMMAND_CLASS_MANUFACTURER_SPECIFIC
2014-02-03 22:41:14.852 Node004,     COMMAND_CLASS_WAKE_UP
2014-02-03 22:41:14.852 Node004,     COMMAND_CLASS_VERSION
2014-02-03 22:41:14.853 Node004,   Mandatory Command Classes controlled by Node 4:
2014-02-03 22:41:14.853 Node004,     None
2014-02-03 22:41:14.853 Node004,   Expected reply was received
2014-02-03 22:41:14.853 Node004,   Message transaction complete
2014-02-03 22:41:14.853 
2014-02-03 22:41:14.853 Node004, Removing current message
2014-02-03 22:41:14.854 Node004, Query Stage Complete (ProtocolInfo)
2014-02-03 22:41:14.854 Node004, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Probe live=1
2014-02-03 22:41:14.854 Node004, QueryStage_Probe
2014-02-03 22:41:14.854 Node004, NoOperation::Set - Routing=true
2014-02-03 22:41:14.854 Node004, Queuing (NoOp) NoOperation_Set (Node=4): 0x01, 0x09, 0x00, 0x13, 0x04, 0x02, 0x00, 0x00, 0x25, 0x01, 0xc7
2014-02-03 22:41:14.854 Node004, Queuing (Query) Query Stage Complete (Probe)
2014-02-03 22:41:14.855 
2014-02-03 22:41:14.855 Node004, Sending (NoOp) message (Callback ID=0x01, Expected Reply=0x13) - NoOperation_Set (Node=4): 0x01, 0x09, 0x00, 0x13, 0x04, 0x02, 0x00, 0x00, 0x25, 0x01, 0xc7
2014-02-03 22:41:14.867 Node004,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2014-02-03 22:41:14.867 Node004,   ZW_SEND_DATA delivered to Z-Wave stack
2014-02-03 22:41:18.415 Node004,   Received: 0x01, 0x05, 0x00, 0x13, 0x01, 0x01, 0xe9
2014-02-03 22:41:18.415 Node004,   ZW_SEND_DATA Request with callback ID 0x01 received (expected 0x01)
2014-02-03 22:41:18.416 Node004, WARNING: ZW_SEND_DATA failed. No ACK received - device may be asleep.
2014-02-03 22:41:18.416 Node004, WARNING: Device is not a sleeping node.
2014-02-03 22:41:18.416 Node004, QueryStageRetry stage Probe requested stage Probe max 3 retries 0 pending 1
2014-02-03 22:41:18.416 Node004,   Expected reply was received
2014-02-03 22:41:18.416 Node004,   Message transaction complete
2014-02-03 22:41:18.416 
2014-02-03 22:41:18.416 Node004, Removing current message
2014-02-03 22:41:18.417 
2014-02-03 22:41:18.417 Node001, Sending (Query) message (Callback ID=0x00, Expected Reply=0x49) - Request Node Info (Node=1): 0x01, 0x04, 0x00, 0x60, 0x01, 0x9a
2014-02-03 22:41:18.422 Node001,   Received: 0x01, 0x04, 0x01, 0x60, 0x01, 0x9b
2014-02-03 22:41:18.422 
2014-02-03 22:41:18.422 Node001, FUNC_ID_ZW_REQUEST_NODE_INFO Request successful.
2014-02-03 22:41:18.843 Node001,   Received: 0x01, 0x06, 0x00, 0x49, 0x81, 0x00, 0x00, 0x31
2014-02-03 22:41:18.843 
2014-02-03 22:41:18.844 WARNING: FUNC_ID_ZW_APPLICATION_UPDATE: UPDATE_STATE_NODE_INFO_REQ_FAILED received
2014-02-03 22:41:18.844 Node001, QueryStageRetry stage NodeInfo requested stage NodeInfo max 2 retries 0 pending 1
2014-02-03 22:41:18.844 Node001,   Expected reply was received
2014-02-03 22:41:18.844 Node001,   Message transaction complete
2014-02-03 22:41:18.844 
2014-02-03 22:41:18.844 Node001, Removing current message
2014-02-03 22:41:18.845 Node001, Query Stage Complete (NodeInfo)
2014-02-03 22:41:18.845 Node001, AdvanceQueries queryPending=0 queryRetries=1 queryStage=NodeInfo live=1
2014-02-03 22:41:18.845 Node001, QueryStage_NodeInfo
2014-02-03 22:41:18.845 Node001, Queuing (Query) Request Node Info (Node=1): 0x01, 0x04, 0x00, 0x60, 0x01, 0x9a
2014-02-03 22:41:18.845 Node001, Queuing (Query) Query Stage Complete (NodeInfo)
2014-02-03 22:41:18.845 Node004, Query Stage Complete (Probe)
2014-02-03 22:41:18.846 Node004, AdvanceQueries queryPending=0 queryRetries=1 queryStage=Probe live=1
2014-02-03 22:41:18.846 Node004, QueryStage_Probe
2014-02-03 22:41:18.846 Node004, NoOperation::Set - Routing=true
2014-02-03 22:41:18.846 Node004, Queuing (NoOp) NoOperation_Set (Node=4): 0x01, 0x09, 0x00, 0x13, 0x04, 0x02, 0x00, 0x00, 0x25, 0x02, 0xc4
2014-02-03 22:41:18.847 Node004, Queuing (Query) Query Stage Complete (Probe)
2014-02-03 22:41:18.847 
2014-02-03 22:41:18.847 Node004, Sending (NoOp) message (Callback ID=0x02, Expected Reply=0x13) - NoOperation_Set (Node=4): 0x01, 0x09, 0x00, 0x13, 0x04, 0x02, 0x00, 0x00, 0x25, 0x02, 0xc4
2014-02-03 22:41:18.853 Node004,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2014-02-03 22:41:18.853 Node004,   ZW_SEND_DATA delivered to Z-Wave stack
2014-02-03 22:41:22.489 Node004,   Received: 0x01, 0x05, 0x00, 0x13, 0x02, 0x01, 0xea
2014-02-03 22:41:22.490 Node004,   ZW_SEND_DATA Request with callback ID 0x02 received (expected 0x02)
2014-02-03 22:41:22.491 Node004, WARNING: ZW_SEND_DATA failed. No ACK received - device may be asleep.
2014-02-03 22:41:22.492 Node004, WARNING: Device is not a sleeping node.
2014-02-03 22:41:22.493 Node004, QueryStageRetry stage Probe requested stage Probe max 3 retries 1 pending 1
2014-02-03 22:41:22.493 Node004,   Expected reply was received
2014-02-03 22:41:22.494 Node004,   Message transaction complete
2014-02-03 22:41:22.494 
2014-02-03 22:41:22.495 Node004, Removing current message
2014-02-03 22:41:22.495 
2014-02-03 22:41:22.496 Node001, Sending (Query) message (Callback ID=0x00, Expected Reply=0x49) - Request Node Info (Node=1): 0x01, 0x04, 0x00, 0x60, 0x01, 0x9a
2014-02-03 22:41:22.510 Node001,   Received: 0x01, 0x04, 0x01, 0x60, 0x01, 0x9b
2014-02-03 22:41:22.510 
2014-02-03 22:41:22.510 Node001, FUNC_ID_ZW_REQUEST_NODE_INFO Request successful.
2014-02-03 22:41:22.981 Node001,   Received: 0x01, 0x06, 0x00, 0x49, 0x81, 0x00, 0x00, 0x31
2014-02-03 22:41:22.981 
2014-02-03 22:41:22.982 WARNING: FUNC_ID_ZW_APPLICATION_UPDATE: UPDATE_STATE_NODE_INFO_REQ_FAILED received
2014-02-03 22:41:22.982 Node001, QueryStageRetry stage NodeInfo requested stage NodeInfo max 2 retries 1 pending 1
2014-02-03 22:41:22.982 Node001,   Expected reply was received
2014-02-03 22:41:22.982 Node001,   Message transaction complete
2014-02-03 22:41:22.983 
2014-02-03 22:41:22.983 Node001, Removing current message
2014-02-03 22:41:22.986 Node001, Query Stage Complete (NodeInfo)
2014-02-03 22:41:22.986 Node001, AdvanceQueries queryPending=0 queryRetries=0 queryStage=ManufacturerSpecific2 live=1
2014-02-03 22:41:22.986 Node001, QueryStage_ManufacturerSpecific2
2014-02-03 22:41:22.986 Node001, QueryStage_Versions
2014-02-03 22:41:22.986 Node001, QueryStage_Instances
2014-02-03 22:41:22.987 Node001, Essential node queries are complete
2014-02-03 22:41:22.987 Node001, QueryStage_Static
2014-02-03 22:41:22.987 Node001, QueryStage_Associations
2014-02-03 22:41:22.987 Node001, QueryStage_Neighbors
2014-02-03 22:41:22.988 Requesting routing info (neighbor list) for Node 1
2014-02-03 22:41:22.988 Node001, Queuing (Command) Get Routing Info (Node=1): 0x01, 0x07, 0x00, 0x80, 0x01, 0x00, 0x00, 0x03, 0x7a
2014-02-03 22:41:22.988 Node001, Queuing (Query) Query Stage Complete (Neighbors)
2014-02-03 22:41:22.988 
2014-02-03 22:41:22.988 Node001, Sending (Command) message (Callback ID=0x00, Expected Reply=0x80) - Get Routing Info (Node=1): 0x01, 0x07, 0x00, 0x80, 0x01, 0x00, 0x00, 0x03, 0x7a
2014-02-03 22:41:22.995 Node001,   Received: 0x01, 0x20, 0x01, 0x80, 0x08, 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, 0x56
2014-02-03 22:41:22.996 
2014-02-03 22:41:22.996 Node001, Received reply to FUNC_ID_ZW_GET_ROUTING_INFO
2014-02-03 22:41:22.996 Node001,     Neighbors of this node are:
2014-02-03 22:41:22.996 Node001,     Node 4
2014-02-03 22:41:22.996 Node001,   Expected reply was received
2014-02-03 22:41:22.997 Node001,   Message transaction complete
2014-02-03 22:41:22.997 
2014-02-03 22:41:22.997 Node001, Removing current message
2014-02-03 22:41:22.997 Node004, Query Stage Complete (Probe)
2014-02-03 22:41:22.997 Node004, AdvanceQueries queryPending=0 queryRetries=2 queryStage=Probe live=1
2014-02-03 22:41:22.997 Node004, QueryStage_Probe
2014-02-03 22:41:22.998 Node004, NoOperation::Set - Routing=true
2014-02-03 22:41:22.998 Node004, Queuing (NoOp) NoOperation_Set (Node=4): 0x01, 0x09, 0x00, 0x13, 0x04, 0x02, 0x00, 0x00, 0x25, 0x03, 0xc5
2014-02-03 22:41:22.998 Node004, Queuing (Query) Query Stage Complete (Probe)
2014-02-03 22:41:22.998 
2014-02-03 22:41:22.998 Node004, Sending (NoOp) message (Callback ID=0x03, Expected Reply=0x13) - NoOperation_Set (Node=4): 0x01, 0x09, 0x00, 0x13, 0x04, 0x02, 0x00, 0x00, 0x25, 0x03, 0xc5
2014-02-03 22:41:23.004 Node004,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2014-02-03 22:41:23.005 Node004,   ZW_SEND_DATA delivered to Z-Wave stack
2014-02-03 22:41:26.559 Node004,   Received: 0x01, 0x05, 0x00, 0x13, 0x03, 0x01, 0xeb
2014-02-03 22:41:26.580 Node004,   ZW_SEND_DATA Request with callback ID 0x03 received (expected 0x03)
2014-02-03 22:41:26.581 Node004, WARNING: ZW_SEND_DATA failed. No ACK received - device may be asleep.
2014-02-03 22:41:26.581 Node004, WARNING: Device is not a sleeping node.
2014-02-03 22:41:26.582 Node004, ERROR: node presumed dead
2014-02-03 22:41:26.582 CheckCompletedNodeQueries m_allNodesQueried=0 m_awakeNodesQueried=0
2014-02-03 22:41:26.583 CheckCompletedNodeQueries all=0, deadFound=1 sleepingOnly=0
2014-02-03 22:41:26.583 Node004, QueryStageRetry stage Probe requested stage Probe max 3 retries 2 pending 1
2014-02-03 22:41:26.584 Node004,   Expected reply was received
2014-02-03 22:41:26.584 Node004,   Message transaction complete
2014-02-03 22:41:26.585 
2014-02-03 22:41:26.585 Node004, Removing current message
2014-02-03 22:41:26.586 Node001, Query Stage Complete (Neighbors)
2014-02-03 22:41:26.586 Node001, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Session live=1
2014-02-03 22:41:26.587 Node001, QueryStage_Session
2014-02-03 22:41:26.587 Node001, QueryStage_Dynamic
2014-02-03 22:41:26.587 Node001, QueryStage_Configuration
2014-02-03 22:41:26.588 Node001, QueryStage_Complete
2014-02-03 22:41:26.588 CheckCompletedNodeQueries m_allNodesQueried=0 m_awakeNodesQueried=0
2014-02-03 22:41:26.589 CheckCompletedNodeQueries all=1, deadFound=1 sleepingOnly=1
2014-02-03 22:41:26.589          Node query processing complete except for dead nodes.
2014-02-03 22:41:26.593 mgr,     Manager::WriteConfig completed for driver with home ID of 0xffffffff
2014-02-03 22:41:26.594 Node004, Query Stage Complete (Probe)
2014-02-03 22:41:26.594 Node004, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Probe live=0

Now we can follow the steps at: http://www.agilart.com/blog/open-zwave[/vc_column_text][/vc_column][/vc_row]

Tags: Linux Applications

Share!
Tweet

admin

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors