[zwaveJS] : ajout fonctionnalités AEON Labs Smart Switch Gen5 ZW075

Salut @Sescandell
ce module (prise) récupère seulement le commutateur dans Gladys, il faudrait lui ajouter la puissance, l’énergie, le voltage et l’ampérage si c’est possible :
ZW075 AEON Labs / Smart Switch Gen5

MQTT Explorer

{"data":[{"id":67,"inited":true,"name":"67 - AEON Labs Smart Switch Gen5 ZW075","location":"Garage","status":4,"isControllerNode":false,"interviewStage":5,"deviceClass":{"basic":"Routing End Node","generic":"Binary Switch","specific":"Binary Power Switch"},"zwavePlusVersion":1,"ready":true,"zwavePlusRoleType":5,"isListening":true,"isFrequentListening":false,"canSleep":false,"isRouting":true,"supportedDataRates":[40000,100000],"maxDataRate":100000,"supportsSecurity":false,"isSecure":true,"supportsBeaming":true,"protocolVersion":3,"firmwareVersion":"3.26","manufacturerId":134,"manufacturer":"AEON Labs","productId":75,"productDescription":"Smart Switch Gen5","productType":3,"productLabel":"ZW075","deviceDatabaseUrl":"https://devices.zwave-js.io/?jumpTo=0x0086:0x0003:0x004b:3.26","keepAwake":false,"protocol":0},{"commandClassName":"Meter","commandClass":50,"property":"value","propertyKey":66049,"endpoint":0,"newValue":2264.711,"prevValue":2262.291,"propertyName":"value","propertyKeyName":"Electric_W_Consumed"}]}

ZwaveJS Debug Info

{
  "id": 67,
  "name": "67 - AEON Labs Smart Switch Gen5 ZW075",
  "loc": "Garage",
  "values": [
    {
      "id": "67-37-0-currentValue",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 37,
      "commandClassName": "Binary Switch",
      "endpoint": 0,
      "property": "currentValue",
      "propertyName": "currentValue",
      "type": "boolean",
      "readable": true,
      "writeable": false,
      "label": "Current value",
      "stateless": false,
      "commandClassVersion": 1,
      "list": false,
      "value": true,
      "isCurrentValue": true,
      "targetValue": "37-0-targetValue",
      "lastUpdate": 1742936410358,
      "newValue": true
    },
    {
      "id": "67-37-0-targetValue",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 37,
      "commandClassName": "Binary Switch",
      "endpoint": 0,
      "property": "targetValue",
      "propertyName": "targetValue",
      "type": "boolean",
      "readable": true,
      "writeable": true,
      "label": "Target value",
      "stateless": false,
      "commandClassVersion": 1,
      "list": false,
      "value": true,
      "lastUpdate": 1742587806457,
      "newValue": true
    },
    {
      "id": "67-43-0-sceneId",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 43,
      "commandClassName": "Scene Activation",
      "endpoint": 0,
      "property": "sceneId",
      "propertyName": "sceneId",
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Scene ID",
      "stateless": false,
      "commandClassVersion": 1,
      "min": 1,
      "max": 255,
      "list": false,
      "lastUpdate": 1742587806457
    },
    {
      "id": "67-43-0-dimmingDuration",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 43,
      "commandClassName": "Scene Activation",
      "endpoint": 0,
      "property": "dimmingDuration",
      "propertyName": "dimmingDuration",
      "type": "duration",
      "readable": true,
      "writeable": true,
      "label": "Dimming duration",
      "stateless": false,
      "commandClassVersion": 1,
      "list": false,
      "value": {
        "unit": "seconds"
      },
      "lastUpdate": 1742587806457,
      "newValue": {
        "unit": "seconds"
      }
    },
    {
      "id": "67-44-0-level-1",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 44,
      "commandClassName": "Scene Actuator Configuration",
      "endpoint": 0,
      "property": "level",
      "propertyName": "level",
      "propertyKey": 1,
      "propertyKeyName": "1",
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Level (1)",
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 255,
      "list": false,
      "lastUpdate": 1742587806457
    },
    {
      "id": "67-44-0-dimmingDuration-1",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 44,
      "commandClassName": "Scene Actuator Configuration",
      "endpoint": 0,
      "property": "dimmingDuration",
      "propertyName": "dimmingDuration",
      "propertyKey": 1,
      "propertyKeyName": "1",
      "type": "duration",
      "readable": true,
      "writeable": true,
      "label": "Dimming duration (1)",
      "stateless": false,
      "commandClassVersion": 1,
      "list": false,
      "value": {
        "unit": "seconds"
      },
      "lastUpdate": 1742587806457,
      "newValue": {
        "unit": "seconds"
      }
    },
....................
    {
      "id": "67-44-0-level-255",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 44,
      "commandClassName": "Scene Actuator Configuration",
      "endpoint": 0,
      "property": "level",
      "propertyName": "level",
      "propertyKey": 255,
      "propertyKeyName": "255",
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Level (255)",
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 255,
      "list": false,
      "lastUpdate": 1742587806470
    },
    {
      "id": "67-44-0-dimmingDuration-255",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 44,
      "commandClassName": "Scene Actuator Configuration",
      "endpoint": 0,
      "property": "dimmingDuration",
      "propertyName": "dimmingDuration",
      "propertyKey": 255,
      "propertyKeyName": "255",
      "type": "duration",
      "readable": true,
      "writeable": true,
      "label": "Dimming duration (255)",
      "stateless": false,
      "commandClassVersion": 1,
      "list": false,
      "value": {
        "unit": "seconds"
      },
      "lastUpdate": 1742587806470,
      "newValue": {
        "unit": "seconds"
      }
    },
    {
      "id": "67-50-0-value-65537",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 50,
      "commandClassName": "Meter",
      "endpoint": 0,
      "property": "value",
      "propertyName": "value",
      "propertyKey": 65537,
      "propertyKeyName": "Electric_kWh_Consumed",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Electric Consumption [kWh]",
      "ccSpecific": {
        "meterType": 1,
        "scale": 0,
        "rateType": 1
      },
      "stateless": false,
      "commandClassVersion": 3,
      "unit": "kWh",
      "list": false,
      "value": 16132.765,
      "lastUpdate": 1742936995424,
      "newValue": 16132.765
    },
    {
      "id": "67-50-0-value-66049",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 50,
      "commandClassName": "Meter",
      "endpoint": 0,
      "property": "value",
      "propertyName": "value",
      "propertyKey": 66049,
      "propertyKeyName": "Electric_W_Consumed",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Electric Consumption [W]",
      "ccSpecific": {
        "meterType": 1,
        "scale": 2,
        "rateType": 1
      },
      "stateless": false,
      "commandClassVersion": 3,
      "unit": "W",
      "list": false,
      "value": 0,
      "lastUpdate": 1742937475337,
      "newValue": 0
    },
    {
      "id": "67-50-0-value-66561",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 50,
      "commandClassName": "Meter",
      "endpoint": 0,
      "property": "value",
      "propertyName": "value",
      "propertyKey": 66561,
      "propertyKeyName": "Electric_V_Consumed",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Electric Consumption [V]",
      "ccSpecific": {
        "meterType": 1,
        "scale": 4,
        "rateType": 1
      },
      "stateless": false,
      "commandClassVersion": 3,
      "unit": "V",
      "list": false,
      "value": 231.828,
      "lastUpdate": 1742936410755,
      "newValue": 231.828
    },
    {
      "id": "67-50-0-value-66817",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 50,
      "commandClassName": "Meter",
      "endpoint": 0,
      "property": "value",
      "propertyName": "value",
      "propertyKey": 66817,
      "propertyKeyName": "Electric_A_Consumed",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Electric Consumption [A]",
      "ccSpecific": {
        "meterType": 1,
        "scale": 5,
        "rateType": 1
      },
      "stateless": false,
      "commandClassVersion": 3,
      "unit": "A",
      "list": false,
      "value": 0.021,
      "lastUpdate": 1742936995338,
      "newValue": 0.021
    },
    {
      "id": "67-50-0-reset",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 50,
      "commandClassName": "Meter",
      "endpoint": 0,
      "property": "reset",
      "propertyName": "reset",
      "type": "boolean",
      "readable": false,
      "writeable": true,
      "label": "Reset accumulated values",
      "stateless": false,
      "commandClassVersion": 3,
      "list": true,
      "states": [
        {
          "text": "Reset",
          "value": true
        }
      ],
      "lastUpdate": 1742587806470
    },
    {
      "id": "67-112-0-3",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 3,
      "propertyName": "Current Overload Protection",
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Current Overload Protection",
      "default": 0,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 1,
      "list": true,
      "allowManualEntry": false,
      "states": [
        {
          "text": "Disable",
          "value": 0
        },
        {
          "text": "Enable",
          "value": 1
        }
      ],
      "value": 1,
      "isCurrentValue": true,
      "lastUpdate": 1736443968388,
      "newValue": 1
    },
    {
      "id": "67-112-0-80",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 80,
      "propertyName": "Send Notifications to Associated Devices (Group 1)",
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Send Notifications to Associated Devices (Group 1)",
      "default": 0,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 2,
      "list": true,
      "allowManualEntry": false,
      "states": [
        {
          "text": "Disable",
          "value": 0
        },
        {
          "text": "Hail CC",
          "value": 1
        },
        {
          "text": "Basic CC Report",
          "value": 2
        }
      ],
      "value": 1,
      "lastUpdate": 1736443968515,
      "newValue": 1
    },
    {
      "id": "67-112-0-90",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 90,
      "propertyName": "Send Automatic Reports When Exceeding Thresholds",
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Send Automatic Reports When Exceeding Thresholds",
      "default": 0,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 1,
      "list": true,
      "allowManualEntry": false,
      "states": [
        {
          "text": "Disable",
          "value": 0
        },
        {
          "text": "Enable",
          "value": 1
        }
      ],
      "value": 0,
      "lastUpdate": 1736443968643,
      "newValue": 0
    },
    {
      "id": "67-112-0-91",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 91,
      "propertyName": "Minimum Power Change to Trigger Event",
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Minimum Power Change to Trigger Event",
      "default": 25,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 32000,
      "list": false,
      "value": 10,
      "lastUpdate": 1736443968771,
      "newValue": 10
    },
    {
      "id": "67-112-0-92",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 92,
      "propertyName": "Minimum Power Percentage Change to Trigger Event",
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Minimum Power Percentage Change to Trigger Event",
      "default": 5,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 100,
      "unit": "%",
      "list": false,
      "value": 1,
      "lastUpdate": 1736443968899,
      "newValue": 1
    },
    {
      "id": "67-112-0-101-1",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 101,
      "propertyName": "Automatic Report: Group 1 - Voltage",
      "propertyKey": 1,
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Automatic Report: Group 1 - Voltage",
      "default": 0,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 1,
      "list": true,
      "allowManualEntry": false,
      "states": [
        {
          "text": "Disable",
          "value": 0
        },
        {
          "text": "Enable",
          "value": 1
        }
      ],
      "value": 0,
      "lastUpdate": 1736443969027,
      "newValue": 0
    },
    {
      "id": "67-112-0-101-2",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 101,
      "propertyName": "Automatic Report: Group 1 - Current",
      "propertyKey": 2,
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Automatic Report: Group 1 - Current",
      "default": 0,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 1,
      "list": true,
      "allowManualEntry": false,
      "states": [
        {
          "text": "Disable",
          "value": 0
        },
        {
          "text": "Enable",
          "value": 1
        }
      ],
      "value": 0,
      "isCurrentValue": true,
      "lastUpdate": 1736443969027,
      "newValue": 0
    },
    {
      "id": "67-112-0-101-4",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 101,
      "propertyName": "Automatic Report: Group 1 - Power",
      "propertyKey": 4,
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Automatic Report: Group 1 - Power",
      "default": 0,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 1,
      "list": true,
      "allowManualEntry": false,
      "states": [
        {
          "text": "Disable",
          "value": 0
        },
        {
          "text": "Enable",
          "value": 1
        }
      ],
      "value": 1,
      "lastUpdate": 1736443969027,
      "newValue": 1
    },
    {
      "id": "67-112-0-101-8",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 101,
      "propertyName": "Automatic Report: Group 1 - kWh",
      "propertyKey": 8,
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Automatic Report: Group 1 - kWh",
      "default": 0,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 1,
      "list": true,
      "allowManualEntry": false,
      "states": [
        {
          "text": "Disable",
          "value": 0
        },
        {
          "text": "Enable",
          "value": 1
        }
      ],
      "value": 0,
      "lastUpdate": 1736443969027,
      "newValue": 0
    },
    {
      "id": "67-112-0-102-1",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 102,
      "propertyName": "Automatic Report: Group 2 - Voltage",
      "propertyKey": 1,
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Automatic Report: Group 2 - Voltage",
      "default": 0,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 1,
      "list": true,
      "allowManualEntry": false,
      "states": [
        {
          "text": "Disable",
          "value": 0
        },
        {
          "text": "Enable",
          "value": 1
        }
      ],
      "value": 0,
      "lastUpdate": 1736443969167,
      "newValue": 0
    },
    {
      "id": "67-112-0-102-2",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 102,
      "propertyName": "Automatic Report: Group 2 - Current",
      "propertyKey": 2,
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Automatic Report: Group 2 - Current",
      "default": 0,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 1,
      "list": true,
      "allowManualEntry": false,
      "states": [
        {
          "text": "Disable",
          "value": 0
        },
        {
          "text": "Enable",
          "value": 1
        }
      ],
      "value": 0,
      "isCurrentValue": true,
      "lastUpdate": 1736443969167,
      "newValue": 0
    },
    {
      "id": "67-112-0-102-4",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 102,
      "propertyName": "Automatic Report: Group 2 - Power",
      "propertyKey": 4,
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Automatic Report: Group 2 - Power",
      "default": 0,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 1,
      "list": true,
      "allowManualEntry": false,
      "states": [
        {
          "text": "Disable",
          "value": 0
        },
        {
          "text": "Enable",
          "value": 1
        }
      ],
      "value": 0,
      "lastUpdate": 1736443969167,
      "newValue": 0
    },
    {
      "id": "67-112-0-102-8",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 102,
      "propertyName": "Automatic Report: Group 2 - kWh",
      "propertyKey": 8,
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Automatic Report: Group 2 - kWh",
      "default": 0,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 1,
      "list": true,
      "allowManualEntry": false,
      "states": [
        {
          "text": "Disable",
          "value": 0
        },
        {
          "text": "Enable",
          "value": 1
        }
      ],
      "value": 1,
      "lastUpdate": 1736443969167,
      "newValue": 1
    },
    {
      "id": "67-112-0-103-1",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 103,
      "propertyName": "Automatic Report: Group 3 - Voltage",
      "propertyKey": 1,
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Automatic Report: Group 3 - Voltage",
      "default": 0,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 1,
      "list": true,
      "allowManualEntry": false,
      "states": [
        {
          "text": "Disable",
          "value": 0
        },
        {
          "text": "Enable",
          "value": 1
        }
      ],
      "value": 0,
      "lastUpdate": 1736443969295,
      "newValue": 0
    },
    {
      "id": "67-112-0-103-2",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 103,
      "propertyName": "Automatic Report: Group 3 - Current",
      "propertyKey": 2,
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Automatic Report: Group 3 - Current",
      "default": 0,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 1,
      "list": true,
      "allowManualEntry": false,
      "states": [
        {
          "text": "Disable",
          "value": 0
        },
        {
          "text": "Enable",
          "value": 1
        }
      ],
      "value": 1,
      "isCurrentValue": true,
      "lastUpdate": 1736443969295,
      "newValue": 1
    },
    {
      "id": "67-112-0-103-4",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 103,
      "propertyName": "Automatic Report: Group 3 - Power",
      "propertyKey": 4,
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Automatic Report: Group 3 - Power",
      "default": 0,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 1,
      "list": true,
      "allowManualEntry": false,
      "states": [
        {
          "text": "Disable",
          "value": 0
        },
        {
          "text": "Enable",
          "value": 1
        }
      ],
      "value": 0,
      "lastUpdate": 1736443969296,
      "newValue": 0
    },
    {
      "id": "67-112-0-103-8",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 103,
      "propertyName": "Automatic Report: Group 3 - kWh",
      "propertyKey": 8,
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Automatic Report: Group 3 - kWh",
      "default": 0,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 1,
      "list": true,
      "allowManualEntry": false,
      "states": [
        {
          "text": "Disable",
          "value": 0
        },
        {
          "text": "Enable",
          "value": 1
        }
      ],
      "value": 0,
      "lastUpdate": 1736443969296,
      "newValue": 0
    },
    {
      "id": "67-112-0-111",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 111,
      "propertyName": "Automatic Reporting Interval: Group 1",
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Automatic Reporting Interval: Group 1",
      "default": 600,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 1,
      "max": 2147483647,
      "unit": "seconds",
      "list": false,
      "value": 120,
      "lastUpdate": 1736443969423,
      "newValue": 120
    },
    {
      "id": "67-112-0-112",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 112,
      "propertyName": "Automatic Reporting Interval: Group 2",
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Automatic Reporting Interval: Group 2",
      "default": 600,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 1,
      "max": 2147483647,
      "unit": "seconds",
      "list": false,
      "value": 600,
      "lastUpdate": 1736443969550,
      "newValue": 600
    },
    {
      "id": "67-112-0-113",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 113,
      "propertyName": "Automatic Reporting Interval: Group 3",
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Automatic Reporting Interval: Group 3",
      "default": 600,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 1,
      "max": 2147483647,
      "unit": "seconds",
      "list": false,
      "value": 600,
      "lastUpdate": 1736443969681,
      "newValue": 600
    },
    {
      "id": "67-112-0-200",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 200,
      "propertyName": "Partner ID",
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Partner ID",
      "default": 0,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 1,
      "list": true,
      "allowManualEntry": false,
      "states": [
        {
          "text": "Aeotec",
          "value": 0
        },
        {
          "text": "AT&T",
          "value": 1
        }
      ],
      "value": 0,
      "lastUpdate": 1736443969809,
      "newValue": 0
    },
    {
      "id": "67-112-0-252",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 252,
      "propertyName": "Lock Configuration",
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Lock Configuration",
      "default": 0,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 1,
      "list": true,
      "allowManualEntry": false,
      "states": [
        {
          "text": "Disable",
          "value": 0
        },
        {
          "text": "Enable",
          "value": 1
        }
      ],
      "value": 0,
      "lastUpdate": 1736443969937,
      "newValue": 0
    },
    {
      "id": "67-112-0-254",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 254,
      "propertyName": "Device Tag",
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Device Tag",
      "default": 0,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 65535,
      "list": false,
      "value": 0,
      "lastUpdate": 1736443970076,
      "newValue": 0
    },
    {
      "id": "67-112-0-2-255",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 2,
      "propertyName": "LED Blink Duration",
      "propertyKey": 255,
      "type": "number",
      "readable": false,
      "writeable": true,
      "label": "LED Blink Duration",
      "default": 0,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 255,
      "unit": "seconds",
      "list": false,
      "lastUpdate": 1742587806471
    },
    {
      "id": "67-112-0-2-65280",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 2,
      "propertyName": "LED Blink Cycle Length",
      "propertyKey": 65280,
      "type": "number",
      "readable": false,
      "writeable": true,
      "description": "Length of time LED will blink on/off per cycle",
      "label": "LED Blink Cycle Length",
      "default": 0,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 255,
      "unit": "0.1 seconds",
      "list": false,
      "lastUpdate": 1742587806471
    },
    {
      "id": "67-112-0-255",
      "nodeId": 67,
      "toUpdate": false,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 255,
      "propertyName": "Reset to Factory Default Setting",
      "type": "number",
      "readable": false,
      "writeable": true,
      "label": "Reset to Factory Default Setting",
      "default": 0,
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 1431655765,
      "list": true,
      "allowManualEntry": false,
      "states": [
        {
          "text": "Normal Operation",
          "value": 0
        },
        {
          "text": "Resets all configuration parameters to default setting",
          "value": 1
        },
        {
          "text": "Reset the product to factory default setting and exclude from Z-Wave network",
          "value": 1431655765
        }
      ],
      "lastUpdate": 1742587806471
    },
    {
      "id": "67-114-0-manufacturerId",
      "nodeId": 67,
      "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": 134,
      "lastUpdate": 1736443963607,
      "newValue": 134
    },
    {
      "id": "67-114-0-productType",
      "nodeId": 67,
      "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": 3,
      "lastUpdate": 1736443963607,
      "newValue": 3
    },
    {
      "id": "67-114-0-productId",
      "nodeId": 67,
      "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": 75,
      "lastUpdate": 1736443963608,
      "newValue": 75
    },
    {
      "id": "67-134-0-libraryType",
      "nodeId": 67,
      "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": 1736443963879,
      "newValue": 3
    },
    {
      "id": "67-134-0-protocolVersion",
      "nodeId": 67,
      "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": "3.83",
      "lastUpdate": 1736443963879,
      "newValue": "3.83"
    },
    {
      "id": "67-134-0-firmwareVersions",
      "nodeId": 67,
      "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": [
        "3.26"
      ],
      "lastUpdate": 1736443963879,
      "newValue": [
        "3.26"
      ]
    },
    {
      "id": "67-134-0-hardwareVersion",
      "nodeId": 67,
      "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": 75,
      "lastUpdate": 1736443963880,
      "newValue": 75
    }
  ],
  "groups": [
    {
      "text": "Lifeline",
      "endpoint": 0,
      "value": 1,
      "maxNodes": 5,
      "isLifeline": true,
      "multiChannel": false
    },
    {
      "text": "Group 2",
      "endpoint": 0,
      "value": 2,
      "maxNodes": 5,
      "isLifeline": false,
      "multiChannel": false
    }
  ],
  "neighbors": [
    1,
    4,
    8,
    9,
    11,
    13,
    23,
    49,
    50,
    63,
    64,
    72,
    75,
    77
  ],
  "ready": true,
  "available": true,
  "hassDevices": {},
  "failed": false,
  "inited": true,
  "eventsQueue": [
    {
      "time": "2025-03-25T19:01:55.342Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Meter",
          "commandClass": 50,
          "property": "value",
          "propertyKey": 66049,
          "endpoint": 0,
          "newValue": 0,
          "prevValue": 0,
          "propertyName": "value",
          "propertyKeyName": "Electric_W_Consumed"
        }
      ]
    },
-----------------------------------
    {
      "time": "2025-03-25T21:00:10.755Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Meter",
          "commandClass": 50,
          "property": "value",
          "propertyKey": 66561,
          "endpoint": 0,
          "newValue": 231.828,
          "prevValue": 233.265,
          "propertyName": "value",
          "propertyKeyName": "Electric_V_Consumed"
        }
      ]
    },
    {
      "time": "2025-03-25T21:09:55.338Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Meter",
          "commandClass": 50,
          "property": "value",
          "propertyKey": 66817,
          "endpoint": 0,
          "newValue": 0.021,
          "prevValue": 0,
          "propertyName": "value",
          "propertyKeyName": "Electric_A_Consumed"
        }
      ]
    },
    {
      "time": "2025-03-25T21:09:55.425Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Meter",
          "commandClass": 50,
          "property": "value",
          "propertyKey": 65537,
          "endpoint": 0,
          "newValue": 16132.765,
          "prevValue": 16132.765,
          "propertyName": "value",
          "propertyKeyName": "Electric_kWh_Consumed"
        }
      ]
    },
    {
      "time": "2025-03-25T21:09:55.601Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Meter",
          "commandClass": 50,
          "property": "value",
          "propertyKey": 66049,
          "endpoint": 0,
          "newValue": 0,
          "prevValue": 0,
          "propertyName": "value",
          "propertyKeyName": "Electric_W_Consumed"
        }
      ]
    },
-----------------
  "status": "Alive",
  "interviewStage": "Complete",
  "priorityReturnRoute": {},
  "customReturnRoute": {},
  "prioritySUCReturnRoute": false,
  "customSUCReturnRoutes": [],
  "hexId": "0x0086 0x0003-0x004b",
  "dbLink": "https://devices.zwave-js.io/?jumpTo=0x0086:0x0003:0x004b:3.26",
  "manufacturerId": 134,
  "productId": 75,
  "productType": 3,
  "deviceConfig": {
    "filename": "/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/@zwave-js/config/config/devices/0x0086/zw075.json",
    "isEmbedded": true,
    "manufacturer": "AEON Labs",
    "manufacturerId": 134,
    "label": "ZW075",
    "description": "Smart Switch Gen5",
    "devices": [
      {
        "productType": 3,
        "productId": 75
      },
      {
        "productType": 259,
        "productId": 75
      },
      {
        "productType": 515,
        "productId": 75
      },
      {
        "productType": 27,
        "productId": 72
      }
    ],
    "firmwareVersion": {
      "min": "0.0",
      "max": "255.255"
    },
    "preferred": false,
    "associations": {},
    "paramInformation": {
      "_map": {}
    },
    "metadata": {
      "inclusion": "Turn the primary controller of Z-Wave network into inclusion mode, short press the product’s Action button that you can find on the product's housing",
      "exclusion": "Turn the primary controller of Z-Wave network into exclusion mode, short press the product’s Action button that you can find on the product's housing",
      "reset": "Press and hold the Action button that you can find on the product's housing for 20 seconds and then release. This procedure should only be used when the primary controller is inoperable",
      "manual": "https://products.z-wavealliance.org/ProductManual/File?folder=&filename=MarketCertificationFiles/1056/Aeon%20Labs%20Smart%20Switch%20Gen5_Update%202.pdf"
    }
  },
  "productLabel": "ZW075",
  "productDescription": "Smart Switch Gen5",
  "manufacturer": "AEON Labs",
  "firmwareVersion": "3.26",
  "protocolVersion": 3,
  "zwavePlusVersion": 1,
  "zwavePlusNodeType": 0,
  "zwavePlusRoleType": 5,
  "nodeType": 1,
  "endpointsCount": 0,
  "endpoints": [
    {
      "index": 0,
      "label": "Root Endpoint",
      "deviceClass": {
        "basic": 4,
        "generic": 16,
        "specific": 1
      }
    }
  ],
  "isSecure": true,
  "security": "S0_Legacy",
  "supportsSecurity": false,
  "supportsBeaming": true,
  "isControllerNode": false,
  "isListening": true,
  "isFrequentListening": false,
  "isRouting": true,
  "keepAwake": false,
  "maxDataRate": 100000,
  "deviceClass": {
    "basic": 4,
    "generic": 16,
    "specific": 1
  },
  "lastActive": 1742937475336,
  "firmwareCapabilities": {
    "firmwareUpgradable": true,
    "firmwareTargets": [
      0
    ]
  },
  "protocol": 0,
  "deviceId": "134-75-3",
  "hasDeviceConfigChanged": false,
  "statistics": {
    "commandsTX": 3249,
    "commandsRX": 6407,
    "commandsDroppedRX": 171,
    "commandsDroppedTX": 0,
    "timeoutResponse": 3,
    "rtt": 25.4,
    "lastSeen": "2025-03-25T21:17:55.336Z",
    "lwr": {
      "repeaters": [
        9
      ],
      "protocolDataRate": 2
    }
  },
  "supportsTime": false,
  "_name": "67 - AEON Labs Smart Switch Gen5 ZW075 (Garage)",
  "applicationRoute": false,
  "lastReceive": 1742937475336,
  "lastTransmit": 1742937475336,
  "errorReceive": false,
  "errorTransmit": false
}

ZwaveJS Event

25/03/2025 22:59:55 - value updated
Arg 0:
└─commandClassName: Meter
└─commandClass: 50
└─property: value
└─propertyKey: 66049
└─endpoint: 0
└─newValue: 2264.711
└─prevValue: 2262.291
└─propertyName: value
└─propertyKeyName: Electric_W_Consumed
25/03/2025 22:59:55 - value updated
Arg 0:
└─commandClassName: Meter
└─commandClass: 50
└─property: value
└─propertyKey: 65537
└─endpoint: 0
└─newValue: 16133.452
└─prevValue: 16133.081
└─propertyName: value
└─propertyKeyName: Electric_kWh_Consumed
25/03/2025 22:59:55 - value updated
Arg 0:
└─commandClassName: Meter
└─commandClass: 50
└─property: value
└─propertyKey: 66817
└─endpoint: 0
└─newValue: 10.076
└─prevValue: 10.035
└─propertyName: value
└─propertyKeyName: Electric_A_Consumed
25/03/2025 22:21:18 - value updated
Arg 0:
└─commandClassName: Meter
└─commandClass: 50
└─property: value
└─propertyKey: 66561
└─endpoint: 0
└─newValue: 230.997
└─prevValue: 231.828
└─propertyName: value
└─propertyKeyName: Electric_V_Consumed

Si tu as besoin d’autres infos, n’hésite pas.
Merci d’avance :grin:

1 « J'aime »

salut @Sescandell
est-ce que tu as déjà pu jeter un oeil sur ce module zwave ?
N’hésite pas si il manque des infos.

1 « J'aime »

Hello,

Je regarde

Bonjour,

PR disponible ici : [zWaveJS] Support for Meter values (Energy consumption) by sescandell · Pull Request #2285 · GladysAssistant/Gladys · GitHub

ping @pierre-gilles (je ne me souviens plus si nécessaire de pinguer via le forum ou si la PR suffit).

Bonne fin de week-end !

2 « J'aime »

Merci @Sescandell pour la PR, j’ai juste un petit retour, tu as mis une fonctionnalité en kWh en « puissance », hors je pense que ce n’est pas le bon type :slight_smile:

Ma review: [zWaveJS] Support for Meter values (Energy consumption) by sescandell · Pull Request #2285 · GladysAssistant/Gladys · GitHub

Est-ce que tu as testé en réel la PR ? Si non, est-ce que tu peux faire un build pour que @mutmut puisse tester?

Merci encore Stéphane :pray:

Toujours mieux de me ping, sinon impossible de savoir si la PR est prête ou pas :stuck_out_tongue: Certains ouvrent des PR sans qu’elles ne soient prêtes, et les laissent plusieurs mois à l’abandon, donc seul moyen que je sois au courant: me le dire :smiley:

2 « J'aime »

Hello @pierre-gilles

C’est corrigé, merci de ton attention.

Oui j’ai testé sur mon device :

Et j’ai effectivement mis à disposition une image si quelqu’un d’autre souhaite tester : sescandell/gladys-test:pr-zwaveJsMeter

Bonne soirée,

1 « J'aime »

merci @Sescandell , j’ai installé ton image et je laisse tourner les compteurs.
Pour l’instant j’obtiens bien qq données instantanées.

Une remarque sur les commutateurs. Au départ les 3 étaient à 0 or les 3 prises sont allumées.
Lorsque je clique sur un des commutateurs il reste éteint sur Gladys et éteint bien la prise correspondante. Et lorsque je reclique alors le commutateur passe en On et la prise aussi.

Est-ce que tu as moyen de mettre le commutateur sur la bonne valeur au chargement du dashboard ?

1 « J'aime »

C’est effectivement un défaut à l’init de manière globale sur le service zWave (je ne sais pas si c’est pareil pour les autres modules). Je me note ça dans un coin de la tête :+1:

1 « J'aime »

Une capture d’écran avec plusieurs modules pour valider le beau travail de @Sescandell sur ces nouvelles fonctionnalités !

1 « J'aime »

Si c’est bon pour vous alors, je merge :slight_smile:

Merci @Sescandell pour cette PR, très beau boulot comme d’habitude ! :smiley:

3 « J'aime »

Cette nouveauté est disponible dans Gladys Assistant 4.58 :