Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Legrand 067696 module to open garage doors and gates #8035

Open
dsigmoun opened this issue Sep 27, 2024 · 2 comments
Open

Legrand 067696 module to open garage doors and gates #8035

dsigmoun opened this issue Sep 27, 2024 · 2 comments

Comments

@dsigmoun
Copy link

dsigmoun commented Sep 27, 2024

Hello,

I use the Legrand 067696 module to open my garage doors and gates. In Z2M, the module is indicated unmanaged command.
The Open, close, stop commands work correctly, but the state is not well managed.

image
image
image

I followed this procedure and created a file 067696.js
https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html#_2-creating-the-external-definition

`const {windowCovering, binary, commandsWindowCovering} = require('zigbee-herdsman-converters/lib/modernExtend');

const definition = {
    zigbeeModel: [' NLJ - Garage door'],
    model: ' NLJ - Garage door',
    vendor: ' Legrand',
    description: 'Automatically generated definition',
    extend: [windowCovering({"controls":["lift","tilt"]}), binary({"name":"binary_input_1","cluster":"genBinaryInput","attribute":"presentValue","reporting":{"attribute":"presentValue","min":"MIN","max":"MAX","change":1},"valueOn":["ON",1],"valueOff":["OFF",0],"description":"binary_input_1","access":"STATE_GET","endpointName":"1"}), commandsWindowCovering()],
    meta: {},
};

module.exports = definition;`

The status information seems better handled, but I'm not sure what to do next.

{ "linkquality": 255, "position": 0, "state": "CLOSE", "device": { "applicationVersion": 0, "dateCode": " \u000020240117\u0000\u0000\u0000\u0000\u0000", "friendlyName": "0x0004740000280f20", "hardwareVersion": 1, "ieeeAddr": "0x0004740000280f20", "manufacturerID": 4129, "manufacturerName": " Legrand", "model": " NLJ - Garage door\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000", "networkAddress": 56364, "powerSource": "Mains (single phase)", "softwareBuildID": "000b", "stackVersion": 69, "type": "Router", "zclVersion": 8 } }

@dsigmoun
Copy link
Author

And here is an error in the logs when trying to update the module

2024-09-27 21:12:53z2m: Failed to configure '0x0004740000280f20', attempt 5 (Error: ZCL command 0x0004740000280f20/1 closuresWindowCovering.configReport([{"minimumReportInterval":1,"maximumReportInterval":65000,"reportableChange":1,"attribute":"currentPositionLiftPercentage"}], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (no response received (99) waiting for response TIMEOUT) at DeconzAdapter.sendZclFrameToEndpoint (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts:931:19) at runNextTicks (node:internal/process/task_queues:60:5) at processTimers (node:internal/timers:516:9) at Request.send (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/controller/helpers/request.ts:82:20) at Endpoint.zclCommand (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:911:28) at Endpoint.configureReporting (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:648:9) at setupAttributes (/opt/zigbee2mqtt/node_modules/zigbee-herdsman-converters/src/lib/modernExtend.ts:110:13) at configure (/opt/zigbee2mqtt/node_modules/zigbee-herdsman-converters/src/lib/modernExtend.ts:155:17) at Object.configure (/opt/zigbee2mqtt/node_modules/zigbee-herdsman-converters/src/index.ts:193:21) at Configure.configure (/opt/zigbee2mqtt/lib/extension/configure.ts:125:13))

Copy link
Contributor

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days

@github-actions github-actions bot added the stale label Dec 11, 2024
@dsigmoun dsigmoun closed this as not planned Won't fix, can't repro, duplicate, stale Dec 11, 2024
@dsigmoun dsigmoun reopened this Dec 11, 2024
@github-actions github-actions bot removed the stale label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant