OpenZWave / node-openzwave-shared

OpenZWave addon for Node.js (all versions) including management and security functions
Other
199 stars 113 forks source link

Cannot compile on Raspberry Pi Zero #204

Closed galley9 closed 6 years ago

galley9 commented 6 years ago

I have very little Linux experience so if you offer a solution please be very specific and detailed.

I have successfully made it to step #2. I did not have any luck installing the "(New!) Download and install the precompiled Raspbian/ARMv6 packages for Raspberry 1:" so I have chosen the Hercules' path of blight.

The following commands executed successfully:

wget http://old.openzwave.com/downloads/openzwave-1.4.1.tar.gz
tar zxvf openzwave-*.gz
cd openzwave-* && make && sudo make install
export LD_LIBRARY_PATH=/usr/local/lib
sudo sed -i '$a LD_LIBRARY_PATH=/usr/local/lib' /etc/environment

The command "MinOZW /dev/ttyACM0" returns:

Starting MinOZW with OpenZWave Version 1.4.1 2017-11-28 13:13:25.473 Error, Cannot find a path to the configuration files at ../../../config/, Using config/ instead... 2017-11-28 13:13:25.478 Info, Reading config/options.xml for Options 2017-11-28 13:13:25.480 Warning, Failed to Parse options.xml: Failed to open file 2017-11-28 13:13:25.483 Always, OpenZwave Version 1.4.1 Starting Up 2017-11-28 13:13:25.488 Info, Setting Up Provided Network Key for Secure Communications 2017-11-28 13:13:25.489 Warning, Failed - Network Key Not Set 2017-11-28 13:13:25.490 Info, mgr, Added driver for controller /dev/ttyACM0 2017-11-28 13:13:25.494 Info, Opening controller /dev/ttyACM0 2017-11-28 13:13:25.495 Info, Trying to open serial port /dev/ttyACM0 (attempt 1) 2017-11-28 13:13:25.518 Info, Serial port /dev/ttyACM0 opened (attempt 1) 2017-11-28 13:13:25.520 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9 2017-11-28 13:13:25.520 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc 2017-11-28 13:13:25.521 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9 2017-11-28 13:13:25.524 Detail, contrlr, Queuing (Command) FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb 2017-11-28 13:13:25.524 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa 2017-11-28 13:13:25.525 Detail, 2017-11-28 13:13:25.547 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x15) - FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9 2017-11-28 13:13:25.551 Detail, contrlr, Received: 0x01, 0x10, 0x01, 0x15, 0x5a, 0x2d, 0x57, 0x61, 0x76, 0x65, 0x20, 0x33, 0x2e, 0x39, 0x35, 0x00, 0x01, 0x99 2017-11-28 13:13:25.557 Detail, 2017-11-28 13:13:25.558 Info, contrlr, Received reply to FUNC_ID_ZW_GET_VERSION: 2017-11-28 13:13:25.558 Info, contrlr, Static Controller library, version Z-Wave 3.95 2017-11-28 13:13:25.558 Detail, Node045, Expected reply was received 2017-11-28 13:13:25.559 Detail, Node045, Message transaction complete 2017-11-28 13:13:25.559 Detail, 2017-11-28 13:13:25.560 Detail, contrlr, Removing current message 2017-11-28 13:13:25.560 Detail, 2017-11-28 13:13:25.567 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x20) - FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc 2017-11-28 13:13:25.571 Detail, contrlr, Received: 0x01, 0x08, 0x01, 0x20, 0xe1, 0x29, 0x96, 0xa3, 0x01, 0x2a 2017-11-28 13:13:25.575 Detail, 2017-11-28 13:13:25.581 Info, contrlr, Received reply to FUNC_ID_ZW_MEMORY_GET_ID. Home ID = 0xe12996a3. Our node ID = 1 2017-11-28 13:13:25.582 Detail, Node041, Expected reply was received 2017-11-28 13:13:25.582 Detail, Node041, Message transaction complete 2017-11-28 13:13:25.583 Detail, 2017-11-28 13:13:25.583 Detail, contrlr, Removing current message 2017-11-28 13:13:25.586 Detail, 2017-11-28 13:13:25.589 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x05) - FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9 2017-11-28 13:13:25.599 Detail, contrlr, Received: 0x01, 0x04, 0x01, 0x05, 0x08, 0xf7 2017-11-28 13:13:25.600 Detail, 2017-11-28 13:13:25.627 Info, contrlr, Received reply to FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 2017-11-28 13:13:25.628 Info, contrlr, There is no SUC ID Server (SIS) in this network. 2017-11-28 13:13:25.628 Info, contrlr, The PC controller is a primary controller. 2017-11-28 13:13:25.628 Detail, Node247, Expected reply was received 2017-11-28 13:13:25.629 Detail, Node247, Message transaction complete 2017-11-28 13:13:25.629 Detail, 2017-11-28 13:13:25.629 Detail, contrlr, Removing current message 2017-11-28 13:13:25.630 Detail, 2017-11-28 13:13:25.630 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x07) - FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb 2017-11-28 13:13:25.638 Detail, contrlr, Received: 0x01, 0x2b, 0x01, 0x07, 0x01, 0x00, 0x00, 0x86, 0x01, 0x01, 0x00, 0x5a, 0xfe, 0x81, 0xff, 0x88, 0x4f, 0x1f, 0x00, 0x00, 0xfb, 0x9f, 0x7d, 0xa0, 0x67, 0x00, 0x00, 0x80, 0x00, 0x80, 0x86, 0x00, 0x00, 0x00, 0xe8, 0x73, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x60, 0x00, 0x00, 0xfa 2017-11-28 13:13:25.642 Detail, 2017-11-28 13:13:25.643 Info, contrlr, Received reply to FUNC_ID_SERIAL_API_GET_CAPABILITIES 2017-11-28 13:13:25.647 Info, contrlr, Serial API Version: 1.0 2017-11-28 13:13:25.648 Info, contrlr, Manufacturer ID: 0x0086 2017-11-28 13:13:25.648 Info, contrlr, Product Type: 0x0101 2017-11-28 13:13:25.648 Info, contrlr, Product ID: 0x005a 2017-11-28 13:13:25.651 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_RANDOM: 0x01, 0x04, 0x00, 0x1c, 0x20, 0xc7 2017-11-28 13:13:25.660 Detail, contrlr, Queuing (Command) FUNC_ID_SERIAL_API_GET_INIT_DATA: 0x01, 0x03, 0x00, 0x02, 0xfe 2017-11-28 13:13:25.661 Detail, contrlr, Queuing (Command) FUNC_ID_SERIAL_API_SET_TIMEOUTS: 0x01, 0x05, 0x00, 0x06, 0x64, 0x0f, 0x97 2017-11-28 13:13:25.662 Detail, contrlr, Queuing (Command) FUNC_ID_SERIAL_API_APPL_NODE_INFORMATION: 0x01, 0x07, 0x00, 0x03, 0x01, 0x02, 0x01, 0x00, 0xf9 2017-11-28 13:13:25.664 Detail, Expected reply was received 2017-11-28 13:13:25.664 Detail, Message transaction complete 2017-11-28 13:13:25.665 Detail, 2017-11-28 13:13:25.665 Detail, contrlr, Removing current message 2017-11-28 13:13:25.667 Detail, 2017-11-28 13:13:25.670 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x56) - FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa 2017-11-28 13:13:25.690 Detail, contrlr, Received: 0x01, 0x04, 0x01, 0x56, 0x00, 0xac 2017-11-28 13:13:25.697 Detail, 2017-11-28 13:13:25.698 Info, contrlr, Received reply to GET_SUC_NODE_ID. Node ID = 0 2017-11-28 13:13:25.698 Info, Controller Does not Support SUC - Cannot Setup Controller as SUC Node 2017-11-28 13:13:25.707 Detail, Node172, Expected reply was received 2017-11-28 13:13:25.707 Detail, Node172, Message transaction complete 2017-11-28 13:13:25.708 Detail, 2017-11-28 13:13:25.708 Detail, contrlr, Removing current message 2017-11-28 13:13:25.709 Detail, 2017-11-28 13:13:25.709 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x1c) - FUNC_ID_ZW_GET_RANDOM: 0x01, 0x04, 0x00, 0x1c, 0x20, 0xc7 2017-11-28 13:13:25.766 Detail, contrlr, Received: 0x01, 0x25, 0x01, 0x1c, 0x01, 0x20, 0x6d, 0x8e, 0x06, 0x01, 0xf3, 0x10, 0xb9, 0xe5, 0x4f, 0x52, 0x9f, 0x37, 0xf7, 0xbc, 0x27, 0xad, 0xfc, 0x2b, 0xd9, 0xbf, 0xa0, 0xd1, 0x23, 0x12, 0xcd, 0xad, 0xc5, 0x1e, 0xae, 0x72, 0x1c, 0xe0, 0xa3 2017-11-28 13:13:25.767 Detail, 2017-11-28 13:13:25.770 Info, contrlr, Received reply to FUNC_ID_ZW_GET_RANDOM: true 2017-11-28 13:13:25.774 Detail, Node032, Expected reply was received 2017-11-28 13:13:25.777 Detail, Node032, Message transaction complete 2017-11-28 13:13:25.778 Detail, 2017-11-28 13:13:25.778 Detail, contrlr, Removing current message 2017-11-28 13:13:25.778 Detail, 2017-11-28 13:13:25.779 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x02) - FUNC_ID_SERIAL_API_GET_INIT_DATA: 0x01, 0x03, 0x00, 0x02, 0xfe 2017-11-28 13:13:25.877 Detail, contrlr, Received: 0x01, 0x25, 0x01, 0x02, 0x05, 0x00, 0x1d, 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, 0x00, 0x05, 0x00, 0xc7 2017-11-28 13:13:25.878 Detail, 2017-11-28 13:13:25.887 Info, mgr, Driver with Home ID of 0xe12996a3 is now ready. 2017-11-28 13:13:25.887 Info, 2017-11-28 13:13:25.888 Info, contrlr, Received reply to FUNC_ID_SERIAL_API_GET_INIT_DATA: 2017-11-28 13:13:25.889 Info, contrlr, Node 001 - New 2017-11-28 13:13:25.889 Detail, Node001, AdvanceQueries queryPending=0 queryRetries=0 queryStage=None live=1 2017-11-28 13:13:25.894 Detail, Node001, QueryStage_ProtocolInfo 2017-11-28 13:13:25.894 Detail, Node001, Queuing (Query) Get Node Protocol Info (Node=1): 0x01, 0x04, 0x00, 0x41, 0x01, 0xbb 2017-11-28 13:13:25.895 Detail, Node001, Queuing (Query) Query Stage Complete (ProtocolInfo) 2017-11-28 13:13:25.895 Info, Node001, Initilizing Node. New Node: false (false) 2017-11-28 13:13:25.895 Info, contrlr, Node 002 - New 2017-11-28 13:13:25.896 Detail, Node002, AdvanceQueries queryPending=0 queryRetries=0 queryStage=None live=1 2017-11-28 13:13:25.896 Detail, Node002, QueryStage_ProtocolInfo 2017-11-28 13:13:25.897 Detail, Node002, Queuing (Query) Get Node Protocol Info (Node=2): 0x01, 0x04, 0x00, 0x41, 0x02, 0xb8 2017-11-28 13:13:25.905 Detail, Node002, Queuing (Query) Query Stage Complete (ProtocolInfo) 2017-11-28 13:13:25.907 Info, Node002, Initilizing Node. New Node: false (false) 2017-11-28 13:13:25.910 Detail, Expected reply was received 2017-11-28 13:13:25.914 Detail, Message transaction complete 2017-11-28 13:13:25.915 Detail, 2017-11-28 13:13:25.917 Detail, contrlr, Removing current message 2017-11-28 13:13:25.924 Detail, Node001, Notification: DriverReady 2017-11-28 13:13:25.927 Detail, Node001, Notification: NodeNew 2017-11-28 13:13:25.927 Detail, Node001, Notification: NodeAdded 2017-11-28 13:13:25.928 Detail, Node002, Notification: NodeNew 2017-11-28 13:13:25.931 Detail, Node002, Notification: NodeAdded 2017-11-28 13:13:25.931 Detail, 2017-11-28 13:13:25.933 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x06) - FUNC_ID_SERIAL_API_SET_TIMEOUTS: 0x01, 0x05, 0x00, 0x06, 0x64, 0x0f, 0x97 2017-11-28 13:13:25.961 Detail, contrlr, Received: 0x01, 0x05, 0x01, 0x06, 0x96, 0x0f, 0x64 2017-11-28 13:13:25.962 Detail, 2017-11-28 13:13:25.962 Info, contrlr, Received reply to FUNC_ID_SERIAL_API_SET_TIMEOUTS 2017-11-28 13:13:25.963 Detail, Node015, Expected reply was received 2017-11-28 13:13:25.963 Detail, Node015, Message transaction complete 2017-11-28 13:13:25.963 Detail, 2017-11-28 13:13:25.964 Detail, contrlr, Removing current message 2017-11-28 13:13:25.964 Detail, 2017-11-28 13:13:25.965 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 2017-11-28 13:13:25.969 Detail, contrlr, Removing current message 2017-11-28 13:13:25.989 Detail, 2017-11-28 13:13:25.992 Info, Node001, Sending (Query) message (Callback ID=0x00, Expected Reply=0x41) - Get Node Protocol Info (Node=1): 0x01, 0x04, 0x00, 0x41, 0x01, 0xbb 2017-11-28 13:13:26.001 Detail, Node001, Received: 0x01, 0x09, 0x01, 0x41, 0x93, 0x16, 0x01, 0x02, 0x02, 0x01, 0x33 2017-11-28 13:13:26.007 Detail, 2017-11-28 13:13:26.014 Info, Node001, Received reply to FUNC_ID_ZW_GET_NODE_PROTOCOL_INFO 2017-11-28 13:13:26.015 Info, Node001, Protocol Info for Node 1: 2017-11-28 13:13:26.015 Info, Node001, Listening = true 2017-11-28 13:13:26.015 Info, Node001, Beaming = true 2017-11-28 13:13:26.017 Info, Node001, Routing = false 2017-11-28 13:13:26.020 Info, Node001, Max Baud Rate = 40000 2017-11-28 13:13:26.021 Info, Node001, Version = 4 2017-11-28 13:13:26.021 Info, Node001, Security = false 2017-11-28 13:13:26.129 Info, Node001, Basic device class (0x02) - Static Controller 2017-11-28 13:13:26.137 Info, Node001, Generic device Class (0x02) - Static Controller 2017-11-28 13:13:26.138 Info, Node001, Specific device class (0x01) - Static PC Controller 2017-11-28 13:13:26.140 Info, Node001, COMMAND_CLASS_BASIC is not mapped 2017-11-28 13:13:26.144 Info, Node001, Mandatory Command Classes for Node 1: 2017-11-28 13:13:26.151 Info, Node001, None 2017-11-28 13:13:26.157 Info, Node001, Mandatory Command Classes controlled by Node 1: 2017-11-28 13:13:26.157 Info, Node001, COMMAND_CLASS_BASIC 2017-11-28 13:13:26.158 Detail, Node022, Expected reply was received 2017-11-28 13:13:26.158 Detail, Node022, Message transaction complete 2017-11-28 13:13:26.158 Detail, 2017-11-28 13:13:26.159 Detail, Node001, Removing current message 2017-11-28 13:13:26.159 Detail, Node001, Notification: NodeProtocolInfo 2017-11-28 13:13:26.159 Detail, Node001, Notification: ValueAdded 2017-11-28 13:13:26.160 Detail, Node001, Query Stage Complete (ProtocolInfo) 2017-11-28 13:13:26.160 Detail, Node001, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Probe live=1 2017-11-28 13:13:26.160 Detail, Node001, QueryStage_Probe 2017-11-28 13:13:26.161 Detail, Node001, QueryStage_WakeUp 2017-11-28 13:13:26.161 Detail, Node001, QueryStage_ManufacturerSpecific1 2017-11-28 13:13:26.161 Detail, Node001, Load Controller Manufacturer Specific Config 2017-11-28 13:13:26.435 Info, Node001, Opening config param file config/aeotec/zstickgen5.xml 2017-11-28 13:13:26.486 Detail, Node001, QueryStage_NodePlusInfo 2017-11-28 13:13:26.504 Detail, Node001, QueryStage_SecurityReport 2017-11-28 13:13:26.506 Detail, Node001, QueryStage_ManufacturerSpecific2 2017-11-28 13:13:26.508 Detail, Node001, QueryStage_Versions 2017-11-28 13:13:26.510 Detail, Node001, QueryStage_Instances 2017-11-28 13:13:26.511 Info, Node001, Essential node queries are complete 2017-11-28 13:13:26.515 Detail, Node001, QueryStage_Static 2017-11-28 13:13:26.517 Detail, Node001, QueryStage_Associations 2017-11-28 13:13:26.520 Detail, Node001, QueryStage_Neighbors 2017-11-28 13:13:26.521 Detail, Requesting routing info (neighbor list) for Node 1 2017-11-28 13:13:26.527 Detail, Node001, Queuing (Command) Get Routing Info (Node=1): 0x01, 0x07, 0x00, 0x80, 0x01, 0x00, 0x00, 0x03, 0x7a 2017-11-28 13:13:26.528 Detail, Node001, Queuing (Query) Query Stage Complete (Neighbors) 2017-11-28 13:13:26.537 Detail, Node001, Notification: EssentialNodeQueriesComplete 2017-11-28 13:13:26.545 Detail, 2017-11-28 13:13:26.547 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 2017-11-28 13:13:26.558 Detail, Node001, Received: 0x01, 0x20, 0x01, 0x80, 0x02, 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, 0x5c 2017-11-28 13:13:26.561 Detail, 2017-11-28 13:13:26.568 Info, Node001, Received reply to FUNC_ID_ZW_GET_ROUTING_INFO 2017-11-28 13:13:26.568 Info, Node001, Neighbors of this node are: 2017-11-28 13:13:26.568 Info, Node001, Node 2 2017-11-28 13:13:26.569 Detail, Expected reply was received 2017-11-28 13:13:26.569 Detail, Message transaction complete 2017-11-28 13:13:26.569 Detail, 2017-11-28 13:13:26.569 Detail, Node001, Removing current message 2017-11-28 13:13:26.570 Detail, 2017-11-28 13:13:26.570 Info, Node002, Sending (Query) message (Callback ID=0x00, Expected Reply=0x41) - Get Node Protocol Info (Node=2): 0x01, 0x04, 0x00, 0x41, 0x02, 0xb8 2017-11-28 13:13:26.580 Detail, Node002, Received: 0x01, 0x09, 0x01, 0x41, 0x52, 0xdc, 0x00, 0x04, 0x40, 0x03, 0x7f 2017-11-28 13:13:26.590 Detail, 2017-11-28 13:13:26.591 Info, Node002, Received reply to FUNC_ID_ZW_GET_NODE_PROTOCOL_INFO 2017-11-28 13:13:26.594 Info, Node002, Protocol Info for Node 2: 2017-11-28 13:13:26.599 Info, Node002, Listening = false 2017-11-28 13:13:26.602 Info, Node002, Frequent = true 2017-11-28 13:13:26.605 Info, Node002, Beaming = true 2017-11-28 13:13:26.605 Info, Node002, Routing = true 2017-11-28 13:13:26.606 Info, Node002, Max Baud Rate = 40000 2017-11-28 13:13:26.606 Info, Node002, Version = 3 2017-11-28 13:13:26.606 Info, Node002, Security = false 2017-11-28 13:13:26.615 Info, Node002, Basic device class (0x04) - Routing Slave 2017-11-28 13:13:26.617 Info, Node002, Generic device Class (0x40) - Entry Control 2017-11-28 13:13:26.618 Info, Node002, Specific device class (0x03) - Secure Keypad Door Lock 2017-11-28 13:13:26.620 Warning, Node002, Security Command Class Cannot be Enabled - NetworkKey is not set 2017-11-28 13:13:26.627 Info, Node002, COMMAND_CLASS_BASIC will be mapped to COMMAND_CLASS_DOOR_LOCK 2017-11-28 13:13:26.627 Info, Node002, Mandatory Command Classes for Node 2: 2017-11-28 13:13:26.628 Info, Node002, COMMAND_CLASS_BASIC 2017-11-28 13:13:26.628 Info, Node002, COMMAND_CLASS_DOOR_LOCK 2017-11-28 13:13:26.629 Info, Node002, COMMAND_CLASS_USER_CODE 2017-11-28 13:13:26.637 Info, Node002, COMMAND_CLASS_MANUFACTURER_SPECIFIC 2017-11-28 13:13:26.637 Info, Node002, COMMAND_CLASS_VERSION 2017-11-28 13:13:26.638 Info, Node002, Mandatory Command Classes controlled by Node 2: 2017-11-28 13:13:26.638 Info, Node002, None 2017-11-28 13:13:26.639 Detail, Node220, Expected reply was received 2017-11-28 13:13:26.639 Detail, Node220, Message transaction complete 2017-11-28 13:13:26.639 Detail, 2017-11-28 13:13:26.640 Detail, Node002, Removing current message 2017-11-28 13:13:26.640 Detail, Node002, Notification: NodeProtocolInfo 2017-11-28 13:13:26.641 Detail, Node002, Notification: ValueAdded 2017-11-28 13:13:26.647 Detail, Node002, Notification: ValueAdded 2017-11-28 13:13:26.657 Detail, Node002, Notification: ValueAdded 2017-11-28 13:13:26.657 Detail, Node002, Notification: ValueAdded 2017-11-28 13:13:26.658 Detail, Node002, Notification: ValueAdded 2017-11-28 13:13:26.660 Detail, Node002, Notification: ValueAdded 2017-11-28 13:13:26.661 Detail, Node002, Notification: ValueAdded 2017-11-28 13:13:26.661 Detail, Node002, Notification: ValueAdded 2017-11-28 13:13:26.662 Detail, Node002, Notification: ValueAdded 2017-11-28 13:13:26.662 Detail, Node002, Notification: ValueAdded 2017-11-28 13:13:26.663 Detail, Node002, Query Stage Complete (ProtocolInfo) 2017-11-28 13:13:26.676 Detail, Node002, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Probe live=1 2017-11-28 13:13:26.677 Detail, Node002, QueryStage_Probe 2017-11-28 13:13:26.677 Info, Node002, NoOperation::Set - Routing=true 2017-11-28 13:13:26.678 Detail, Node002, Queuing (NoOp) NoOperation_Set (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x00, 0x00, 0x25, 0x0a, 0xca 2017-11-28 13:13:26.678 Detail, Node002, Queuing (Query) Query Stage Complete (Probe) 2017-11-28 13:13:26.680 Detail, 2017-11-28 13:13:26.687 Info, Node002, Sending (NoOp) message (Callback ID=0x0a, Expected Reply=0x13) - NoOperation_Set (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x00, 0x00, 0x25, 0x0a, 0xca 2017-11-28 13:13:26.696 Detail, Node002, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8 2017-11-28 13:13:26.696 Detail, Node002, ZW_SEND_DATA delivered to Z-Wave stack 2017-11-28 13:13:27.958 Detail, Node002, Received: 0x01, 0x07, 0x00, 0x13, 0x0a, 0x00, 0x00, 0x7f, 0x9e 2017-11-28 13:13:27.958 Detail, Node002, ZW_SEND_DATA Request with callback ID 0x0a received (expected 0x0a) 2017-11-28 13:13:27.959 Info, Node002, Request RTT 1271 Average Request RTT 1271 2017-11-28 13:13:27.960 Detail, Expected callbackId was received 2017-11-28 13:13:27.961 Detail, Expected reply was received 2017-11-28 13:13:27.961 Detail, Message transaction complete 2017-11-28 13:13:27.962 Detail, 2017-11-28 13:13:27.962 Detail, Node002, Removing current message 2017-11-28 13:13:27.962 Detail, Node002, Notification: Notification - NoOperation 2017-11-28 13:13:27.963 Detail, Node001, Query Stage Complete (Neighbors) 2017-11-28 13:13:27.963 Detail, Node001, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Session live=1 2017-11-28 13:13:27.963 Detail, Node001, QueryStage_Session 2017-11-28 13:13:27.964 Detail, Node001, QueryStage_Dynamic 2017-11-28 13:13:27.964 Detail, Node001, QueryStage_Configuration 2017-11-28 13:13:27.964 Detail, Node001, QueryStage_Complete 2017-11-28 13:13:27.964 Warning, CheckCompletedNodeQueries m_allNodesQueried=0 m_awakeNodesQueried=0 2017-11-28 13:13:27.965 Warning, CheckCompletedNodeQueries all=0, deadFound=0 sleepingOnly=1 2017-11-28 13:13:27.965 Info, Node query processing complete except for sleeping nodes. 2017-11-28 13:13:27.965 Detail, Node001, Notification: NodeQueriesComplete 2017-11-28 13:13:27.966 Detail, contrlr, Notification: AwakeNodesQueried 2017-11-28 13:13:27.967 Detail, Node002, Query Stage Complete (Probe) 2017-11-28 13:13:27.968 Detail, Node002, AdvanceQueries queryPending=0 queryRetries=0 queryStage=WakeUp live=1 2017-11-28 13:13:27.977 Detail, Node002, QueryStage_WakeUp 2017-11-28 13:13:27.977 Detail, Node002, QueryStage_ManufacturerSpecific1 2017-11-28 13:13:27.978 Detail, Node002, Checking for ManufacturerSpecific CC and Requesting values if present on this node 2017-11-28 13:13:27.978 Detail, Node002, Queuing (Query) ManufacturerSpecificCmd_Get (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x72, 0x04, 0x25, 0x0b, 0xbd 2017-11-28 13:13:27.979 Detail, Node002, Queuing (Query) Query Stage Complete (ManufacturerSpecific1) 2017-11-28 13:13:27.979 Detail, 2017-11-28 13:13:27.980 Info, Node002, Sending (Query) message (Callback ID=0x0b, Expected Reply=0x04) - ManufacturerSpecificCmd_Get (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x72, 0x04, 0x25, 0x0b, 0xbd 2017-11-28 13:13:27.989 Detail, Node002, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8 2017-11-28 13:13:27.989 Detail, Node002, ZW_SEND_DATA delivered to Z-Wave stack 2017-11-28 13:13:28.006 Detail, Node002, Received: 0x01, 0x07, 0x00, 0x13, 0x0b, 0x00, 0x00, 0x03, 0xe3 2017-11-28 13:13:28.007 Detail, Node002, ZW_SEND_DATA Request with callback ID 0x0b received (expected 0x0b) 2017-11-28 13:13:28.007 Info, Node002, Request RTT 27 Average Request RTT 649 2017-11-28 13:13:28.007 Detail, Expected callbackId was received 2017-11-28 13:13:28.017 Detail, Node002, Received: 0x01, 0x0e, 0x00, 0x04, 0x00, 0x02, 0x08, 0x72, 0x05, 0x00, 0x90, 0x00, 0x01, 0x00, 0x01, 0x18 2017-11-28 13:13:28.021 Detail, 2017-11-28 13:13:28.027 Info, Node002, Response RTT 47 Average Response RTT 47 2017-11-28 13:13:28.027 Info, Node002, Received manufacturer specific report from node 2: Manufacturer=Kwikset, Product=Touchpad Electronic Deadbolt 2017-11-28 13:13:28.028 Info, Node002, Node Identity Codes: 0090:0001:0001 2017-11-28 13:13:28.032 Detail, Node002, Expected reply and command class was received 2017-11-28 13:13:28.032 Detail, Node002, Message transaction complete 2017-11-28 13:13:28.033 Detail, 2017-11-28 13:13:28.033 Detail, Node002, Removing current message 2017-11-28 13:13:28.034 Detail, Node002, Notification: NodeNaming 2017-11-28 13:13:28.035 Detail, Node002, Query Stage Complete (ManufacturerSpecific1) 2017-11-28 13:13:28.035 Detail, Node002, AdvanceQueries queryPending=0 queryRetries=0 queryStage=NodeInfo live=1 2017-11-28 13:13:28.036 Detail, Node002, QueryStage_NodeInfo 2017-11-28 13:13:28.037 Detail, Node002, Queuing (Query) Request Node Info (Node=2): 0x01, 0x04, 0x00, 0x60, 0x02, 0x99 2017-11-28 13:13:28.041 Detail, Node002, Queuing (Query) Query Stage Complete (NodeInfo) 2017-11-28 13:13:28.042 Detail, 2017-11-28 13:13:28.047 Info, Node002, Sending (Query) message (Callback ID=0x00, Expected Reply=0x49) - Request Node Info (Node=2): 0x01, 0x04, 0x00, 0x60, 0x02, 0x99 2017-11-28 13:13:28.067 Detail, Node002, Received: 0x01, 0x04, 0x01, 0x60, 0x01, 0x9b 2017-11-28 13:13:28.068 Detail, 2017-11-28 13:13:28.069 Info, Node155, FUNC_ID_ZW_REQUEST_NODE_INFO Request successful. 2017-11-28 13:13:28.087 Detail, Node002, Received: 0x01, 0x0c, 0x00, 0x49, 0x84, 0x02, 0x06, 0x04, 0x40, 0x03, 0x72, 0x86, 0x98, 0x11 2017-11-28 13:13:28.088 Detail, 2017-11-28 13:13:28.088 Info, Node002, UPDATE_STATE_NODE_INFO_RECEIVED from node 2 2017-11-28 13:13:28.089 Info, Node002, Optional command classes for node 2: 2017-11-28 13:13:28.089 Info, Node002, COMMAND_CLASS_MANUFACTURER_SPECIFIC (Existing) 2017-11-28 13:13:28.094 Info, Node002, COMMAND_CLASS_VERSION (Existing) 2017-11-28 13:13:28.094 Info, Node002, COMMAND_CLASS_SECURITY (Disabled - Network Key Not Set) 2017-11-28 13:13:28.095 Info, Node002, None 2017-11-28 13:13:28.095 Detail, Node002, AdvanceQueries queryPending=1 queryRetries=0 queryStage=NodeInfo live=1 2017-11-28 13:13:28.095 Detail, Node002, Expected reply was received 2017-11-28 13:13:28.097 Detail, Node002, Message transaction complete 2017-11-28 13:13:28.115 Detail, 2017-11-28 13:13:28.115 Detail, Node002, Removing current message 2017-11-28 13:13:28.116 Detail, Node002, Query Stage Complete (NodeInfo) 2017-11-28 13:13:28.127 Detail, Node002, AdvanceQueries queryPending=0 queryRetries=0 queryStage=NodePlusInfo live=1 2017-11-28 13:13:28.127 Detail, Node002, QueryStage_NodePlusInfo 2017-11-28 13:13:28.128 Detail, Node002, QueryStage_SecurityReport 2017-11-28 13:13:28.128 Detail, Node002, QueryStage_Versions 2017-11-28 13:13:28.129 Info, Node002, Requesting Versions 2017-11-28 13:13:28.129 Info, Node002, Requesting Versions for COMMAND_CLASS_NO_OPERATION 2017-11-28 13:13:28.129 Info, Node002, Requesting Versions for COMMAND_CLASS_BASIC 2017-11-28 13:13:28.130 Info, Node002, Requesting Versions for COMMAND_CLASS_DOOR_LOCK 2017-11-28 13:13:28.130 Info, Node002, Requesting Versions for COMMAND_CLASS_USER_CODE 2017-11-28 13:13:28.131 Info, Node002, Requesting Versions for COMMAND_CLASS_MANUFACTURER_SPECIFIC 2017-11-28 13:13:28.131 Info, Node002, Requesting Versions for COMMAND_CLASS_VERSION 2017-11-28 13:13:28.131 Detail, Node002, QueryStage_Instances 2017-11-28 13:13:28.132 Info, Node002, Essential node queries are complete 2017-11-28 13:13:28.132 Detail, Node002, QueryStage_Static 2017-11-28 13:13:28.133 Detail, Node002, Queuing (Query) DoorLockCmd_Configuration_Get (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x62, 0x05, 0x25, 0x0c, 0xab 2017-11-28 13:13:28.137 Detail, Node002, Queuing (Query) UserNumberCmd_Get (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x63, 0x04, 0x25, 0x0d, 0xaa 2017-11-28 13:13:28.144 Detail, Node002, Queuing (Query) VersionCmd_Get (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x86, 0x11, 0x25, 0x0e, 0x59 2017-11-28 13:13:28.145 Detail, Node002, Queuing (Query) Query Stage Complete (Static) 2017-11-28 13:13:28.146 Detail, Node002, Notification: EssentialNodeQueriesComplete 2017-11-28 13:13:28.146 Detail, 2017-11-28 13:13:28.157 Info, Node002, Sending (Query) message (Callback ID=0x0c, Expected Reply=0x04) - DoorLockCmd_Configuration_Get (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x62, 0x05, 0x25, 0x0c, 0xab 2017-11-28 13:13:28.166 Detail, Node002, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8 2017-11-28 13:13:28.166 Detail, Node002, ZW_SEND_DATA delivered to Z-Wave stack 2017-11-28 13:13:28.183 Detail, Node002, Received: 0x01, 0x07, 0x00, 0x13, 0x0c, 0x00, 0x00, 0x02, 0xe5 2017-11-28 13:13:28.183 Detail, Node002, ZW_SEND_DATA Request with callback ID 0x0c received (expected 0x0c) 2017-11-28 13:13:28.184 Info, Node002, Request RTT 26 Average Request RTT 337 2017-11-28 13:13:28.184 Detail, Expected callbackId was received 2017-11-28 13:13:38.158 Error, Node002, ERROR: Dropping command, expected response not received after 1 attempt(s) 2017-11-28 13:13:38.158 Detail, Node002, Removing current message 2017-11-28 13:13:38.159 Detail, Node002, Notification: Notification - TimeOut 2017-11-28 13:13:38.159 Detail, 2017-11-28 13:13:38.160 Info, Node002, Sending (Query) message (Callback ID=0x0d, Expected Reply=0x04) - UserNumberCmd_Get (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x63, 0x04, 0x25, 0x0d, 0xaa 2017-11-28 13:13:38.169 Detail, Node002, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8 2017-11-28 13:13:38.170 Detail, Node002, ZW_SEND_DATA delivered to Z-Wave stack 2017-11-28 13:13:39.475 Detail, Node002, Received: 0x01, 0x07, 0x00, 0x13, 0x0d, 0x00, 0x00, 0x84, 0x62 2017-11-28 13:13:39.476 Detail, Node002, ZW_SEND_DATA Request with callback ID 0x0d received (expected 0x0d) 2017-11-28 13:13:39.481 Info, Node002, Request RTT 1320 Average Request RTT 828 2017-11-28 13:13:39.481 Detail, Expected callbackId was received 2017-11-28 13:13:48.161 Error, Node002, ERROR: Dropping command, expected response not received after 1 attempt(s) 2017-11-28 13:13:48.162 Detail, Node002, Removing current message 2017-11-28 13:13:48.162 Detail, Node002, Notification: Notification - TimeOut 2017-11-28 13:13:48.163 Detail, 2017-11-28 13:13:48.164 Info, Node002, Sending (Query) message (Callback ID=0x0e, Expected Reply=0x04) - VersionCmd_Get (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x86, 0x11, 0x25, 0x0e, 0x59 2017-11-28 13:13:48.173 Detail, Node002, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8 2017-11-28 13:13:48.176 Detail, Node002, ZW_SEND_DATA delivered to Z-Wave stack 2017-11-28 13:13:49.465 Detail, Node002, Received: 0x01, 0x07, 0x00, 0x13, 0x0e, 0x00, 0x00, 0x81, 0x64 2017-11-28 13:13:49.465 Detail, Node002, ZW_SEND_DATA Request with callback ID 0x0e received (expected 0x0e) 2017-11-28 13:13:49.467 Info, Node002, Request RTT 1302 Average Request RTT 1065 2017-11-28 13:13:49.467 Detail, Expected callbackId was received 2017-11-28 13:13:49.476 Detail, Node002, Received: 0x01, 0x0d, 0x00, 0x04, 0x00, 0x02, 0x07, 0x86, 0x12, 0x03, 0x03, 0x1c, 0x02, 0x06, 0x7f 2017-11-28 13:13:49.486 Detail, 2017-11-28 13:13:49.487 Info, Node002, Response RTT 1322 Average Response RTT 684 2017-11-28 13:13:49.487 Info, Node002, Received Version report from node 2: Library=3, Protocol=3.28, Application=2.06 2017-11-28 13:13:49.488 Detail, Node002, Initial read of value 2017-11-28 13:13:49.488 Detail, Node002, Initial read of value 2017-11-28 13:13:49.488 Detail, Node002, Initial read of value 2017-11-28 13:13:49.489 Detail, Node002, Expected reply and command class was received 2017-11-28 13:13:49.489 Detail, Node002, Message transaction complete 2017-11-28 13:13:49.490 Detail, 2017-11-28 13:13:49.490 Detail, Node002, Removing current message 2017-11-28 13:13:49.494 Detail, Node002, Notification: ValueChanged 2017-11-28 13:13:49.494 Detail, Node002, Notification: ValueChanged 2017-11-28 13:13:49.495 Detail, Node002, Notification: ValueChanged 2017-11-28 13:13:49.495 Detail, Node002, Query Stage Complete (Static) 2017-11-28 13:13:49.496 Detail, Node002, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Associations live=1 2017-11-28 13:13:49.496 Detail, Node002, QueryStage_Associations 2017-11-28 13:13:49.507 Detail, Node002, QueryStage_Neighbors 2017-11-28 13:13:49.507 Detail, Requesting routing info (neighbor list) for Node 2 2017-11-28 13:13:49.508 Detail, Node002, Queuing (Command) Get Routing Info (Node=2): 0x01, 0x07, 0x00, 0x80, 0x02, 0x00, 0x00, 0x03, 0x79 2017-11-28 13:13:49.508 Detail, Node002, Queuing (Query) Query Stage Complete (Neighbors) 2017-11-28 13:13:49.509 Detail, 2017-11-28 13:13:49.509 Info, Node002, Sending (Command) message (Callback ID=0x00, Expected Reply=0x80) - Get Routing Info (Node=2): 0x01, 0x07, 0x00, 0x80, 0x02, 0x00, 0x00, 0x03, 0x79 2017-11-28 13:13:49.516 Detail, Node002, Received: 0x01, 0x20, 0x01, 0x80, 0x01, 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, 0x5f 2017-11-28 13:13:49.517 Detail, 2017-11-28 13:13:49.526 Info, Node002, Received reply to FUNC_ID_ZW_GET_ROUTING_INFO 2017-11-28 13:13:49.527 Info, Node002, Neighbors of this node are: 2017-11-28 13:13:49.527 Info, Node002, Node 1 2017-11-28 13:13:49.528 Detail, Expected reply was received 2017-11-28 13:13:49.530 Detail, Message transaction complete 2017-11-28 13:13:49.531 Detail, 2017-11-28 13:13:49.531 Detail, Node002, Removing current message 2017-11-28 13:13:49.532 Detail, Node002, Query Stage Complete (Neighbors) 2017-11-28 13:13:49.532 Detail, Node002, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Session live=1 2017-11-28 13:13:49.537 Detail, Node002, QueryStage_Session 2017-11-28 13:13:49.538 Detail, Node002, QueryStage_Dynamic 2017-11-28 13:13:49.541 Detail, Node002, Queuing (Send) DoorLockCmd_Get (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x62, 0x02, 0x25, 0x0f, 0xaf 2017-11-28 13:13:49.542 Detail, Node002, Queuing (Query) Query Stage Complete (Dynamic) 2017-11-28 13:13:49.542 Detail, 2017-11-28 13:13:49.543 Info, Node002, Sending (Send) message (Callback ID=0x0f, Expected Reply=0x04) - DoorLockCmd_Get (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x62, 0x02, 0x25, 0x0f, 0xaf 2017-11-28 13:13:49.551 Detail, Node002, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8 2017-11-28 13:13:49.552 Detail, Node002, ZW_SEND_DATA delivered to Z-Wave stack 2017-11-28 13:13:49.569 Detail, Node002, Received: 0x01, 0x07, 0x00, 0x13, 0x0f, 0x00, 0x00, 0x02, 0xe6 2017-11-28 13:13:49.570 Detail, Node002, ZW_SEND_DATA Request with callback ID 0x0f received (expected 0x0f) 2017-11-28 13:13:49.571 Info, Node002, Request RTT 26 Average Request RTT 545 2017-11-28 13:13:49.571 Detail, Expected callbackId was received 2017-11-28 13:13:59.545 Error, Node002, ERROR: Dropping command, expected response not received after 1 attempt(s) 2017-11-28 13:13:59.545 Detail, Node002, Removing current message 2017-11-28 13:13:59.546 Detail, Node002, Notification: Notification - TimeOut 2017-11-28 13:13:59.546 Detail, Node002, Query Stage Complete (Dynamic) 2017-11-28 13:13:59.547 Detail, Node002, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Configuration live=1 2017-11-28 13:13:59.547 Detail, Node002, QueryStage_Configuration 2017-11-28 13:13:59.547 Detail, Node002, QueryStage_Complete 2017-11-28 13:13:59.547 Warning, CheckCompletedNodeQueries m_allNodesQueried=0 m_awakeNodesQueried=1 2017-11-28 13:13:59.548 Warning, CheckCompletedNodeQueries all=1, deadFound=0 sleepingOnly=1 2017-11-28 13:13:59.548 Info, Node query processing complete. 2017-11-28 13:13:59.548 Detail, Node002, Notification: NodeQueriesComplete 2017-11-28 13:13:59.550 Detail, contrlr, Notification: AllNodesQueried SOF: 28 ACK Waiting: 0 Read Aborts: 0 Bad Checksums: 0 Reads: 28 Writes: 20 CAN: 0 NAK: 0 ACK: 20 Out of Frame: 0 Dropped: 3 Retries: 0 2017-11-28 13:16:27.995 Info, mgr, Driver for controller /dev/ttyACM0 pending removal 2017-11-28 13:16:27.996 Detail, Notification: DriverRemoved 2017-11-28 13:16:27.999 Always, *** 2017-11-28 13:16:28.001 Always, * Cumulative Network Statistics *** 2017-11-28 13:16:28.002 Always, * General 2017-11-28 13:16:28.003 Always, Driver run time: . . . 0 days, 0 hours, 3 minutes 2017-11-28 13:16:28.004 Always, Frames processed: . . . . . . . . . . . . . . . . . . . . 28 2017-11-28 13:16:28.006 Always, Total messages successfully received: . . . . . . . . . . 28 2017-11-28 13:16:28.007 Always, Total Messages successfully sent: . . . . . . . . . . . . 20 2017-11-28 13:16:28.017 Always, ACKs received from controller: . . . . . . . . . . . . . 20 2017-11-28 13:16:28.018 Always, * Errors 2017-11-28 13:16:28.018 Always, Unsolicited messages received while waiting for ACK: . . 0 2017-11-28 13:16:28.019 Always, Reads aborted due to timeouts: . . . . . . . . . . . . . 0 2017-11-28 13:16:28.019 Always, Bad checksum errors: . . . . . . . . . . . . . . . . . . 0 2017-11-28 13:16:28.020 Always, CANs received from controller: . . . . . . . . . . . . . 0 2017-11-28 13:16:28.021 Always, NAKs received from controller: . . . . . . . . . . . . . 0 2017-11-28 13:16:28.021 Always, Out of frame data flow errors: . . . . . . . . . . . . . 0 2017-11-28 13:16:28.022 Always, Messages retransmitted: . . . . . . . . . . . . . . . . . 0 2017-11-28 13:16:28.022 Always, Messages dropped and not delivered: . . . . . . . . . . . 3 2017-11-28 13:16:28.023 Always, ***** 2017-11-28 13:16:30.059 Info, mgr, Driver for controller /dev/ttyACM0 removed

I am unclear as to the meaning of "project directory" so I entered the following command: cd ~/.node-red

The prompt now looks like: pi@taboo:~/.node-red $

The contents of the directory is as follows:

drwxr-xr-x 6 pi pi 4096 Nov 25 17:56 . drwxr-xr-x 32 pi pi 4096 Nov 28 12:45 .. -rw-r--r-- 1 pi pi 18006 May 15 2017 .config.json -rw-r--r-- 1 pi pi 176 Mar 25 2017 flows_taboo_cred.json -rw-r--r-- 1 pi pi 68 Mar 23 2017 .flows_taboo_cred.json.backup -rw-r--r-- 1 pi pi 25823 Jul 31 14:15 flows_taboo.json -rw-r--r-- 1 pi pi 25778 Jul 31 14:00 .flows_taboo.json.backup drwxr-xr-x 3 pi pi 4096 Mar 22 2017 lib drwxr-xr-x 168 pi pi 4096 Nov 25 22:08 node_modules drwxr-xr-x 7 pi pi 4096 Nov 25 17:30 node-openzwave-shared drwxr-xr-x 10 pi pi 4096 Nov 25 18:19 openzwave-1.4.1 -rw-r--r-- 1 pi pi 969026 Jan 11 2016 openzwave-1.4.1.tar.gz -rw-r--r-- 1 pi pi 48692 Nov 25 15:53 package-lock.json -rw-r--r-- 1 pi pi 9044 Mar 22 2017 settings.js

Upon entering the command: npm install openzwave-shared

The following output is generated:

npm WARN checkPermissions Missing write access to /home/pi/.node-red/node_modules/openzwave-shared npm WARN enoent ENOENT: no such file or directory, open '/home/pi/.node-red/package.json' npm WARN .node-red No description npm WARN .node-red No repository field. npm WARN .node-red No README data npm WARN .node-red No license field.

npm ERR! path /home/pi/.node-red/node_modules/openzwave-shared npm ERR! code ENOENT npm ERR! errno -2 npm ERR! syscall access npm ERR! enoent ENOENT: no such file or directory, access '/home/pi/.node-red/node_modules/openzwave-shared' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2017-11-28T19_53_37_320Z-debug.log

Here are the contents of 2017-11-28T19_53_37_320Z-debug.log: 2017-11-28T19_53_37_320Z-debug.log

Any help or direction would be greatly appreciated as I am about 3 weeks on and off of trying to figure out on my own. Kind Regards -bill

ekarak commented 6 years ago

npm WARN checkPermissions Missing write access to /home/pi/.node-red/node_modules/openzwave-shared The message is pretty clear: the directory permissions are wrong. Use sudo chown -R pi /home/pi/.node-red/ to reassign ownership to the pi user and you should be OK.

BTW, You're trying to install openzwave-shared directly as a node-red dependency. You actually need to do npm install node-red-contrib-openzwave within .node-red instead. This is the node-red binding module that adds the OpenZwave-shared nodes within Node-red.

You can use openZWave through openzwave-shared from within ANY javascript program, if you want to play with node-red (which I strongly suggest for a newcomer!), then you must use the node-red-contrib-openzwave module.

galley9 commented 6 years ago

Hello Elias,

Thank you very much for the help.

I followed these steps: 1- sudo chown -R pi /home/pi/.node-red/ 2 - cd /.node red 3 - npm install node-red-contrib-openzwave

This is the output:

pi@taboo:~/.node-red $ npm install node-red-contrib-openzwave

openzwave-shared@1.4.0 preinstall /home/pi/.node-red/node_modules/.staging/openzwave-shared-32881044 node lib/install-ozw.js

openzwave-shared@1.4.0 install /home/pi/.node-red/node_modules/openzwave-shared node-gyp rebuild

make: Entering directory '/home/pi/.node-red/node_modules/openzwave-shared/build' CXX(target) Release/obj.target/openzwave_shared/src/callbacks.o In file included from ../src/callbacks.cc:18:0: ../src/openzwave.hpp:29:21: fatal error: Manager.h: No such file or directory

include "Manager.h"

                 ^

compilation terminated. openzwave_shared.target.mk:115: recipe for target 'Release/obj.target/openzwave_shared/src/callbacks.o' failed make: *** [Release/obj.target/openzwave_shared/src/callbacks.o] Error 1 make: Leaving directory '/home/pi/.node-red/node_modules/openzwave-shared/build' gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:285:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:194:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) gyp ERR! System Linux 4.4.50+ gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/pi/.node-red/node_modules/openzwave-shared gyp ERR! node -v v7.7.4 gyp ERR! node-gyp -v v3.6.0 gyp ERR! not ok npm WARN node-red-project@0.0.1 No repository field. npm WARN node-red-project@0.0.1 No license field. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! openzwave-shared@1.4.0 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the openzwave-shared@1.4.0 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2017-12-08T22_35_19_738Z-debug.log pi@taboo:~/.node-red $

For some reason, it cannot find Manager.h. I don't know if this is a temporary filed created in the "Make" process but I cannot find it in that area either.

I have tried to use the "Manage palette" option in the node-red ui. When I install, I get this output from the console window I started node-red with.

8 Dec 18:51:18 - [info] Installing module: node-red-contrib-openzwave, version: 1.2.1 8 Dec 18:52:50 - [warn] Installation of module node-red-contrib-openzwave failed: 8 Dec 18:52:50 - [warn] ------------------------------------------ 8 Dec 18:52:50 - [warn] Error: Command failed: npm install --save --save-prefix="~" --production node-red-contrib-openzwave@1.2.1 In file included from ../src/callbacks.cc:18:0: ../src/openzwave.hpp:29:21: fatal error: Manager.h: No such file or directory

include "Manager.h"

^ compilation terminated. make: *** [Release/obj.target/openzwave_shared/src/callbacks.o] Error 1 gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:285:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:194:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) gyp ERR! System Linux 4.4.50+ gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/pi/.node-red/node_modules/openzwave-shared gyp ERR! node -v v7.7.4 gyp ERR! node-gyp -v v3.6.0 gyp ERR! not ok npm WARN node-red-project@0.0.1 No repository field. npm WARN node-red-project@0.0.1 No license field. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! openzwave-shared@1.4.0 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the openzwave-shared@1.4.0 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2017-12-09T00_52_50_440Z-debug.log 8 Dec 18:52:50 - [warn] ------------------------------------------

Any ideas or alternative methods getting the node-red nodes set up, please let me know.

I appreciate the help. -bill

ekarak commented 6 years ago
#include "Manager.h"

This means you're missing OpenZWave development files from your system On a recent Rasbpian you can install it with:

sudo apt-get -y install libopenzwave1.5-dev