lunarok / jeedom_MQTT

Plugin pour Jeedom pour MQTT
https://lunarok-domotique.com/
5 stars 9 forks source link

Pas de remontée de commandes #33

Open LHDN85 opened 3 years ago

LHDN85 commented 3 years ago

Bonjour,

Je rencontre un problème sur un équipement ajouté avec zigbee2mqtt. Tous mes équipements, lorsqu'ils sont paired, remontent correctement dans le plugin MQTT. Sauf celui-là : un spot LED RGBCW.

J'arrive bien à le piloter directement avec mosquitto_pub, ce qui déclenche des créations de commandes dans le plugin, mais impossible d'avoir le mapping complet lors du pairing.

Petite info qui peut avoir son importance : je reçois un "device announced" à chaque redémarrage du périphérique, ceci ne nuisant cependant pas au fonctionnement via mosquitto_pub.

Aug 07 23:56:39 pi npm[8404]: Zigbee2MQTT:info  2021-08-07 23:56:39: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x00124b00234dc5f3","ieee_address":"0x00124b00234dc5f3"},"type":"device_announce"}'
Aug 07 23:56:39 pi npm[8404]: Zigbee2MQTT:info  2021-08-07 23:56:39: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"announce","meta":{"friendly_name":"0x00124b00234dc5f3"},"type":"device_announced"}'
Aug 07 23:56:52 pi npm[8404]: Zigbee2MQTT:info  2021-08-07 23:56:52: Successfully interviewed '0x00124b00234dc5f3', device has successfully been paired
Aug 07 23:56:52 pi npm[8404]: Zigbee2MQTT:info  2021-08-07 23:56:52: Device '0x00124b00234dc5f3' is supported, identified as: Lonsonho Zigbee 3.0 LED-bulb, RGBW LED (ZB-RGBCW)
Aug 07 23:56:52 pi npm[8404]: Zigbee2MQTT:info  2021-08-07 23:56:52: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Zigbee 3.0 LED-bulb, RGBW LED","exposes":[{"features":[{"access":7,"description":"On/off state of this light","name":"state","property":"state","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"},{"access":7,"description":"Brightness of this light","name":"brightness","property":"brightness","type":"numeric","value_max":254,"value_min":0},{"access":7,"description":"Color temperature of this light","name":"color_temp","presets":[{"description":"Coolest temperature supported","name":"coolest","value":153},{"description":"Cool temperature (250 mireds / 4000 Kelvin)","name":"cool","value":250},{"description":"Neutral temperature (370 mireds / 2700 Kelvin)","name":"neutral","value":370},{"description":"Warmest temperature supported","name":"warmest","value":370}],"property":"color_temp","type":"numeric","unit":"mired","value_max":370,"value_min":153},{"description":"Color of this light in the CIE 1931 color space (x/y)","features":[{"access":7,"name":"x","property":"x","type":"numeric"},{"access":7,"name":"y","property":"y","type":"numeric"}],"name":"color_xy","property":"color","type":"composite"}],"type":"light"},{"access":1,"description":"Link quality (signal strength)","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"ZB-RGBCW","supports_ota":false,"vendor":"Lonsonho"},"friendly_name":"0x00124b00234dc5f3","ieee_address":"0x00124b00234dc5f3","status":"successful","supported":true},"type":"device_interview"}'
Aug 07 23:56:53 pi npm[8404]: Zigbee2MQTT:info  2021-08-07 23:56:53: Configuring '0x00124b00234dc5f3'
Aug 07 23:56:53 pi npm[8404]: Zigbee2MQTT:info  2021-08-07 23:56:53: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_successful","meta":{"description":"Zigbee 3.0 LED-bulb, RGBW LED","friendly_name":"0x00124b00234dc5f3","model":"ZB-RGBCW","supported":true,"vendor":"Lonsonho"},"type":"pairing"}'
Aug 07 23:56:53 pi npm[8404]: Zigbee2MQTT:info  2021-08-07 23:56:53: MQTT publish: topic 'zigbee2mqtt/0x00124b00234dc5f3', payload '{"color_mode":"xy","linkquality":34}'
Aug 07 23:56:53 pi npm[8404]: Zigbee2MQTT:info  2021-08-07 23:56:53: MQTT publish: topic 'zigbee2mqtt/0x00124b00234dc5f3', payload '{"color_mode":"xy","linkquality":36}'
Aug 07 23:56:53 pi npm[8404]: Zigbee2MQTT:info  2021-08-07 23:56:53: Successfully configured '0x00124b00234dc5f3'

Est-ce un problème via Herdsman converters ?

{
        zigbeeModel: ['ZB-RGBCW'],
        fingerprint: [{modelID: 'ZB-CL01', manufacturerName: 'eWeLight'}, {modelID: 'ZB-CL01', manufacturerName: 'eWeLink'},
            {modelID: 'ZB-CL02', manufacturerName: 'eWeLight'}],
        model: 'ZB-RGBCW',
        vendor: 'Lonsonho',
        description: 'Zigbee 3.0 LED-bulb, RGBW LED',
        extend: extend.light_onoff_brightness_colortemp_color(
            {disableColorTempStartup: true, colorTempRange: [153, 370], disableEffect: true}),
    },