Problem reconnecting PIR motion sensor

I used the All-in-One installer and mistakenly followed the manufacturer’s device instructions to first connect a Ecolink PIR sensor with the Aeotec ZW090 stick. The sensor was connected and reported motion to HA.

Upon further reading of the HomeAssistant docs, I realized my Kwikset lock wasn’t working due to lack of a Networkkey in the config file and the need to add it with OZW. (Note: there are TWO config.xml files in the OpenZwave file structure and I added my 16 bit key to the wrong one!) I added the key to the config.xml files, performed a hard reset of the Zwave controller and the devices, and re-connected the lock using OZWCP secure node and the lock now can be controlled by HA.

The problem now is that the PIR motion sensor can’t associate with HA. I tried using both OZWCP non-secure and HA developer services add_node utilities without success. I tried removing the battery and pressing the pin on the back of the PIR sensor to initiate connection mode but it isn’t added.

Here is an old OZW logfile showing that the device was once recognized.

    <Node id="1" name="" location="" basic="2" generic="2" specific="1" type="Static PC Controller" listening="true" frequentListening="false" beaming="true" routing="false" max_baud_rate="40000" version="4" query_stage="Complete">
            <Manufacturer id="86" name="Aeotec">
                    <Product type="101" id="5a" name="ZW090 Z-Stick Gen5" />
            </Manufacturer>
            <CommandClasses>
                    <CommandClass id="32" name="COMMAND_CLASS_BASIC" version="1" after_mark="true">
                            <Instance index="1" />
                            <Value type="byte" genre="basic" instance="1" index="0" label="Basic" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
                    </CommandClass>
            </CommandClasses>
    </Node>
    <Node id="3" name="" location="" basic="4" generic="32" specific="1" type="Routing Binary Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="CacheLoad">
            <Manufacturer id="14a" name="Ecolink">
                    <Product type="1" id="1" name="PIR Motion Sensor" />
            </Manufacturer>
            <CommandClasses>
                    <CommandClass id="32" name="COMMAND_CLASS_BASIC" version="1" request_flags="4" after_mark="true" innif="true" mapping="48" setasreport="true">
                            <Instance index="1" />
                    </CommandClass>
                    <CommandClass id="48" name="COMMAND_CLASS_SENSOR_BINARY" version="1" request_flags="4" innif="true">
                            <Instance index="1" />
                            <Value type="bool" genre="user" instance="1" index="0" label="Sensor" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="False" />
                            <SensorMap index="0" type="62" />
                            <SensorMap index="0" type="193" />
                    </CommandClass>
                    <CommandClass id="112" name="COMMAND_CLASS_CONFIGURATION" version="1" request_flags="4" innif="true">
                            <Instance index="1" />
                            <Value type="list" genre="config" instance="1" index="223" label="Fault restore" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="1" vindex="0" size="1">
                                    <Help>Enable/Disable Basic Sets of 0x00 on a fault restore to nodes in Group 2</Help>
                                    <Item label="Disable" value="0" />
                                    <Item label="Enable" value="255" />

Here is the OZWCP logfile showing the failures to connect the PIR sensor:

2017-02-12 11:31:46.907 Info, contrlr, FUNC_ID_ZW_ADD_NODE_TO_NETWORK:
2017-02-12 11:31:46.907 Info, contrlr, ADD_NODE_STATUS_LEARN_READY
2017-02-12 11:31:46.907 Detail, Node001, Expected callbackId was received
2017-02-12 11:31:46.907 Detail, Node001, Expected reply was received
2017-02-12 11:31:46.907 Detail, Node001, Message transaction complete
2017-02-12 11:31:46.907 Detail,
2017-02-12 11:31:46.907 Detail, contrlr, Removing current message
2017-02-12 11:31:46.908 Detail, Notification: ControllerCommand - Waiting
2017-02-12 11:31:46.908 Info, Notification: ControllerCommand home e68302e8 Event 4 Error 0
2017-02-12 11:36:49.803 Detail, Queuing (Controller) Add Device
2017-02-12 11:36:55.236 Detail, Queuing (Controller) Add Device
2017-02-12 11:36:56.126 Detail, Queuing (Controller) Add Device
2017-02-12 11:37:02.996 Detail, Queuing (Controller) Add Device
2017-02-12 11:37:03.955 Detail, Queuing (Controller) Add Device
2017-02-12 11:37:07.549 Detail, Queuing (Controller) Add Device
2017-02-12 11:37:08.397 Detail, Queuing (Controller) Add Device
2017-02-12 11:37:09.172 Detail, Queuing (Controller) Add Device
2017-02-12 11:37:09.871 Detail, Queuing (Controller) Add Device
2017-02-12 11:37:15.728 Detail, Queuing (Controller) Add Device
2017-02-12 11:37:18.791 Detail, Queuing (Controller) Add Device
2017-02-12 11:37:19.610 Detail, Queuing (Controller) Add Device
2017-02-12 11:37:20.225 Detail, Queuing (Controller) Add Device
2017-02-12 11:37:20.437 Detail, Queuing (Controller) Add Device
2017-02-12 11:37:20.614 Detail, Queuing (Controller) Add Device
2017-02-12 11:37:20.829 Detail, Queuing (Controller) Add Device
2017-02-12 11:37:22.834 Detail, Queuing (Controller) Add Device
2017-02-12 11:37:44.942 Detail, Queuing (Controller) Add Device
2017-02-12 11:39:11.237 Detail, Queuing (Controller) Add Device
2017-02-12 11:39:12.600 Detail, Queuing (Controller) Add Device
2017-02-12 11:39:13.517 Detail, Queuing (Controller) Add Device
2017-02-12 11:39:14.281 Detail, Queuing (Controller) Add Device
2017-02-12 11:39:15.769 Detail, Queuing (Controller) Add Device
2017-02-12 11:40:29.142 Info, Cancel Add Node
2017-02-12 11:40:29.142 Detail, contrlr, Queuing (Command) Add Node Stop: 0x01, 0x04, 0x00, 0x4a, 0x05, 0xb4
2017-02-12 11:40:29.142 Detail, Notification: ControllerCommand - Canceled
2017-02-12 11:40:29.142 Info, Notification: ControllerCommand home e68302e8 Event 2 Error 0
2017-02-12 11:40:29.142 Detail,
2017-02-12 11:40:29.142 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x4a) - Add Node Stop: 0x01, 0x04, 0x00, 0x4a, 0x05, 0xb4
2017-02-12 11:40:29.194 Detail, contrlr, Received: 0x01, 0x07, 0x00, 0x4a, 0x3c, 0x06, 0x02, 0x00, 0x8a
2017-02-12 11:40:29.194 Detail,
2017-02-12 11:40:29.194 Info, contrlr, FUNC_ID_ZW_ADD_NODE_TO_NETWORK:
2017-02-12 11:40:29.194 Info, contrlr, ADD_NODE_STATUS_DONE
2017-02-12 11:40:29.194 Detail, Node006, Expected reply was received
2017-02-12 11:40:29.195 Detail, Node006, Message transaction complete
2017-02-12 11:40:29.195 Detail,
2017-02-12 11:40:29.195 Detail, contrlr, Removing current message
2017-02-12 11:40:29.195 Detail, Notification: ControllerCommand - Completed
2017-02-12 11:40:29.195 Info, Notification: ControllerCommand home e68302e8 Event 7 Error 0
2017-02-12 11:40:29.195 Info, Add Device
2017-02-12 11:40:29.195 Detail, contrlr, Queuing (Command) ControllerCommand_AddDevice: 0x01, 0x05, 0x00, 0x4a, 0xc1, 0x3d, 0x4c
2017-02-12 11:40:29.195 Detail, Notification: ControllerCommand - Starting
2017-02-12 11:40:29.195 Info, Notification: ControllerCommand home e68302e8 Event 1 Error 0
2017-02-12 11:40:29.195 Detail,
2017-02-12 11:40:29.195 Info, contrlr, Sending (Command) message (Callback ID=0x3d, Expected Reply=0x4a) - ControllerCommand_AddDevice: 0x01, 0x05, 0x00, 0x4a, 0xc1, 0x3d, 0x4c
2017-02-12 11:40:29.198 Detail, contrlr, Received: 0x01, 0x07, 0x00, 0x4a, 0x3d, 0x01, 0x00, 0x00, 0x8e
2017-02-12 11:40:29.198 Detail,
2017-02-12 11:40:29.198 Info, contrlr, FUNC_ID_ZW_ADD_NODE_TO_NETWORK:
2017-02-12 11:40:29.198 Info, contrlr, ADD_NODE_STATUS_LEARN_READY
2017-02-12 11:40:29.198 Detail, Node001, Expected callbackId was received
2017-02-12 11:40:29.198 Detail, Node001, Expected reply was received
2017-02-12 11:40:29.199 Detail, Node001, Message transaction complete
2017-02-12 11:40:29.199 Detail,
2017-02-12 11:40:29.199 Detail, contrlr, Removing current message
2017-02-12 11:40:29.199 Detail, Notification: ControllerCommand - Waiting
2017-02-12 11:40:29.199 Info, Notification: ControllerCommand home e68302e8 Event 4 Error 0
2017-02-12 11:43:57.466 Detail, Queuing (Controller) Add Device

What am I doing wrong?