Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12.16k stars 1.68k forks source link

Legrand switch 067773: no toggle on z2m. #22899

Open Tonio16 opened 5 months ago

Tonio16 commented 5 months ago

What happened?

Helllo I reccently moved my last Legrand device from the Levtand gateway to zigbee2mqtt. Withi legr1nd swtich 067773 was set in toggle mode, whi h I want to keep so. I am actually using z2m 1.38.0 but it was the same with 1.37.1 I have the same behavior for .y two 067773.


[1.38.0](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.38.0) commit: [fe048e6e](https://github.com/Koenkk/zigbee2mqtt/commit/fe048e6e)
Type de coordinateur
zStack3x0
Révision du coordinateur
20240315
Adresse IEEE du Coordinateur
0x00124b00258d7e3c
Version de l'interface
0.7.1
Version Zigbee-herdsman-converters
19.47.1
Version Zigbee-herdsman
0.49.2```

Legrand 067773
```{
    "battery": 80,
    "linkquality": 36,
    "update": {
        "installed_version": 4933119,
        "latest_version": 4604419,
        "state": "idle"
    },
    "voltage": 2900,
    "action": "",
    "device": {
        "applicationVersion": 0,
        "dateCode": " \u000020200916\u0000\u0000\u0000\u0000\u0000",
        "friendlyName": "Interrupteur escalier 1 bas",
        "hardwareVersion": 5,
        "ieeeAddr": "0x0004740000afa89b",
        "manufacturerID": 4129,
        "manufacturerName": " Legrand",
        "model": "067773",
        "networkAddress": 17153,
        "powerSource": "Battery",
        "softwareBuildID": "004b",
        "stackVersion": 69,
        "type": "EndDevice",
        "zclVersion": 8
    },
    "update_available": null
}```

Its 2 switch gang pendant with toggle that works fin3, 067774
```{
    "battery": 100,
    "linkquality": 69,
    "update": {
        "installed_version": 3098111,
        "latest_version": 2966019,
        "state": "idle"
    },
    "voltage": 3200,
    "action": null,
    "device": {
        "applicationVersion": 0,
        "dateCode": " \u000020200902\u0000\u0000\u0000\u0000\u0000",
        "friendlyName": "Interrupteur double ch parents",
        "hardwareVersion": 3,
        "ieeeAddr": "0x00047400007e2d2a",
        "manufacturerID": 4129,
        "manufacturerName": " Legrand",
        "model": "067774",
        "networkAddress": 52202,
        "powerSource": "Battery",
        "softwareBuildID": "002f",
        "stackVersion": 69,
        "type": "EndDevice",
        "zclVersion": 8
    },
    "update_available": null,
    "action_group": 5
}```

Tx

Antoine

### What did you expect to happen?

I was expecting to have the toggle for  both switch or at leasr an easy way to set this feature from z2m frontend.

### How to reproduce it (minimal and precise)

_No response_

### Zigbee2MQTT version

1.38.0

### Adapter firmware version

2024032t

### Adapter

Zstack

### Setup

Vm proxmox lx 

### Debug log

_No response_
Loic691 commented 2 months ago

Hi I used Ember driver. Zigbee works well but not for Legrand Battery device.

22783

20978

I have 2 067773 device. One is workls well. OTA didn't work. On other one, the last seen is updated when I click on a button but no action performed or send to MQTT. Same version diaplayed on 2 devices but not same firmware date

Bouton Couloir | Legrand | 067773 | 20171123 | 0046 | Update available (but doesn't work)
Bouton Guirlande | Legrand | 067773 | 20170921 | 0046 | 
info 2024-09-17 09:08:18z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Bouton Guirlande', payload '{"action":null,"battery":100,"brightness":255,"device":{"applicationVersion":0,"dateCode":" \u000020170921\u0000\u0000\u0000\u0000\u0000","friendlyName":"Bouton Guirlande","hardwareVersion":2,"ieeeAddr":"0x0004740000792228","manufacturerID":4129,"manufacturerName":" Legrand","model":"067773","networkAddress":19667,"powerSource":"Battery","softwareBuildID":"0046","stackVersion":67,"type":"EndDevice","zclVersion":2},"last_seen":"2024-09-17T09:08:17+02:00","linkquality":168,"update":{"installed_version":4604927,"latest_version":4604419,"state":"idle"},"update_available":null,"voltage":3000}'
info 2024-09-17 09:08:18z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Bouton Guirlande', payload '{"action":null,"battery":100,"brightness":255,"device":{"applicationVersion":0,"dateCode":" \u000020170921\u0000\u0000\u0000\u0000\u0000","friendlyName":"Bouton Guirlande","hardwareVersion":2,"ieeeAddr":"0x0004740000792228","manufacturerID":4129,"manufacturerName":" Legrand","model":"067773","networkAddress":19667,"powerSource":"Battery","softwareBuildID":"0046","stackVersion":67,"type":"EndDevice","zclVersion":2},"last_seen":"2024-09-17T09:08:18+02:00","linkquality":168,"update":{"installed_version":4604927,"latest_version":4604419,"state":"idle"},"update_available":null,"voltage":3000}'
info 2024-09-17 09:08:18z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"Bouton Guirlande","ieee_address":"0x0004740000792228"},"type":"device_announce"}'
info 2024-09-17 09:08:19z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Bouton Guirlande', payload '{"action":null,"battery":100,"brightness":255,"device":{"applicationVersion":0,"dateCode":" \u000020170921\u0000\u0000\u0000\u0000\u0000","friendlyName":"Bouton Guirlande","hardwareVersion":2,"ieeeAddr":"0x0004740000792228","manufacturerID":4129,"manufacturerName":" Legrand","model":"067773","networkAddress":19667,"powerSource":"Battery","softwareBuildID":"0046","stackVersion":67,"type":"EndDevice","zclVersion":2},"last_seen":"2024-09-17T09:08:18+02:00","linkquality":172,"update":{"installed_version":4604927,"latest_version":4604419,"state":"idle"},"update_available":null,"voltage":3000}'
info 2024-09-17 09:09:13z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Bouton Guirlande', payload '{"action":null,"battery":100,"brightness":255,"device":{"applicationVersion":0,"dateCode":" \u000020170921\u0000\u0000\u0000\u0000\u0000","friendlyName":"Bouton Guirlande","hardwareVersion":2,"ieeeAddr":"0x0004740000792228","manufacturerID":4129,"manufacturerName":" Legrand","model":"067773","networkAddress":19667,"powerSource":"Battery","softwareBuildID":"0046","stackVersion":67,"type":"EndDevice","zclVersion":2},"last_seen":"2024-09-17T09:09:12+02:00","linkquality":172,"update":{"installed_version":4604927,"latest_version":4604419,"state":"idle"},"update_available":null,"voltage":3000}'
info 2024-09-17 09:09:13z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Bouton Guirlande', payload '{"action":null,"battery":100,"brightness":255,"device":{"applicationVersion":0,"dateCode":" \u000020170921\u0000\u0000\u0000\u0000\u0000","friendlyName":"Bouton Guirlande","hardwareVersion":2,"ieeeAddr":"0x0004740000792228","manufacturerID":4129,"manufacturerName":" Legrand","model":"067773","networkAddress":19667,"powerSource":"Battery","softwareBuildID":"0046","stackVersion":67,"type":"EndDevice","zclVersion":2},"last_seen":"2024-09-17T09:09:12+02:00","linkquality":144,"update":{"installed_version":4604927,"latest_version":4604419,"state":"idle"},"update_available":null,"voltage":3000}'
info 2024-09-17 09:09:13z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Bouton Guirlande', payload '{"action":null,"battery":100,"brightness":255,"device":{"applicationVersion":0,"dateCode":" \u000020170921\u0000\u0000\u0000\u0000\u0000","friendlyName":"Bouton Guirlande","hardwareVersion":2,"ieeeAddr":"0x0004740000792228","manufacturerID":4129,"manufacturerName":" Legrand","model":"067773","networkAddress":19667,"powerSource":"Battery","softwareBuildID":"0046","stackVersion":67,"type":"EndDevice","zclVersion":2},"last_seen":"2024-09-17T09:09:13+02:00","linkquality":144,"update":{"installed_version":4604927,"latest_version":4604419,"state":"idle"},"update_available":null,"voltage":3000}'
info 2024-09-17 09:09:13z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"Bouton Guirlande","ieee_address":"0x0004740000792228"},"type":"device_announce"}'
info 2024-09-17 09:09:14z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Bouton Guirlande', payload '{"action":null,"battery":100,"brightness":255,"device":{"applicationVersion":0,"dateCode":" \u000020170921\u0000\u0000\u0000\u0000\u0000","friendlyName":"Bouton Guirlande","hardwareVersion":2,"ieeeAddr":"0x0004740000792228","manufacturerID":4129,"manufacturerName":" Legrand","model":"067773","networkAddress":19667,"powerSource":"Battery","softwareBuildID":"0046","stackVersion":67,"type":"EndDevice","zclVersion":2},"last_seen":"2024-09-17T09:09:13+02:00","linkquality":148,"update":{"installed_version":4604927,"latest_version":4604419,"state":"idle"},"update_available":null,"voltage":3000}'