Ajout d'équipement non reconnu a Zigbee2Mqtt

Salut, j’ai acheté un détecteur de présence à Leroy Merlin le lexman avec l’immunité des animaux, il est à ce jour pas reconnu par Zigbee2Mqtt.
J’ai tenter de suivre la procédure pour ajouter un device sur leur wiki mais ayant de très faible competence en anglais et je ne comprend pas la démarche.

Est ce que quelqu’un saurait m’expliquer la marche à suivre afin également de leur faire ajouter le module dans leur base merci.

Salut,
Ajoutes le et récupère la ligne qui va se créer dans la database.
Tu as accès à la database dans la configuration de zigbeelinker :
image

Ensuite, je te guiderais pour le reste.

Merci pour ton aide voici la ligne.

{"id":87,"type":"EndDevice","ieeeAddr":"0x5c0272fffeb357be","nwkAddr":33708,"manufId":4727,"manufName":"ADEO","powerSource":"Battery","modelId":"LDSENK10","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":1026,"inClusterList":[0,1,3,32,1280,2821],"outClusterList":[25],"clusters":{"genBasic":{"attributes":{"modelId":"LDSENK10","manufacturerName":"ADEO","powerSource":3,"zclVersion":3,"appVersion":2,"stackVersion":6,"hwVersion":2,"dateCode":"20190523-16","swBuildId":"2.03"}},"ssIasZone":{"attributes":{"iasCieAddr":"0x00124b00239318f5","zoneState":1}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":2,"stackVersion":6,"hwVersion":2,"dateCode":"20190523-16","swBuildId":"2.03","zclVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1634402742874}

Pour la suite, tu peux demander de l’aide sur le issue du git.

Il te faut un lien vers la fiche du produit constructeur, et un lien vers l’image.

Tu sais écrire anglais ?

Euh lool pas vraiment🤣

Le produit en question le voici.

https://www.leroymerlin.fr/produits/electricite-domotique/domotique-et-objets-connectes/domotique/accessoires-de-gestion-des-motorisations-et-automatismes/detecteur-de-mouvement-animaux-lexman-82428878.html

S’il faut fournir des logs c je peux faire.:wink:

Je viens de créer une issue quand même.

2 « J'aime »

Envoi le lien vers l’issue stp, je regarderai du coup

Et voici le lien @MrGreen

https://github.com/Koenkk/zigbee2mqtt/issues/9178

Je suis d’ailleurs pas sur d’avoir fourni toutes les infos!

Bon vu le peu de réponse, on va essayer un truc :
va dans configuration du plugin et en bas cliques sur ajouter une définition.
Tu mets : LDSENK10
et tu valides
ensuite tu cliques sur editer et tu mets :

const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const extend = require('zigbee-herdsman-converters/lib/extend');
const e = exposes.presets;
const ea = exposes.access;

const definition = {
    zigbeeModel: ['LDSENK10'],
    model: 'LDSENK10',
    vendor: 'ADEO',
    description: 'LEXMAN Motion sensor',
    fromZigbee: [],
    toZigbee: [],
    exposes: [e.battery()],
};

module.exports = definition;

Tu sauvegardes,
tu le coches, et redémarres les démons zigbee2mqtt en mode debug (bouton juste au dessus)
image

Tu vas dans zigbee2mqtt, tu supprimes l’équipement (en cochant forcer) et tu le réintègres.

Tu vas dans le log (normalement déjà en mode debug) et tu fais des tests (passer devant et tout)
ça devrait te mettre des entrées
mets les moi ici

Salut, en effet ca bouge pas beaucoup voir pas du tout sur le Git je vois même des demandes d’ajout prise en compte alors que plus récente que la mienne ^^.Bref.

J’ai procédé à la manip et voici ces lignes.

les deux lignes ci-dessous c’est quand je joue avec le petit switch derrière l’appareil a la fermeture et ouverture du compartiment pile en gros c’est la détection de sabotage du module.

e[34mZigbee2MQTT:debuge[39m 2021-10-21 16:06:33: Received Zigbee message from '0x5c0272fffeb357be', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":49}' from endpoint 1 with groupID 0
2021-10-21T14:06:33.452Z zigbee-herdsman:controller:endpoint DefaultResponse 0x5c0272fffeb357be/1 1280(0, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":1,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false})
2021-10-21T14:06:33.452Z zigbee-herdsman:adapter:zStack:adapter sendZclFrameToEndpointInternal 0x5c0272fffeb357be:8635/1 (0,0,1)
e[34mZigbee2MQTT:debuge[39m 2021-10-21 16:06:35: Received Zigbee message from '0x5c0272fffeb357be', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":53}' from endpoint 1 with groupID 0
2021-10-21T14:06:35.994Z zigbee-herdsman:controller:endpoint DefaultResponse 0x5c0272fffeb357be/1 1280(0, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":1,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false})
2021-10-21T14:06:35.994Z zigbee-herdsman:adapter:zStack:adapter sendZclFrameToEndpointInternal 0x5c0272fffeb357be:8635/1 (0,0,1)

Ici voici la ligne a la détection
`` du mouvement.

e[34mZigbee2MQTT:debuge[39m 2021-10-21 16:17:19: Received Zigbee message from '0x5c0272fffeb357be', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":49}' from endpoint 1 with groupID 0
2021-10-21T14:17:19.795Z zigbee-herdsman:controller:endpoint DefaultResponse 0x5c0272fffeb357be/1 1280(0, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":1,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false})
2021-10-21T14:17:19.795Z zigbee-herdsman:adapter:zStack:adapter sendZclFrameToEndpointInternal 0x5c0272fffeb357be:8635/1 (0,0,1)

Sinon a l’inclusion ca donne ca

2021-10-21T14:02:26.458Z zigbee-herdsman:controller:log Device '0x5c0272fffeb357be' joined
2021-10-21T14:02:26.458Z zigbee-herdsman:controller:log Device '0x5c0272fffeb357be' accepted by handler
2021-10-21T14:02:26.458Z zigbee-herdsman:controller:log New device '0x5c0272fffeb357be' joined
2021-10-21T14:02:26.458Z zigbee-herdsman:controller:log Creating device '0x5c0272fffeb357be'
e[32mZigbee2MQTT:info e[39m 2021-10-21 16:02:26: Device '0x5c0272fffeb357be' joined
e[32mZigbee2MQTT:info e[39m 2021-10-21 16:02:26: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x5c0272fffeb357be","ieee_address":"0x5c0272fffeb357be"},"type":"device_joined"}'
2021-10-21T14:02:26.604Z zigbee-herdsman:controller:log Interview '0x5c0272fffeb357be' start
e[32mZigbee2MQTT:info e[39m 2021-10-21 16:02:26: Starting interview of '0x5c0272fffeb357be'
e[32mZigbee2MQTT:info e[39m 2021-10-21 16:02:26: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x5c0272fffeb357be","ieee_address":"0x5c0272fffeb357be","status":"started"},"type":"device_interview"}'
2021-10-21T14:02:26.681Z zigbee-herdsman:controller:device:log Interview - start device '0x5c0272fffeb357be'
2021-10-21T14:02:28.605Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- ZDO - tcDeviceInd - {"nwkaddr":51976,"extaddr":"0x5c0272fffeb357be","parentaddr":21659}
2021-10-21T14:02:28.605Z zigbee-herdsman:controller:log Device '0x5c0272fffeb357be' joined
2021-10-21T14:02:28.605Z zigbee-herdsman:controller:log Device '0x5c0272fffeb357be' accepted by handler
2021-10-21T14:02:28.605Z zigbee-herdsman:controller:log Device '0x5c0272fffeb357be' is already in database with different networkAddress, updating networkAddress
2021-10-21T14:02:28.607Z zigbee-herdsman:controller:log Not interviewing '0x5c0272fffeb357be', completed 'false', in progress 'true'
2021-10-21T14:02:31.121Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- ZDO - tcDeviceInd - {"nwkaddr":8635,"extaddr":"0x5c0272fffeb357be","parentaddr":62592}
2021-10-21T14:02:31.121Z zigbee-herdsman:controller:log Device '0x5c0272fffeb357be' joined
2021-10-21T14:02:31.121Z zigbee-herdsman:controller:log Device '0x5c0272fffeb357be' accepted by handler
2021-10-21T14:02:31.121Z zigbee-herdsman:controller:log Device '0x5c0272fffeb357be' is already in database with different networkAddress, updating networkAddress
2021-10-21T14:02:31.123Z zigbee-herdsman:controller:log Not interviewing '0x5c0272fffeb357be', completed 'false', in progress 'true'
2021-10-21T14:02:31.296Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- ZDO - endDeviceAnnceInd - {"srcaddr":8635,"nwkaddr":8635,"ieeeaddr":"0x5c0272fffeb357be","capabilities":128}
2021-10-21T14:02:31.296Z zigbee-herdsman:controller:log Device announce '0x5c0272fffeb357be'
e[34mZigbee2MQTT:debuge[39m 2021-10-21 16:02:31: Device '0x5c0272fffeb357be' announced itself
e[32mZigbee2MQTT:info e[39m 2021-10-21 16:02:31: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x5c0272fffeb357be","ieee_address":"0x5c0272fffeb357be"},"type":"device_announce"}'
e[34mZigbee2MQTT:debuge[39m 2021-10-21 16:02:43: Received Zigbee message from '0x5c0272fffeb357be', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":1,"fileVersion":570621958,"imageType":33281,"manufacturerCode":4727}' from endpoint 1 with groupID 0
2021-10-21T14:02:49.906Z zigbee-herdsman:controller:device:log Interview - node descriptor request failed for '0x5c0272fffeb357be', attempt 1
2021-10-21T14:02:50.044Z zigbee-herdsman:controller:device:log Interview - got node descriptor for device '0x5c0272fffeb357be'
2021-10-21T14:02:50.550Z zigbee-herdsman:controller:device:log Interview - got active endpoints for device '0x5c0272fffeb357be'
2021-10-21T14:02:51.069Z zigbee-herdsman:controller:device:log Interview - got simple descriptor for endpoint '1' device '0x5c0272fffeb357be'
2021-10-21T14:02:51.072Z zigbee-herdsman:controller:endpoint Read 0x5c0272fffeb357be/1 genBasic(["modelId"], {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false})
2021-10-21T14:02:51.072Z zigbee-herdsman:adapter:zStack:adapter sendZclFrameToEndpointInternal 0x5c0272fffeb357be:8635/1 (0,0,1)
e[34mZigbee2MQTT:debuge[39m 2021-10-21 16:02:51: Received Zigbee message from '0x5c0272fffeb357be', type 'readResponse', cluster 'genBasic', data '{"modelId":"LDSENK10"}' from endpoint 1 with groupID 0
2021-10-21T14:02:51.652Z zigbee-herdsman:controller:device:log Interview - got 'modelID' for device '0x5c0272fffeb357be'
2021-10-21T14:02:51.652Z zigbee-herdsman:controller:endpoint Read 0x5c0272fffeb357be/1 genBasic(["manufacturerName"], {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false})
2021-10-21T14:02:51.652Z zigbee-herdsman:adapter:zStack:adapter sendZclFrameToEndpointInternal 0x5c0272fffeb357be:8635/1 (0,0,1)
e[34mZigbee2MQTT:debuge[39m 2021-10-21 16:02:52: Received Zigbee message from '0x5c0272fffeb357be', type 'readResponse', cluster 'genBasic', data '{"manufacturerName":"ADEO"}' from endpoint 1 with groupID 0
2021-10-21T14:02:52.092Z zigbee-herdsman:controller:device:log Interview - got 'manufacturerName' for device '0x5c0272fffeb357be'
2021-10-21T14:02:52.092Z zigbee-herdsman:controller:endpoint Read 0x5c0272fffeb357be/1 genBasic(["powerSource"], {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false})
2021-10-21T14:02:52.092Z zigbee-herdsman:adapter:zStack:adapter sendZclFrameToEndpointInternal 0x5c0272fffeb357be:8635/1 (0,0,1)
e[34mZigbee2MQTT:debuge[39m 2021-10-21 16:02:52: Received Zigbee message from '0x5c0272fffeb357be', type 'readResponse', cluster 'genBasic', data '{"powerSource":3}' from endpoint 1 with groupID 0
2021-10-21T14:02:52.589Z zigbee-herdsman:controller:device:log Interview - got 'powerSource' for device '0x5c0272fffeb357be'
2021-10-21T14:02:52.589Z zigbee-herdsman:controller:endpoint Read 0x5c0272fffeb357be/1 genBasic(["zclVersion"], {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false})
2021-10-21T14:02:52.589Z zigbee-herdsman:adapter:zStack:adapter sendZclFrameToEndpointInternal 0x5c0272fffeb357be:8635/1 (0,0,1)
e[34mZigbee2MQTT:debuge[39m 2021-10-21 16:02:53: Received Zigbee message from '0x5c0272fffeb357be', type 'readResponse', cluster 'genBasic', data '{"zclVersion":3}' from endpoint 1 with groupID 0
2021-10-21T14:02:53.099Z zigbee-herdsman:controller:device:log Interview - got 'zclVersion' for device '0x5c0272fffeb357be'
2021-10-21T14:02:53.099Z zigbee-herdsman:controller:endpoint Read 0x5c0272fffeb357be/1 genBasic(["appVersion"], {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false})
2021-10-21T14:02:53.099Z zigbee-herdsman:adapter:zStack:adapter sendZclFrameToEndpointInternal 0x5c0272fffeb357be:8635/1 (0,0,1)
e[34mZigbee2MQTT:debuge[39m 2021-10-21 16:02:53: Received Zigbee message from '0x5c0272fffeb357be', type 'readResponse', cluster 'genBasic', data '{"appVersion":2}' from endpoint 1 with groupID 0
2021-10-21T14:02:53.653Z zigbee-herdsman:controller:device:log Interview - got 'applicationVersion' for device '0x5c0272fffeb357be'
2021-10-21T14:02:53.653Z zigbee-herdsman:controller:endpoint Read 0x5c0272fffeb357be/1 genBasic(["stackVersion"], {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false})
2021-10-21T14:02:53.653Z zigbee-herdsman:adapter:zStack:adapter sendZclFrameToEndpointInternal 0x5c0272fffeb357be:8635/1 (0,0,1)
e[34mZigbee2MQTT:debuge[39m 2021-10-21 16:02:54: Received Zigbee message from '0x5c0272fffeb357be', type 'readResponse', cluster 'genBasic', data '{"stackVersion":6}' from endpoint 1 with groupID 0
2021-10-21T14:02:54.112Z zigbee-herdsman:controller:device:log Interview - got 'stackVersion' for device '0x5c0272fffeb357be'
2021-10-21T14:02:54.112Z zigbee-herdsman:controller:endpoint Read 0x5c0272fffeb357be/1 genBasic(["hwVersion"], {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false})
2021-10-21T14:02:54.112Z zigbee-herdsman:adapter:zStack:adapter sendZclFrameToEndpointInternal 0x5c0272fffeb357be:8635/1 (0,0,1)
e[34mZigbee2MQTT:debuge[39m 2021-10-21 16:02:54: Received Zigbee message from '0x5c0272fffeb357be', type 'readResponse', cluster 'genBasic', data '{"hwVersion":2}' from endpoint 1 with groupID 0
2021-10-21T14:02:54.616Z zigbee-herdsman:controller:device:log Interview - got 'hardwareVersion' for device '0x5c0272fffeb357be'
2021-10-21T14:02:54.616Z zigbee-herdsman:controller:endpoint Read 0x5c0272fffeb357be/1 genBasic(["dateCode"], {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false})
2021-10-21T14:02:54.616Z zigbee-herdsman:adapter:zStack:adapter sendZclFrameToEndpointInternal 0x5c0272fffeb357be:8635/1 (0,0,1)
e[34mZigbee2MQTT:debuge[39m 2021-10-21 16:02:55: Received Zigbee message from '0x5c0272fffeb357be', type 'readResponse', cluster 'genBasic', data '{"dateCode":"20190523-16"}' from endpoint 1 with groupID 0
2021-10-21T14:02:55.126Z zigbee-herdsman:controller:device:log Interview - got 'dateCode' for device '0x5c0272fffeb357be'
2021-10-21T14:02:55.126Z zigbee-herdsman:controller:endpoint Read 0x5c0272fffeb357be/1 genBasic(["swBuildId"], {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false})
2021-10-21T14:02:55.126Z zigbee-herdsman:adapter:zStack:adapter sendZclFrameToEndpointInternal 0x5c0272fffeb357be:8635/1 (0,0,1)
e[34mZigbee2MQTT:debuge[39m 2021-10-21 16:02:55: Received Zigbee message from '0x5c0272fffeb357be', type 'readResponse', cluster 'genBasic', data '{"swBuildId":"2.03"}' from endpoint 1 with groupID 0
2021-10-21T14:02:55.638Z zigbee-herdsman:controller:device:log Interview - got 'softwareBuildID' for device '0x5c0272fffeb357be'
2021-10-21T14:02:55.640Z zigbee-herdsman:controller:device:log Interview - IAS - enrolling '0x5c0272fffeb357be' endpoint '1'
2021-10-21T14:02:55.640Z zigbee-herdsman:controller:endpoint Read 0x5c0272fffeb357be/1 ssIasZone(["iasCieAddr","zoneState"], {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false})
2021-10-21T14:02:55.640Z zigbee-herdsman:adapter:zStack:adapter sendZclFrameToEndpointInternal 0x5c0272fffeb357be:8635/1 (0,0,1)
e[34mZigbee2MQTT:debuge[39m 2021-10-21 16:02:56: Received Zigbee message from '0x5c0272fffeb357be', type 'readResponse', cluster 'ssIasZone', data '{"iasCieAddr":"0x0000000000000000","zoneState":0}' from endpoint 1 with groupID 0
2021-10-21T14:02:56.139Z zigbee-herdsman:controller:endpoint Write 0x5c0272fffeb357be/1 ssIasZone({"iasCieAddr":"0x00124b00239318f5"}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false})
2021-10-21T14:02:56.139Z zigbee-herdsman:adapter:zStack:adapter sendZclFrameToEndpointInternal 0x5c0272fffeb357be:8635/1 (0,0,1)
2021-10-21T14:02:57.137Z zigbee-herdsman:controller:device:log IAS - '0x5c0272fffeb357be' sending enroll response (auto enroll)
2021-10-21T14:02:57.137Z zigbee-herdsman:controller:endpoint Command 0x5c0272fffeb357be/1 ssIasZone.enrollRsp({"enrollrspcode":0,"zoneid":23}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false})
2021-10-21T14:02:57.137Z zigbee-herdsman:adapter:zStack:adapter sendZclFrameToEndpointInternal 0x5c0272fffeb357be:8635/1 (0,0,1)
2021-10-21T14:02:57.665Z zigbee-herdsman:controller:endpoint Read 0x5c0272fffeb357be/1 ssIasZone(["iasCieAddr","zoneState"], {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false})
2021-10-21T14:02:57.665Z zigbee-herdsman:adapter:zStack:adapter sendZclFrameToEndpointInternal 0x5c0272fffeb357be:8635/1 (0,0,1)
e[34mZigbee2MQTT:debuge[39m 2021-10-21 16:02:58: Received Zigbee message from '0x5c0272fffeb357be', type 'readResponse', cluster 'ssIasZone', data '{"iasCieAddr":"0x00124b00239318f5","zoneState":1}' from endpoint 1 with groupID 0
2021-10-21T14:02:58.724Z zigbee-herdsman:controller:device:log Interview - IAS successfully enrolled '0x5c0272fffeb357be' endpoint '1'
2021-10-21T14:02:58.724Z zigbee-herdsman:controller:device:log Interview - completed for device '0x5c0272fffeb357be'
2021-10-21T14:02:58.726Z zigbee-herdsman:controller:log Succesfully interviewed '0x5c0272fffeb357be'
e[32mZigbee2MQTT:info e[39m 2021-10-21 16:02:58: Successfully interviewed '0x5c0272fffeb357be', device has successfully been paired
e[32mZigbee2MQTT:info e[39m 2021-10-21 16:02:58: Device '0x5c0272fffeb357be' is supported, identified as: ADEO LEXMAN Motion sensor (LDSENK10)
e[32mZigbee2MQTT:info e[39m 2021-10-21 16:02:58: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"LEXMAN Motion sensor","exposes":[{"access":1,"description":"Remaining battery in %","name":"battery","property":"battery","type":"numeric","unit":"%","value_max":100,"value_min":0},{"access":1,"description":"Link quality (signal strength)","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"LDSENK10","supports_ota":false,"vendor":"ADEO"},"friendly_name":"0x5c0272fffeb357be","ieee_address":"0x5c0272fffeb357be","status":"successful","supported":true},"type":"device_interview"}'
e[34mZigbee2MQTT:debuge[39m 2021-10-21 16:02:59: Received Zigbee message from '0x5c0272fffeb357be', type 'readResponse', cluster 'ssIasZone', data '{"iasCieAddr":"0x00124b00239318f5","zoneState":1}' from endpoint 1 with groupID 0
2021-10-21T14:03:02.305Z zigbee-herdsman:controller:device:log IAS - '0x5c0272fffeb357be' responding to enroll response
2021-10-21T14:03:02.305Z zigbee-herdsman:controller:endpoint Command 0x5c0272fffeb357be/1 ssIasZone.enrollRsp({"enrollrspcode":0,"zoneid":23}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false})
2021-10-21T14:03:02.306Z zigbee-herdsman:adapter:zStack:adapter sendZclFrameToEndpointInternal 0x5c0272fffeb357be:8635/1 (0,0,1)
2021-10-21T14:03:02.329Z zigbee-herdsman:controller:endpoint DefaultResponse 0x5c0272fffeb357be/1 1280(1, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":1,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false})
2021-10-21T14:03:02.329Z zigbee-herdsman:adapter:zStack:adapter sendZclFrameToEndpointInternal 0x5c0272fffeb357be:8635/1 (0,0,1)

tu peux récupérer les lignes du log dans zigbee2mqtt (en debug)
tu dois avoir des erreur etc… non ?

Dois-je filtrer le log avec l’adresse IEEE parce que là ça parle beaucoup avec tout mes modules

Debug Received Zigbee message from '0x5c0272fffeb357be', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":49}' from endpoint 1 with groupID 0
Debug Received Zigbee message from '0x5c0272fffeb357be', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":53}' from endpoint 1 with groupID 0
Debug Received Zigbee message from '0x5c0272fffeb357be', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":49}' from endpoint 1 with groupID 0
Debug Received Zigbee message from '0x5c0272fffeb357be', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":53}' from endpoint 1 with groupID 0
Debug Received Zigbee message from '0x5c0272fffeb357be', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":49}' from endpoint 1 with groupID 0
Debug Received Zigbee message from '0x5c0272fffeb357be', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":49}' from endpoint 1 with groupID 0
Debug No converter available for 'LDSENK10' with cluster 'ssIasZone' and type 'commandStatusChangeNotification' and data '{"extendedstatus":0,"zonestatus":49}'
 Received Zigbee message from '0x5c0272fffeb357be', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":49}' from endpoint 1 with groupID 0
Debug No converter available for 'LDSENK10' with cluster 'ssIasZone' and type 'commandStatusChangeNotification' and data '{"extendedstatus":0,"zonestatus":49}'
Debug Received Zigbee message from '0x5c0272fffeb357be', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":53}' from endpoint 1 with groupID 0
Debug No converter available for 'LDSENK10' with cluster 'ssIasZone' and type 'commandStatusChangeNotification' and data '{"extendedstatus":0,"zonestatus":53}'
Debug Received Zigbee message from '0x5c0272fffeb357be', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":49}' from endpoint 1 with groupID 0
Debug No converter available for 'LDSENK10' with cluster 'ssIasZone' and type 'commandStatusChangeNotification' and data '{"extendedstatus":0,"zonestatus":49}'
Debug Received Zigbee message from '0x5c0272fffeb357be', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":53}' from endpoint 1 with groupID 0
Debug No converter available for 'LDSENK10' with cluster 'ssIasZone' and type 'commandStatusChangeNotification' and data '{"extendedstatus":0,"zonestatus":53}'
Debug Received Zigbee message from '0x5c0272fffeb357be', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":49}' from endpoint 1 with groupID 0
Debug No converter available for 'LDSENK10' with cluster 'ssIasZone' and type 'commandStatusChangeNotification' and data '{"extendedstatus":0,"zonestatus":49}'

Filtres avec ça : No converter available for

En fait, il faudrait leur donner le received et le No converter available for

parfait. le 49 c’est du mouvement et le 53 c’est l’ouverture capot non ?

Bah c’est bizarre car quand j’ouvre le capot j’ai 53 et fermeture 49 au mouvement c’est 49 aussi.

J’ai un 48 qui vient de sortir aussi

No converter available for 'LDSENK10' with cluster 'ssIasZone' and type 'commandStatusChangeNotification' and data '{"extendedstatus":0,"zonestatus":48}'

D’apres moi le 48 c’est quand le detecteur fait son retour d’état a 0 au bout d’un certain temps.

1 « J'aime »

Ha ok

bon ben quand tu as toutes les infos sure, tu peux mettre un post en plus dans ton issue avec ces éléments et quelle ligne correspond à quoi
« can you help me to create the definition file please »
:wink:

Tout d’abord merci beaucoup pour ton temps et ta réactivité :wink:.

Je vais t’embêter encore un peu, car je vais avoir du mal à m’expliquer en anglais sur justement à quoi correspond les lignes, penses-tu pouvoir poster sur le git pour moi ou me faire un pre- post que je copie colle sur l’issue ? Désolé je t’en demande beaucoup qu’est-ce qu’on est mauvais en France pour les langue :stuck_out_tongue:

Sinon je peux tenter Google traduction mais quand c’est du langage un peu technique c’est pas très bien traduit.

Salut @MrGreen.

Le plugin Zigbee a pu ajouter le modèle, penses tu que ceci peu aider sur le git de zigbee2Mqtt. Un log qui vient de Zigpy

{
    "ieee": "5c:02:72:ff:fe:94:7c:96",
    "nwk": 54495,
    "status": 2,
    "lqi": "136",
    "rssi": "-66",
    "last_seen": "1633325377.3224218",
    "node_descriptor": "02:40:80:77:12:52:52:00:00:2c:52:00:00",
    "endpoints": [
        {
            "id": 1,
            "status": 1,
            "device_type": 1026,
            "profile_id": 260,
            "manufacturer": "ADEO",
            "model": "LDSENK10",
            "output_clusters": [
                {
                    "id": 25,
                    "name": "Ota",
                    "attributes": []
                }
            ],
            "input_clusters": [
                {
                    "id": 0,
                    "name": "Basic",
                    "attributes": [
                        {
                            "id": 0,
                            "name": "zcl_version",
                            "value": 3
                        },
                        {
                            "id": 1,
                            "name": "app_version",
                            "value": 2
                        },
                        {
                            "id": 2,
                            "name": "stack_version",
                            "value": 6
                        },
                        {
                            "id": 3,
                            "name": "hw_version",
                            "value": 2
                        },
                        {
                            "id": 4,
                            "name": "manufacturer",
                            "value": "ADEO"
                        },
                        {
                            "id": 5,
                            "name": "model",
                            "value": "LDSENK10"
                        },
                        {
                            "id": 6,
                            "name": "date_code",
                            "value": "20190523-16"
                        },
                        {
                            "id": 7,
                            "name": "power_source",
                            "value": 3
                        },
                        {
                            "id": 16384,
                            "name": "sw_build_id",
                            "value": "2.03"
                        }
                    ]
                },
                {
                    "id": 1,
                    "name": "Power Configuration",
                    "attributes": []
                },
                {
                    "id": 3,
                    "name": "Identify",
                    "attributes": []
                },
                {
                    "id": 32,
                    "name": "Poll Control",
                    "attributes": [
                        {
                            "id": 0,
                            "name": "checkin_interval",
                            "value": 14400
                        }
                    ]
                },
                {
                    "id": 1280,
                    "name": "IAS Zone",
                    "attributes": [
                        {
                            "id": 16,
                            "name": "cie_addr",
                            "value": [
                                158,
                                132,
                                119,
                                254,
                                255,
                                80,
                                75,
                                128
                            ]
                        }
                    ]
                },
                {
                    "id": 2821,
                    "name": "Diagnostic",
                    "attributes": []
                }
            ]
        }
    ],
    "signature": {
        "manufacturer": "ADEO",
        "model": "LDSENK10",
        "node_desc": {
            "logical_type": 2,
            "complex_descriptor_available": 0,
            "user_descriptor_available": 0,
            "reserved": 0,
            "aps_flags": 0,
            "frequency_band": 8,
            "mac_capability_flags": 128,
            "manufacturer_code": 4727,
            "maximum_buffer_size": 82,
            "maximum_incoming_transfer_size": 82,
            "server_mask": 11264,
            "maximum_outgoing_transfer_size": 82,
            "descriptor_capability_field": 0
        },
        "endpoints": {
            "1": {
                "profile_id": 260,
                "device_type": 1026,
                "input_clusters": [
                    0,
                    1,
                    3,
                    32,
                    1280,
                    2821
                ],
                "output_clusters": [
                    25
                ]
            }
        }
    },
    "class": "zigpy.device"
}

Salut, désolé, en ce moment, je suis un peu partout :wink:
As tu essayé cela :

const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const extend = require('zigbee-herdsman-converters/lib/extend');
const e = exposes.presets;
const ea = exposes.access;

const definition = {
    zigbeeModel: ['LDSENK10'],
    model: 'LDSENK10',
    vendor: 'ADEO',
    description: 'LEXMAN Motion sensor',
    fromZigbee: [fz.ias_occupancy_alarm_1],
    toZigbee: [],
    exposes: [e.occupancy(), e.battery_low(), e.tamper()],
};

module.exports = definition;

Ensuite, tu redémarres z2m, et tu réappaires (sans le supprimer) ton équipement.
à mon avis, cela doit fonctionner.

Salut t’inquiètes y’a pas de soucis malheureusement ça ne fonctionne pas rien ne remonte si ce n’est le lqi, sur github koenkk me demande du coup ce que j’ai dans le log debug mais avec le .js a jour je n’ai plus rien qui remonte même en debug.:thinking: