ZWaveJS: Sensor Zipato ZP3102 - No todos los parámetros se muestran en Gladys

Hola,
He integrado este sensor, reconocido en Z-Wave JS
https://devices.zwave-js.io/?jumpTo=0x0131:0x2002:0x0205:0.0

En la interfaz, las diferentes funcionalidades están bien:

Pero la presencia y el nivel de batería no se muestran en Gladys.

Estas características en Z-Wave (ZWave) aún no están desarrolladas.

@gaetanb76 ¿Podrías mostrarnos la pantalla « events » y mostrar un « Value updated » para ver cómo son los mensajes que envía ZwaveJS UI?

Ejemplo:

Hola @pierre-gilles,
Aquí están los mensajes que he podido encontrar:





Enlace al documento en pdf:
https://www.zipato.com/wp-content/uploads/2015/09/vs-zp3102-Zipato-Multi-Sensor-Dual-User-Manual-v1.4.pdf

La alarma indica cuando se ha quitado la tapa trasera.

¡Gracias! Voy a ver si se integra fácilmente :slight_smile:

@Sescandell si puedes echarme una mano con este al mismo tiempo me ayudarías :smiley: Si no, puedo hacerlo, pero estoy lejos de ser un experto en Z-Wave

Sí, puedo echarle un vistazo :+1:

Hola @gaetanb76

Si entiendo bien, ¿es la gestión de estas 4 propiedades lo que te interesa?

¿Podrías copiar y pegar el contenido de la sección « Debug Info » del dispositivo que se encuentra, por ejemplo, aquí en zWaveJsUI:

Esto debería permitirme hacer los desarrollos necesarios con mayor certeza que basándome únicamente en la documentación de zWave y tus ejemplos de Value Updated (muy útiles, por cierto)

Gracias,

Hola,
he aquí:

{
  "id": 5,
  "name": "Presencia Garage",
  "loc": "Garage",
  "values": [
    {
      "id": "5-32-0-currentValue",
      "nodeId": 5,
      "toUpdate": false,
      "commandClass": 32,
      "commandClassName": "Basic",
      "endpoint": 0,
      "property": "currentValue",
      "propertyName": "currentValue",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Current value",
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 99,
      "list": false,
      "value": 0,
      "isCurrentValue": true,
      "lastUpdate": 1734892611596,
      "newValue": 0
    },
    {
      "id": "5-49-0-Air temperature",
      "nodeId": 5,
      "toUpdate": false,
      "commandClass": 49,
      "commandClassName": "Multilevel Sensor",
      "endpoint": 0,
      "property": "Air temperature",
      "propertyName": "Air temperature",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Air temperature",
      "ccSpecific": {
        "sensorType": 1,
        "scale": 0
      },
      "stateless": false,
      "commandClassVersion": 5,
      "unit": "°C",
      "list": false,
      "value": 15,
      "lastUpdate": 1737355199527,
      "newValue": 15
    },
    {
      "id": "5-112-0-1",
      "nodeId": 5,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 1,
      "propertyName": "On Time in Minutes",
      "type": "number",
      "readable": true,
      "writeable": true,
      "description": "Delay before sending OFF",
      "label": "On Time in Minutes",
      "default": 3,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 1,
      "max": 255,
      "list": false,
      "value": 3,
      "lastUpdate": 1731654496298,
      "newValue": 3
    },
    {
      "id": "5-112-0-2",
      "nodeId": 5,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 2,
      "propertyName": "Temperature Unit",
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Temperature Unit",
      "default": 0,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 1,
      "list": true,
      "allowManualEntry": false,
      "states": [
        {
          "text": "Celsius",
          "value": 0
        },
        {
          "text": "Fahrenheit",
          "value": 1
        }
      ],
      "value": 0,
      "lastUpdate": 1731654496486,
      "newValue": 0
    },
    {
      "id": "5-112-0-3",
      "nodeId": 5,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 3,
      "propertyName": "Infrared Sensor Sensitivity Adjustment",
      "type": "number",
      "readable": true,
      "writeable": true,
      "description": "1 is most sensitive, 7 is least",
      "label": "Infrared Sensor Sensitivity Adjustment",
      "default": 4,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 1,
      "max": 7,
      "list": false,
      "value": 4,
      "lastUpdate": 1731654496675,
      "newValue": 4
    },
    {
      "id": "5-113-0-Home Security-Cover status",
      "nodeId": 5,
      "toUpdate": false,
      "commandClass": 113,
      "commandClassName": "Notification",
      "endpoint": 0,
      "property": "Home Security",
      "propertyName": "Home Security",
      "propertyKey": "Cover status",
      "propertyKeyName": "Cover status",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Cover status",
      "ccSpecific": {
        "notificationType": 7
      },
      "stateless": false,
      "commandClassVersion": 4,
      "min": 0,
      "max": 255,
      "list": true,
      "states": [
        {
          "text": "idle",
          "value": 0
        },
        {
          "text": "Tampering, product cover removed",
          "value": 3
        }
      ],
      "value": 0,
      "lastUpdate": 1734892811130,
      "newValue": 0
    },
    {
      "id": "5-113-0-Home Security-Motion sensor status",
      "nodeId": 5,
      "toUpdate": false,
      "commandClass": 113,
      "commandClassName": "Notification",
      "endpoint": 0,
      "property": "Home Security",
      "propertyName": "Home Security",
      "propertyKey": "Motion sensor status",
      "propertyKeyName": "Motion sensor status",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Motion sensor status",
      "ccSpecific": {
        "notificationType": 7
      },
      "stateless": false,
      "commandClassVersion": 4,
      "min": 0,
      "max": 255,
      "list": true,
      "states": [
        {
          "text": "idle",
          "value": 0
        },
        {
          "text": "Motion detection",
          "value": 8
        }
      ],
      "value": 0,
      "lastUpdate": 1734892611653,
      "newValue": 0
    },
    {
      "id": "5-113-0-alarmType",
      "nodeId": 5,
      "toUpdate": false,
      "commandClass": 113,
      "commandClassName": "Notification",
      "endpoint": 0,
      "property": "alarmType",
      "propertyName": "alarmType",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Alarm Type",
      "stateless": false,
      "commandClassVersion": 4,
      "min": 0,
      "max": 255,
      "list": false,
      "value": 7,
      "lastUpdate": 1734892811121,
      "newValue": 7
    },
    {
      "id": "5-113-0-alarmLevel",
      "nodeId": 5,
      "toUpdate": false,
      "commandClass": 113,
      "commandClassName": "Notification",
      "endpoint": 0,
      "property": "alarmLevel",
      "propertyName": "alarmLevel",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Alarm Level",
      "stateless": false,
      "commandClassVersion": 4,
      "min": 0,
      "max": 255,
      "list": false,
      "value": 0,
      "lastUpdate": 1734892811125,
      "newValue": 0
    },
    {
      "id": "5-114-0-productId",
      "nodeId": 5,
      "toUpdate": false,
      "commandClass": 114,
      "commandClassName": "Manufacturer Specific",
      "endpoint": 0,
      "property": "productId",
      "propertyName": "productId",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Product ID",
      "stateless": false,
      "commandClassVersion": 2,
      "min": 0,
      "max": 65535,
      "list": false,
      "value": 517,
      "lastUpdate": 1731654488483,
      "newValue": 517
    },
    {
      "id": "5-114-0-productType",
      "nodeId": 5,
      "toUpdate": false,
      "commandClass": 114,
      "commandClassName": "Manufacturer Specific",
      "endpoint": 0,
      "property": "productType",
      "propertyName": "productType",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Product type",
      "stateless": false,
      "commandClassVersion": 2,
      "min": 0,
      "max": 65535,
      "list": false,
      "value": 8194,
      "lastUpdate": 1731654488490,
      "newValue": 8194
    },
    {
      "id": "5-114-0-manufacturerId",
      "nodeId": 5,
      "toUpdate": false,
      "commandClass": 114,
      "commandClassName": "Manufacturer Specific",
      "endpoint": 0,
      "property": "manufacturerId",
      "propertyName": "manufacturerId",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Manufacturer ID",
      "stateless": false,
      "commandClassVersion": 2,
      "min": 0,
      "max": 65535,
      "list": false,
      "value": 305,
      "lastUpdate": 1731654488496,
      "newValue": 305
    },
    {
      "id": "5-128-0-isLow",
      "nodeId": 5,
      "toUpdate": false,
      "commandClass": 128,
      "commandClassName": "Battery",
      "endpoint": 0,
      "property": "isLow",
      "propertyName": "isLow",
      "type": "boolean",
      "readable": true,
      "writeable": false,
      "label": "Low battery level",
      "stateless": false,
      "commandClassVersion": 1,
      "list": false,
      "value": false,
      "lastUpdate": 1734686180266,
      "newValue": false
    },
    {
      "id": "5-128-0-level",
      "nodeId": 5,
      "toUpdate": false,
      "commandClass": 128,
      "commandClassName": "Battery",
      "endpoint": 0,
      "property": "level",
      "propertyName": "level",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Battery level",
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 100,
      "unit": "%",
      "list": false,
      "value": 60,
      "lastUpdate": 1734686180268,
      "newValue": 60
    },
    {
      "id": "5-132-0-controllerNodeId",
      "nodeId": 5,
      "toUpdate": false,
      "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": 2,
      "list": false,
      "value": 1,
      "lastUpdate": 1734889844347,
      "newValue": 1
    },
    {
      "id": "5-132-0-wakeUpInterval",
      "nodeId": 5,
      "toUpdate": false,
      "commandClass": 132,
      "commandClassName": "Wake Up",
      "endpoint": 0,
      "property": "wakeUpInterval",
      "propertyName": "wakeUpInterval",
      "type": "number",
      "readable": false,
      "writeable": true,
      "label": "wakeUpInterval (property)",
      "default": 3600,
      "stateless": false,
      "commandClassVersion": 2,
      "min": 600,
      "max": 604800,
      "step": 600,
      "list": false,
      "value": 3600,
      "lastUpdate": 1734889844352,
      "newValue": 3600
    },
    {
      "id": "5-134-0-hardwareVersion",
      "nodeId": 5,
      "toUpdate": false,
      "commandClass": 134,
      "commandClassName": "Version",
      "endpoint": 0,
      "property": "hardwareVersion",
      "propertyName": "hardwareVersion",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Z-Wave chip hardware version",
      "stateless": false,
      "commandClassVersion": 2,
      "list": false,
      "value": 2,
      "lastUpdate": 1731654489042,
      "newValue": 2
    },
    {
      "id": "5-134-0-firmwareVersions",
      "nodeId": 5,
      "toUpdate": false,
      "commandClass": 134,
      "commandClassName": "Version",
      "endpoint": 0,
      "property": "firmwareVersions",
      "propertyName": "firmwareVersions",
      "type": "string[]",
      "readable": true,
      "writeable": false,
      "label": "Z-Wave chip firmware versions",
      "stateless": false,
      "commandClassVersion": 2,
      "list": false,
      "value": [
        "8.2",
        "10.3"
      ],
      "lastUpdate": 1731654489047,
      "newValue": [
        "8.2",
        "10.3"
      ]
    },
    {
      "id": "5-134-0-protocolVersion",
      "nodeId": 5,
      "toUpdate": false,
      "commandClass": 134,
      "commandClassName": "Version",
      "endpoint": 0,
      "property": "protocolVersion",
      "propertyName": "protocolVersion",
      "type": "string",
      "readable": true,
      "writeable": false,
      "label": "Z-Wave protocol version",
      "stateless": false,
      "commandClassVersion": 2,
      "list": false,
      "value": "4.5",
      "lastUpdate": 1731654489053,
      "newValue": "4.5"
    },
    {
      "id": "5-134-0-libraryType",
      "nodeId": 5,
      "toUpdate": false,
      "commandClass": 134,
      "commandClassName": "Version",
      "endpoint": 0,
      "property": "libraryType",
      "propertyName": "libraryType",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Library type",
      "stateless": false,
      "commandClassVersion": 2,
      "list": true,
      "states": [
        {
          "text": "Unknown",
          "value": 0
        },
        {
          "text": "Static Controller",
          "value": 1
        },
        {
          "text": "Controller",
          "value": 2
        },
        {
          "text": "Enhanced Slave",
          "value": 3
        },
        {
          "text": "Slave",
          "value": 4
        },
        {
          "text": "Installer",
          "value": 5
        },
        {
          "text": "Routing Slave",
          "value": 6
        },
        {
          "text": "Bridge Controller",
          "value": 7
        },
        {
          "text": "Device under Test",
          "value": 8
        },
        {
          "text": "N/A",
          "value": 9
        },
        {
          "text": "AV Remote",
          "value": 10
        },
        {
          "text": "AV Device",
          "value": 11
        }
      ],
      "value": 3,
      "lastUpdate": 1731654489060,
      "newValue": 3
    }
  ],
  "groups": [
    {
      "text": "Lifeline",
      "endpoint": 0,
      "value": 1,
      "maxNodes": 5,
      "isLifeline": true,
      "multiChannel": false
    }
  ],
  "neighbors": [],
  "ready": true,
  "available": true,
  "hassDevices": {},
  "failed": false,
  "inited": true,
  "eventsQueue": [
    {
      "time": "2025-01-16T19:02:49.879Z",
      "event": "sleep",
      "args": [
        0
      ]
    },
    {
      "time": "2025-01-16T19:02:49.908Z",
      "event": "ready",
      "args": []
    },
    {
      "time": "2025-01-20T06:39:56.609Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Notification",
          "commandClass": 113,
          "property": "alarmType",
          "endpoint": 0,
          "newValue": 7,
          "prevValue": 7,
          "propertyName": "alarmType"
        }
      ]
    },
    {
      "time": "2025-01-20T06:39:56.614Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Notification",
          "commandClass": 113,
          "property": "alarmLevel",
          "endpoint": 0,
          "newValue": 255,
          "prevValue": 255,
          "propertyName": "alarmLevel"
        }
      ]
    },
    {
      "time": "2025-01-20T06:39:56.626Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Notification",
          "commandClass": 113,
          "property": "Home Security",
          "propertyKey": "Cover status",
          "endpoint": 0,
          "newValue": 3,
          "prevValue": 3,
          "propertyName": "Home Security",
          "propertyKeyName": "Cover status"
        }
      ]
    },
    {
      "time": "2025-01-20T06:39:59.107Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Multilevel Sensor",
          "commandClass": 49,
          "property": "Air temperature",
          "endpoint": 0,
          "newValue": 15,
          "prevValue": 18,
          "propertyName": "Air temperature"
        }
      ]
    },
    {
      "time": "2025-01-20T06:39:59.530Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Multilevel Sensor",
          "commandClass": 49,
          "property": "Air temperature",
          "endpoint": 0,
          "newValue": 15,
          "prevValue": 15,
          "propertyName": "Air temperature"
        }
      ]
    },
    {
      "time": "2025-01-20T06:40:06.925Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Notification",
          "commandClass": 113,
          "property": "alarmType",
          "endpoint": 0,
          "newValue": 7,
          "prevValue": 7,
          "propertyName": "alarmType"
        }
      ]
    },
    {
      "time": "2025-01-20T06:40:06.930Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Notification",
          "commandClass": 113,
          "property": "alarmLevel",
          "endpoint": 0,
          "newValue": 0,
          "prevValue": 255,
          "propertyName": "alarmLevel"
        }
      ]
    },
    {
      "time": "2025-01-20T06:40:06.938Z"```
      "event": "valor actualizado",
      "args": [
        {
          "commandClassName": "Notificación",
          "commandClass": 113,
          "property": "Seguridad del Hogar",
          "propertyKey": "Estado de la cubierta",
          "endpoint": 0,
          "newValue": 0,
          "prevValue": 3,
          "propertyName": "Seguridad del Hogar",
          "propertyKeyName": "Estado de la cubierta"
        }
      ]
    }
  ],
  "status": "Dormido",
  "interviewStage": "Completo",
  "priorityReturnRoute": {},
  "customReturnRoute": {},
  "prioritySUCReturnRoute": false,
  "customSUCReturnRoutes": [],
  "hexId": "0x0131 0x2002-0x0205",
  "dbLink": "https://devices.zwave-js.io/?jumpTo=0x0131:0x2002:0x0205:8.2",
  "manufacturerId": 305,
  "productId": 517,
  "productType": 8194,
  "deviceConfig": {
    "filename": "/usr/src/app/store/.config-db/devices/0x0131/zp3102.json",
    "isEmbedded": true,
    "manufacturer": "Zipato",
    "manufacturerId": 305,
    "label": "ZP3102",
    "description": "Sensor Dual Multi: Sensor de Movimiento y Temperatura",
    "devices": [
      {
        "productType": 8194,
        "productId": 517
      }
    ],
    "firmwareVersion": {
      "min": "0.0",
      "max": "255.255"
    },
    "preferred": false,
    "paramInformation": {
      "_map": {}
    },
    "compat": {
      "mapBasicSet": "auto"
    }
  },
  "productLabel": "ZP3102",
  "productDescription": "Sensor Dual Multi: Sensor de Movimiento y Temperatura",
  "manufacturer": "Zipato",
  "firmwareVersion": "8.2",
  "protocolVersion": 3,
  "zwavePlusVersion": 1,
  "zwavePlusNodeType": 0,
  "zwavePlusRoleType": 6,
  "nodeType": 1,
  "endpointsCount": 0,
  "endpoints": [
    {
      "index": 0,
      "label": "Punto de conexión raíz",
      "deviceClass": {
        "basic": 4,
        "generic": 7,
        "specific": 1
      }
    }
  ],
  "isSecure": false,
  "security": "Ninguna",
  "supportsSecurity": false,
  "supportsBeaming": true,
  "isControllerNode": false,
  "isListening": false,
  "isFrequentListening": false,
  "isRouting": true,
  "keepAwake": false,
  "maxDataRate": 100000,
  "deviceClass": {
    "basic": 4,
    "generic": 7,
    "specific": 1
  },
  "lastActive": 1737355206911,
  "firmwareCapabilities": {
    "firmwareUpgradable": true,
    "firmwareTargets": [
      0
    ]
  },
  "protocol": 0,
  "deviceId": "305-517-8194",
  "hasDeviceConfigChanged": false,
  "batteryLevels": {
    "0": 60
  },
  "minBatteryLevel": 60,
  "supportsTime": false,
  "statistics": {
    "commandsTX": 0,
    "commandsRX": 4,
    "commandsDroppedRX": 0,
    "commandsDroppedTX": 0,
    "timeoutResponse": 0,
    "lwr": {
      "repeaters": [
        11,
        4
      ],
      "protocolDataRate": 1
    },
    "lastSeen": "2025-01-20T06:40:06.911Z"
  },
  "_name": "Presencia Garage (Garage)",
  "applicationRoute": false,
  "lastReceive": 1737355206911,
  "errorReceive": false,
  "errorTransmit": false
}

Más vale tarde que nunca: la integración externa zwave-js debería manejar este concepto (al no tener un dispositivo real a mano para probarlo, confío en tus registros).