Bonsoir,
Je crois avoir eu la fausse bonne idée de mettre un Friendly name à mes périphériques sous Zigbee2Mqtt. Je ne m’en suis pas aperçu de suite mais il semble qu’avec un friendly name qui n’est plus celui par défaut, les messages MQTT reçus ne sont plus parsés par le plugin JeeZigbee
Les infos ne remontent pas dans JeeZigbee mais les actions passent, on peut toujours piloter les périphériques.
Voici un extrait du log en débug de mqtt2
[2023-03-26 18:26:05][DEBUG] : Received message on topic : zigbee2mqtt/bridge/logging => {"level":"info","message":"MQTT publish: topic 'zigbee2mqtt/Séjour - Prise leds', payload '{\"child_lock\":\"UNLOCK\",\"current\":0.44,\"energy\":38.6,\"indicator_mode\":\"off/on\",\"last_seen\":\"2023-03-26T20:26:05+02:00\",\"linkquality\":160,\"power\":64,\"power_outage_memory\":\"restore\",\"state\":\"ON\",\"update\":{\"installed_version\":192,\"latest_version\":192,\"state\":\"idle\"},\"update_available\":false,\"voltage\":241}'"}
[2023-03-26 18:26:05][DEBUG] : Received message on topic : zigbee2mqtt/Séjour - Prise leds => {"child_lock":"UNLOCK","current":0.44,"energy":38.6,"indicator_mode":"off/on","last_seen":"2023-03-26T20:26:05+02:00","linkquality":160,"power":64,"power_outage_memory":"restore","state":"ON","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":241}
[2023-03-26 18:26:05][DEBUG] : Received message on topic : zigbee2mqtt/bridge/logging => {"level":"info","message":"MQTT publish: topic 'zigbee2mqtt/Séjour - Prise leds', payload '{\"child_lock\":\"UNLOCK\",\"current\":0.44,\"energy\":38.6,\"indicator_mode\":\"off/on\",\"last_seen\":\"2023-03-26T20:26:05+02:00\",\"linkquality\":160,\"power\":64,\"power_outage_memory\":\"restore\",\"state\":\"ON\",\"update\":{\"installed_version\":192,\"latest_version\":192,\"state\":\"idle\"},\"update_available\":false,\"voltage\":241}'"}
[2023-03-26 18:26:05][DEBUG] : Received message on topic : zigbee2mqtt/Séjour - Prise leds => {"child_lock":"UNLOCK","current":0.44,"energy":38.6,"indicator_mode":"off/on","last_seen":"2023-03-26T20:26:05+02:00","linkquality":160,"power":64,"power_outage_memory":"restore","state":"ON","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":241}
[2023-03-26 18:26:05][DEBUG] : Send data to jeedom : {"zigbee2mqtt":{"bridge":{"logging":{"level":"info","message":"MQTT publish: topic 'zigbee2mqtt/Séjour - Prise leds', payload '{\"child_lock\":\"UNLOCK\",\"current\":0.44,\"energy\":38.6,\"indicator_mode\":\"off/on\",\"last_seen\":\"2023-03-26T20:26:05+02:00\",\"linkquality\":160,\"power\":64,\"power_outage_memory\":\"restore\",\"state\":\"ON\",\"update\":{\"installed_version\":192,\"latest_version\":192,\"state\":\"idle\"},\"update_available\":false,\"voltage\":241}'"}},"Séjour - Prise leds":{"child_lock":"UNLOCK","current":0.44,"energy":38.6,"indicator_mode":"off/on","last_seen":"2023-03-26T20:26:05+02:00","linkquality":160,"power":64,"power_outage_memory":"restore","state":"ON","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":241}}}
[2023-03-26 18:26:06][DEBUG] : Received message on topic : zwave/_EVENTS/ZWAVE_GATEWAY-Jeedom/node/statistics_updated => {"data":[{"id":30,"inited":true,"status":4,"isControllerNode":false,"interviewStage":5,"deviceClass":{"basic":"Routing Slave","generic":"Binary Switch","specific":"Binary Power Switch","mandatorySupportedCCs":["Basic","Binary Switch","All Switch"],"mandatoryControlCCs":[]},"zwavePlusVersion":1,"ready":true,"zwavePlusRoleType":5,"isListening":true,"isFrequentListening":false,"canSleep":false,"isRouting":true,"supportedDataRates":[40000,100000],"maxDataRate":100000,"supportsSecurity":false,"isSecure":false,"supportsBeaming":true,"protocolVersion":3,"firmwareVersion":"3.94","manufacturerId":600,"manufacturer":"Shenzhen Neo Electronics Co., Ltd.","productId":4231,"productDescription":"Wall Plug Switch","productType":3,"productLabel":"NAS-WR01Z","deviceDatabaseUrl":"https://devices.zwave-js.io/?jumpTo=0x0258:0x0003:0x1087:3.94","keepAwake":false},{"commandsTX":1,"commandsRX":283,"commandsDroppedRX":0,"commandsDroppedTX":0,"timeoutResponse":0,"rtt":150}]}
[2023-03-26 18:26:06][DEBUG] : Received message on topic : zwave/30/50/0/value/66561 => {"time":1679855166314,"value":246.35}
[2023-03-26 18:26:06][DEBUG] : Received message on topic : zwave/_EVENTS/ZWAVE_GATEWAY-Jeedom/node/node_value_updated => {"data":[{"id":30,"inited":true,"status":4,"isControllerNode":false,"interviewStage":5,"deviceClass":{"basic":"Routing Slave","generic":"Binary Switch","specific":"Binary Power Switch","mandatorySupportedCCs":["Basic","Binary Switch","All Switch"],"mandatoryControlCCs":[]},"zwavePlusVersion":1,"ready":true,"zwavePlusRoleType":5,"isListening":true,"isFrequentListening":false,"canSleep":false,"isRouting":true,"supportedDataRates":[40000,100000],"maxDataRate":100000,"supportsSecurity":false,"isSecure":false,"supportsBeaming":true,"protocolVersion":3,"firmwareVersion":"3.94","manufacturerId":600,"manufacturer":"Shenzhen Neo Electronics Co., Ltd.","productId":4231,"productDescription":"Wall Plug Switch","productType":3,"productLabel":"NAS-WR01Z","deviceDatabaseUrl":"https://devices.zwave-js.io/?jumpTo=0x0258:0x0003:0x1087:3.94","keepAwake":false},{"commandClassName":"Meter","commandClass":50,"property":"value","propertyKey":66561,"endpoint":0,"newValue":246.35,"prevValue":245.83,"propertyName":"value","propertyKeyName":"Electric_V_Consumed"}]}
[2023-03-26 18:26:06][DEBUG] : Received message on topic : zigbee2mqtt/bridge/logging => {"level":"info","message":"MQTT publish: topic 'zigbee2mqtt/Jardin - Vanne arrosage 4 voies', payload '{\"last_seen\":\"2023-03-26T20:26:06+02:00\",\"linkquality\":136,\"power_on_behavior_l1\":\"off\",\"power_on_behavior_l2\":\"off\",\"power_on_behavior_l3\":\"off\",\"power_on_behavior_l4\":\"off\",\"state_l1\":\"OFF\",\"state_l2\":\"OFF\",\"state_l3\":\"OFF\",\"state_l4\":\"OFF\"}'"}
[2023-03-26 18:26:06][DEBUG] : Received message on topic : zigbee2mqtt/Jardin - Vanne arrosage 4 voies => {"last_seen":"2023-03-26T20:26:06+02:00","linkquality":136,"power_on_behavior_l1":"off","power_on_behavior_l2":"off","power_on_behavior_l3":"off","power_on_behavior_l4":"off","state_l1":"OFF","state_l2":"OFF","state_l3":"OFF","state_l4":"OFF"}
Est-ce que j’ai fait une mauvaise manip en renommant mes périphériques, un problème connu, un bug ou est-ce « by design » ?
Quand je vois le contenu d’une ligne de log dans mqtt2, je n’y vois pas un id unique comme son IEEE Address qui permettrai de l’identifier avec certitude.