zwave-js-ui icon indicating copy to clipboard operation
zwave-js-ui copied to clipboard

[Bug]: Adding Zooz ZSE44 keeps failing (incomplete/multiple nodes added, all not working)

Open alexruffell opened this issue 3 years ago • 1 comments

Checklist

  • [X] I am not using Home Assistant. Or: a developer has told me to come here.
  • [X] I have checked the troubleshooting section and my problem is not described there.
  • [X] I have read the changelog and my problem is not mentioned there.

Deploy method

Docker

Zwavejs2Mqtt version

6.15.2

ZwaveJS version

9.6.2

Describe the bug

Sorry, it is always very unclear where the issue needs to be created. I use Home Assistant OS with ZwaveJS2MQTT installed as an add-on (so it is running in its own docker) but on their github there is no option for this integration... or should I be filing it under ZwaveJS?

I have 3 Zooz ZSE44 battery operated temperature/humidity sensors and am having an really hard time including. To eliminate battery charge related issues, the sensor is powered by a workbench power supply during inclusion / setup.

I provisioned the sensor but that actually seems to be part of the issue.

The sensor goes to sleep fast so to complete inclusion I have to press the zwave button 3x to initiate inclusion again. This may be leading to multiple non functional nodes being added but I believe Z2M should prevent this. Part of the issue may be that the sensor is provisioned and I am starting the inclusion manually.

In this specific case, I reset the sensor while looking at the logs and noticed that "smart start" was doing its thing. So I let it work but then saw it stalled so I pressed the button on the sensor 4 times (not 3!) which awakes the sensor. I believe I did so a few times, and I may also have triggered an interview as I saw something say it skipped it because the sensor was asleep. Regardless the setup is incomplete. This is just one of lots of failed attempts, but since I captured logs I wanted to share them.

This is what the device looks like: image

No multiple nodes as I did not triple press the button this time as I saw it was doing something right after I reset the sensor.

While I have always struggled with these sensors, including them with provisioning has actually made it quite a bit harder. In a few cases I managed to add them, but they added without S2 security, or even asked me for the 5 digits even though they were provisioned. The provisioning also caused confusion as I was trying to include them manually, but apparently there was another process in the background doing the same and likely the two were interfering with each other. I realize there is some user error here, but I am guessing I am not the only one... is there a way to streamline the process guiding the user on what to do / not to do?

To Reproduce

Reset ZSE44 Awake sensor pressing button 4x

Expected behavior

Sensor is added properly

Additional context

{
  "id": 114,
  "name": "",
  "loc": "",
  "values": [
    {
      "id": "114-132-0-wakeUpInterval",
      "nodeId": 114,
      "commandClass": 132,
      "commandClassName": "Wake Up",
      "endpoint": 0,
      "property": "wakeUpInterval",
      "propertyName": "wakeUpInterval",
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Wake Up interval",
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 16777215,
      "list": false,
      "lastUpdate": 1660406981970
    },
    {
      "id": "114-132-0-controllerNodeId",
      "nodeId": 114,
      "commandClass": 132,
      "commandClassName": "Wake Up",
      "endpoint": 0,
      "property": "controllerNodeId",
      "propertyName": "controllerNodeId",
      "type": "any",
      "readable": true,
      "writeable": false,
      "label": "Node ID of the controller",
      "stateless": false,
      "commandClassVersion": 1,
      "list": false,
      "lastUpdate": 1660406981970
    }
  ],
  "groups": [],
  "neighbors": [],
  "ready": true,
  "available": true,
  "hassDevices": {},
  "failed": false,
  "inited": true,
  "eventsQueue": [
    {
      "time": "2022-08-13T16:06:35.674Z",
      "event": "wake up",
      "args": [
        4
      ]
    },
    {
      "time": "2022-08-13T16:06:35.674Z",
      "event": "interview stage completed",
      "args": [
        "ProtocolInfo"
      ]
    },
    {
      "time": "2022-08-13T16:06:35.724Z",
      "event": "interview stage completed",
      "args": [
        "NodeInfo"
      ]
    },
    {
      "time": "2022-08-13T16:06:36.353Z",
      "event": "value added",
      "args": [
        {
          "commandClassName": "Multilevel Sensor",
          "commandClass": 49,
          "endpoint": 0,
          "property": "Air temperature",
          "newValue": 81.6,
          "propertyName": "Air temperature"
        }
      ]
    },
    {
      "time": "2022-08-13T16:06:36.888Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Multilevel Sensor",
          "commandClass": 49,
          "endpoint": 0,
          "property": "Air temperature",
          "newValue": 82.4,
          "prevValue": 81.6,
          "propertyName": "Air temperature"
        }
      ]
    },
    {
      "time": "2022-08-13T16:06:37.418Z",
      "event": "value added",
      "args": [
        {
          "commandClassName": "Multilevel Sensor",
          "commandClass": 49,
          "endpoint": 0,
          "property": "Humidity",
          "newValue": 42,
          "propertyName": "Humidity"
        }
      ]
    },
    {
      "time": "2022-08-13T16:06:37.945Z",
      "event": "value added",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "endpoint": 0,
          "property": "level",
          "newValue": 100,
          "propertyName": "level"
        }
      ]
    },
    {
      "time": "2022-08-13T16:06:37.946Z",
      "event": "value added",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "endpoint": 0,
          "property": "isLow",
          "newValue": false,
          "propertyName": "isLow"
        }
      ]
    },
    {
      "time": "2022-08-13T16:06:38.367Z",
      "event": "value added",
      "args": [
        {
          "commandClassName": "Version",
          "commandClass": 134,
          "endpoint": 0,
          "property": "libraryType",
          "newValue": 3,
          "propertyName": "libraryType"
        }
      ]
    },
    {
      "time": "2022-08-13T16:06:38.368Z",
      "event": "value added",
      "args": [
        {
          "commandClassName": "Version",
          "commandClass": 134,
          "endpoint": 0,
          "property": "protocolVersion",
          "newValue": "7.13",
          "propertyName": "protocolVersion"
        }
      ]
    },
    {
      "time": "2022-08-13T16:06:38.368Z",
      "event": "value added",
      "args": [
        {
          "commandClassName": "Version",
          "commandClass": 134,
          "endpoint": 0,
          "property": "firmwareVersions",
          "newValue": [
            "1.20"
          ],
          "propertyName": "firmwareVersions"
        }
      ]
    },
    {
      "time": "2022-08-13T16:06:38.368Z",
      "event": "value added",
      "args": [
        {
          "commandClassName": "Version",
          "commandClass": 134,
          "endpoint": 0,
          "property": "hardwareVersion",
          "newValue": 1,
          "propertyName": "hardwareVersion"
        }
      ]
    },
    {
      "time": "2022-08-13T16:06:38.983Z",
      "event": "value added",
      "args": [
        {
          "commandClassName": "Version",
          "commandClass": 134,
          "endpoint": 0,
          "property": "sdkVersion",
          "newValue": "7.13.10",
          "propertyName": "sdkVersion"
        }
      ]
    },
    {
      "time": "2022-08-13T16:06:38.983Z",
      "event": "value added",
      "args": [
        {
          "commandClassName": "Version",
          "commandClass": 134,
          "endpoint": 0,
          "property": "applicationFrameworkAPIVersion",
          "newValue": "10.13.10",
          "propertyName": "applicationFrameworkAPIVersion"
        }
      ]
    },
    {
      "time": "2022-08-13T16:06:38.984Z",
      "event": "value added",
      "args": [
        {
          "commandClassName": "Version",
          "commandClass": 134,
          "endpoint": 0,
          "property": "applicationFrameworkBuildNumber",
          "newValue": 423,
          "propertyName": "applicationFrameworkBuildNumber"
        }
      ]
    },
    {
      "time": "2022-08-13T16:06:38.984Z",
      "event": "value added",
      "args": [
        {
          "commandClassName": "Version",
          "commandClass": 134,
          "endpoint": 0,
          "property": "hostInterfaceVersion",
          "newValue": "unused",
          "propertyName": "hostInterfaceVersion"
        }
      ]
    },
    {
      "time": "2022-08-13T16:06:38.984Z",
      "event": "value added",
      "args": [
        {
          "commandClassName": "Version",
          "commandClass": 134,
          "endpoint": 0,
          "property": "hostInterfaceBuildNumber",
          "newValue": 0,
          "propertyName": "hostInterfaceBuildNumber"
        }
      ]
    },
    {
      "time": "2022-08-13T16:06:38.984Z",
      "event": "value added",
      "args": [
        {
          "commandClassName": "Version",
          "commandClass": 134,
          "endpoint": 0,
          "property": "zWaveProtocolVersion",
          "newValue": "7.13.10",
          "propertyName": "zWaveProtocolVersion"
        }
      ]
    },
    {
      "time": "2022-08-13T16:06:38.985Z",
      "event": "value added",
      "args": [
        {
          "commandClassName": "Version",
          "commandClass": 134,
          "endpoint": 0,
          "property": "zWaveProtocolBuildNumber",
          "newValue": 423,
          "propertyName": "zWaveProtocolBuildNumber"
        }
      ]
    },
    {
      "time": "2022-08-13T16:06:38.985Z",
      "event": "value added",
      "args": [
        {
          "commandClassName": "Version",
          "commandClass": 134,
          "endpoint": 0,
          "property": "applicationVersion",
          "newValue": "1.20.1",
          "propertyName": "applicationVersion"
        }
      ]
    },
    {
      "time": "2022-08-13T16:06:38.985Z",
      "event": "value added",
      "args": [
        {
          "commandClassName": "Version",
          "commandClass": 134,
          "endpoint": 0,
          "property": "applicationBuildNumber",
          "newValue": 43707,
          "propertyName": "applicationBuildNumber"
        }
      ]
    },
    {
      "time": "2022-08-13T16:07:18.577Z",
      "event": "sleep",
      "args": [
        2
      ]
    },
    {
      "time": "2022-08-13T16:07:50.220Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Multilevel Sensor",
          "commandClass": 49,
          "endpoint": 0,
          "property": "Air temperature",
          "newValue": 82.1,
          "prevValue": 82.4,
          "propertyName": "Air temperature"
        }
      ]
    },
    {
      "time": "2022-08-13T16:07:50.753Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Multilevel Sensor",
          "commandClass": 49,
          "endpoint": 0,
          "property": "Humidity",
          "newValue": 42,
          "prevValue": 42,
          "propertyName": "Humidity"
        }
      ]
    },
    {
      "time": "2022-08-13T16:08:48.933Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Multilevel Sensor",
          "commandClass": 49,
          "endpoint": 0,
          "property": "Humidity",
          "newValue": 60,
          "prevValue": 42,
          "propertyName": "Humidity"
        }
      ]
    },
    {
      "time": "2022-08-13T16:08:50.787Z",
      "event": "wake up",
      "args": [
        1
      ]
    },
    {
      "time": "2022-08-13T16:08:56.610Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Multilevel Sensor",
          "commandClass": 49,
          "endpoint": 0,
          "property": "Humidity",
          "newValue": 49,
          "prevValue": 60,
          "propertyName": "Humidity"
        }
      ]
    },
    {
      "time": "2022-08-13T16:08:59.256Z",
      "event": "interview stage completed",
      "args": [
        "CommandClasses"
      ]
    },
    {
      "time": "2022-08-13T16:08:59.256Z",
      "event": "interview stage completed",
      "args": [
        "OverwriteConfig"
      ]
    },
    {
      "time": "2022-08-13T16:08:59.256Z",
      "event": "interview stage completed",
      "args": [
        "Complete"
      ]
    },
    {
      "time": "2022-08-13T16:08:59.264Z",
      "event": "ready",
      "args": []
    },
    {
      "time": "2022-08-13T16:08:59.266Z",
      "event": "interview completed",
      "args": []
    },
    {
      "time": "2022-08-13T16:09:00.296Z",
      "event": "sleep",
      "args": [
        2
      ]
    },
    {
      "time": "2022-08-13T16:09:04.369Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Multilevel Sensor",
          "commandClass": 49,
          "endpoint": 0,
          "property": "Air temperature",
          "newValue": 82.3,
          "prevValue": 82.1,
          "propertyName": "Air temperature"
        }
      ]
    },
    {
      "time": "2022-08-13T16:09:04.904Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Multilevel Sensor",
          "commandClass": 49,
          "endpoint": 0,
          "property": "Humidity",
          "newValue": 44,
          "prevValue": 49,
          "propertyName": "Humidity"
        }
      ]
    },
    {
      "time": "2022-08-13T16:09:27.992Z",
      "event": "wake up",
      "args": [
        1
      ]
    },
    {
      "time": "2022-08-13T16:09:29.023Z",
      "event": "sleep",
      "args": [
        2
      ]
    },
    {
      "time": "2022-08-13T16:09:31.946Z",
      "event": "wake up",
      "args": [
        1
      ]
    },
    {
      "time": "2022-08-13T16:09:31.949Z",
      "event": "interview started",
      "args": []
    },
    {
      "time": "2022-08-13T16:09:31.961Z",
      "event": "sleep",
      "args": [
        2
      ]
    },
    {
      "time": "2022-08-13T16:09:31.961Z",
      "event": "interview stage completed",
      "args": [
        "ProtocolInfo"
      ]
    },
    {
      "time": "2022-08-13T16:09:34.811Z",
      "event": "interview started",
      "args": []
    },
    {
      "time": "2022-08-13T16:09:34.821Z",
      "event": "interview stage completed",
      "args": [
        "ProtocolInfo"
      ]
    },
    {
      "time": "2022-08-13T16:09:40.764Z",
      "event": "wake up",
      "args": [
        1
      ]
    },
    {
      "time": "2022-08-13T16:09:40.797Z",
      "event": "interview stage completed",
      "args": [
        "NodeInfo"
      ]
    },
    {
      "time": "2022-08-13T16:09:41.968Z",
      "event": "interview stage completed",
      "args": [
        "CommandClasses"
      ]
    },
    {
      "time": "2022-08-13T16:09:41.969Z",
      "event": "interview stage completed",
      "args": [
        "OverwriteConfig"
      ]
    },
    {
      "time": "2022-08-13T16:09:41.969Z",
      "event": "interview stage completed",
      "args": [
        "Complete"
      ]
    },
    {
      "time": "2022-08-13T16:09:41.971Z",
      "event": "ready",
      "args": []
    },
    {
      "time": "2022-08-13T16:09:41.971Z",
      "event": "interview completed",
      "args": []
    },
    {
      "time": "2022-08-13T16:09:42.999Z",
      "event": "sleep",
      "args": [
        2
      ]
    }
  ],
  "hexId": "0xXXXX-0xXXXX-0xXXXX",
  "dbLink": "https://devices.zwave-js.io/?jumpTo=0xXXXX:0xXXXX:0xXXXX:0.0",
  "productLabel": "Unknown product 0xXXXX",
  "productDescription": "0xXXXX",
  "manufacturer": "Unknown manufacturer 0xXXXX",
  "protocolVersion": 3,
  "zwavePlusVersion": 2,
  "zwavePlusNodeType": 0,
  "zwavePlusRoleType": 6,
  "nodeType": 1,
  "endpointsCount": 0,
  "endpointIndizes": [],
  "isSecure": false,
  "security": "None",
  "supportsSecurity": false,
  "supportsBeaming": true,
  "isControllerNode": false,
  "isListening": false,
  "isFrequentListening": false,
  "isRouting": true,
  "keepAwake": false,
  "maxDataRate": 100000,
  "deviceClass": {
    "basic": 4,
    "generic": 7,
    "specific": 1
  },
  "deviceId": "undefined-undefined-undefined",
  "status": "Asleep",
  "interviewStage": "Complete",
  "statistics": {
    "commandsTX": 81,
    "commandsRX": 67,
    "commandsDroppedRX": 16,
    "commandsDroppedTX": 1,
    "timeoutResponse": 24,
    "rtt": 24.5,
    "rssi": -92,
    "lwr": {
      "protocolDataRate": 2,
      "repeaters": [],
      "rssi": -93,
      "repeaterRSSI": []
    }
  },
  "lastActive": 1660407531433,
  "minBatteryLevel": 100,
  "batteryLevels": [
    100
  ],
  "_name": "NodeID_114",
  "lastReceive": 1660407531433,
  "errorReceive": true,
  "errorTransmit": false
}

alexruffell avatar Aug 13 '22 16:08 alexruffell