# \[zwaveJS\]: feature additions for AEON Labs Smart Switch Gen5 ZW075

**URL:** <https://community.gladysassistant.com/t/zwavejs-ajout-fonctionnalites-aeon-labs-smart-switch-gen5-zw075/9453>\
**Category:** Demandes livrées\
**Tags:** zwavejs\
**Created:** [March 25, 2025, 10:10pm UTC](https://community.gladysassistant.com/t/zwavejs-ajout-fonctionnalites-aeon-labs-smart-switch-gen5-zw075/9453 "2025-03-25T22:10:46Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![mutmut](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mutmut/32/14064_2.png) [@mutmut](https://community.gladysassistant.com/u/mutmut)\
**Post date:** [March 25, 2025, 10:10pm UTC](https://community.gladysassistant.com/t/zwavejs-ajout-fonctionnalites-aeon-labs-smart-switch-gen5-zw075/9453/1 "2025-03-25T22:10:46Z")

</div>

Hi @Sescandell  
This module (plug-in) only retrieves the switch in Gladys. It would be great if you could add power, energy, voltage, and current if possible:  
[ZW075 AEON Labs / Smart Switch Gen5](https://devices.zwave-js.io/?jumpTo=0x0086:0x0003:0x004b:0.0)

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/b/8/b851c2cdb87fa39b9f321e4a827db6c99307f253.png)

**MQTT Explorer**

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/a/e/ae907ef332ec501fac5a09ecd8f597782ca5e22c.png)

```auto
{"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**

```auto
{
  "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"
      }
    },
...................
```

---

<div class="post-metadata">

**Author:** ![mutmut](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mutmut/32/14064_2.png) [@mutmut](https://community.gladysassistant.com/u/mutmut)\
**Post date:** [April 15, 2025, 12:22pm UTC](https://community.gladysassistant.com/t/zwavejs-ajout-fonctionnalites-aeon-labs-smart-switch-gen5-zw075/9453/2 "2025-04-15T12:22:30Z")

</div>

Hi @Sescandell  
Have you already been able to take a look at this Z-Wave module?  
Don’t hesitate to tell me if any information is missing.

---

<div class="post-metadata">

**Author:** ![Sescandell](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/sescandell/32/3759_2.png) [@Sescandell](https://community.gladysassistant.com/u/Sescandell)\
**Post date:** [May 4, 2025, 10:09am UTC](https://community.gladysassistant.com/t/zwavejs-ajout-fonctionnalites-aeon-labs-smart-switch-gen5-zw075/9453/3 "2025-05-04T10:09:47Z")

</div>

Hello,

I’m watching

---

<div class="post-metadata">

**Author:** ![Sescandell](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/sescandell/32/3759_2.png) [@Sescandell](https://community.gladysassistant.com/u/Sescandell)\
**Post date:** [May 4, 2025, 1:25pm UTC](https://community.gladysassistant.com/t/zwavejs-ajout-fonctionnalites-aeon-labs-smart-switch-gen5-zw075/9453/4 "2025-05-04T13:25:51Z")

</div>

Hello,

PR available here: [[zWaveJS] Support for Meter values (Energy consumption) by sescandell · Pull Request #2285 · GladysAssistant/Gladys · GitHub](https://github.com/GladysAssistant/Gladys/pull/2285)

ping @pierre-gilles (I don’t remember if it’s necessary to ping via the forum or if the PR is sufficient).

Enjoy the rest of the weekend!

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [May 5, 2025, 7:01am UTC](https://community.gladysassistant.com/t/zwavejs-ajout-fonctionnalites-aeon-labs-smart-switch-gen5-zw075/9453/5 "2025-05-05T07:01:22Z")

</div>

Thanks @Sescandell for the PR, I just have a small comment: you set a feature in kWh as «&nbsp;power&nbsp;», but I think that’s not the right type 🙂

My review: [[zWaveJS] Support for Meter values (Energy consumption) by sescandell · Pull Request #2285 · GladysAssistant/Gladys · GitHub](https://github.com/GladysAssistant/Gladys/pull/2285#pullrequestreview-2813944743)

Have you tested the PR in a real environment? If not, can you make a build so that @mutmut can test?

Thanks again Stéphane 🙏

> [@Sescandell](#):
>
> (I don’t remember whether it’s necessary to ping via the forum or if the PR is enough).

It’s always better to ping me, otherwise it’s impossible to know whether the PR is ready or not 😛 Some people open PRs before they’re ready, and leave them abandoned for several months, so the only way for me to be aware is to tell me 😃

---

<div class="post-metadata">

**Author:** ![Sescandell](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/sescandell/32/3759_2.png) [@Sescandell](https://community.gladysassistant.com/u/Sescandell)\
**Post date:** [May 5, 2025, 7:15pm UTC](https://community.gladysassistant.com/t/zwavejs-ajout-fonctionnalites-aeon-labs-smart-switch-gen5-zw075/9453/6 "2025-05-05T19:15:45Z")

</div>

Hello @pierre-gilles

It’s fixed, thanks for your attention.

Yes I tested on my device:

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/5/e/5e37d7d17278cffbfa651fdc8f3da69d4f75fa19.png)

And I have indeed made an image available if someone else wants to test: sescandell/gladys-test:pr-zwaveJsMeter

Good evening,

---

<div class="post-metadata">

**Author:** ![mutmut](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mutmut/32/14064_2.png) [@mutmut](https://community.gladysassistant.com/u/mutmut)\
**Post date:** [May 5, 2025, 10:06pm UTC](https://community.gladysassistant.com/t/zwavejs-ajout-fonctionnalites-aeon-labs-smart-switch-gen5-zw075/9453/7 "2025-05-05T22:06:28Z")

</div>

> [@Sescandell](#):
>
> sescandell/gladys-test:pr-zwaveJsMeter

thanks @Sescandell, I installed your image and I’m letting the meters run.  
For now I’m getting some instantaneous data.

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/0/b/0b31609c8fa71b6829e35be12934d9f926d6f330.png)

A note about the switches. At first the 3 were at 0 while the 3 sockets are turned on.  
When I click one of the switches it stays off in Gladys and the corresponding socket is indeed turned off. And when I click again the switch changes to On and the socket does too.

Do you have a way to set the switch to the correct value when the dashboard loads?

---

<div class="post-metadata">

**Author:** ![Sescandell](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/sescandell/32/3759_2.png) [@Sescandell](https://community.gladysassistant.com/u/Sescandell)\
**Post date:** [May 6, 2025, 6:00am UTC](https://community.gladysassistant.com/t/zwavejs-ajout-fonctionnalites-aeon-labs-smart-switch-gen5-zw075/9453/8 "2025-05-06T06:00:11Z")

</div>

> [@mutmut](#):
>
> Is there any way for you to set the switch to the correct value when the dashboard loads?

This is indeed an initialization bug globally on the Z-Wave service (I don’t know if it’s the same for the other modules). I’ll keep that in mind 👍

---

<div class="post-metadata">

**Author:** ![mutmut](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mutmut/32/14064_2.png) [@mutmut](https://community.gladysassistant.com/u/mutmut)\
**Post date:** [May 6, 2025, 6:11am UTC](https://community.gladysassistant.com/t/zwavejs-ajout-fonctionnalites-aeon-labs-smart-switch-gen5-zw075/9453/9 "2025-05-06T06:11:58Z")

</div>

A screenshot with several modules to validate @Sescandell’s great work on these new features!

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/9/0/90f8e5a0ef87621c3a5ee6ffbc7a47cb01cb0e7a.jpeg)

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [May 6, 2025, 6:29am UTC](https://community.gladysassistant.com/t/zwavejs-ajout-fonctionnalites-aeon-labs-smart-switch-gen5-zw075/9453/10 "2025-05-06T06:29:43Z")

</div>

If that’s good for you then, I’ll merge 🙂

Thanks @Sescandell for this PR, great work as always! 😃

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [May 11, 2025, 3:13pm UTC](https://community.gladysassistant.com/t/zwavejs-ajout-fonctionnalites-aeon-labs-smart-switch-gen5-zw075/9453/11 "2025-05-11T15:13:57Z")

</div>

This new feature is available in Gladys Assistant 4.58:

> [@Gladys Assistant 4.58: Matter, mais pas que ! grinning\_face\_with\_smiling\_eyes](https://community.gladysassistant.com/t/gladys-assistant-4-58-matter-pas-pas-que/9503):
>
> Salut la communauté wave Je suis très heureux de vous présenter Gladys Assistant 4.58, une nouvelle version majeure qui apporte le support de Matter, ainsi que plein d’autres nouveautés pratiques ! Tous les détails sont sur le blog : N’hésitez pas à me faire part de vos retours slightly_smiling_face

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [May 11, 2025, 3:13pm UTC](https://community.gladysassistant.com/t/zwavejs-ajout-fonctionnalites-aeon-labs-smart-switch-gen5-zw075/9453/12 "2025-05-11T15:13:59Z")

</div>


