Zigbee2mqtt - Debug

@VonOx
2 nouveaux devices, détecteur de fumée et lumière (blanche uniquement - pas couleur).

Toujours au même endroit.

Tu sais comment demander à zigbee2mqtt de publier ce message sur le topic zigbee2mqtt/bridge/devices ?
Il le fait automatiquement ? Régulièrement ? Uniquement à la demande ?
Il faut publier sur zigbee2mqtt/bridge/devices/get ?

Au restart ou au pairing, j’ai pas trouvé de topic pour declencher ( j’ai pas beaucoup chercher non plus :sweat_smile:

@AlexTrovato pour le capteur de mouvement c’est pas plutot un motion-sensor en categorie ?

Car en db sur ma prod j’ai ça en external_id:
zigbee2mqtt:SonoffMotionSensor:motion-sensor:binary:occupancy

Et tu as généré:
zigbee2mqtt:SonoffMotionSensor:presence-sensor:binary:occupancy

1 Like

J’ai corrigé ce petit point,
j’ai également ajouté le modèle sur le device (que j’vais oublié).

Peux-tu vérifier si, en publiant sur le topic zigbee2mqtt/bridge/devices/get, on reçoit les devices ? Stp, merci :slight_smile:

Je viens de publier mon code, et ouvrir une PR : https://github.com/GladysAssistant/Gladys/pull/1302

2 commits :

  • le 1er : suppression massive
  • le 2nd : le parser de features

J’ai creuser un peu, tu avais raison

Il faut publish sur zigbee2mqtt/bridge/config/devices/get
Du coup la sortie est un peu différente j’ai l’impression car pas de expose

[
  {
    "dateCode": "20210120",
    "friendly_name": "Coordinator",
    "ieeeAddr": "0x00124b0021b95104",
    "lastSeen": 1632076894191,
    "networkAddress": 0,
    "softwareBuildID": "zStack3x0",
    "type": "Coordinator"
  },
  {
    "dateCode": "20161129",
    "description": "Aqara temperature, humidity and pressure sensor",
    "friendly_name": "Salon",
    "hardwareVersion": 30,
    "ieeeAddr": "0x00158d0002c14c65",
    "lastSeen": 1632074655454,
    "manufacturerID": 4151,
    "manufacturerName": "LUMI",
    "model": "WSDCGQ11LM",
    "modelID": "lumi.weather",
    "networkAddress": 44358,
    "powerSource": "Battery",
    "softwareBuildID": "3000-0001",
    "type": "EndDevice",
    "vendor": "Xiaomi"
  },
  {
    "dateCode": "20161129",
    "description": "Aqara temperature, humidity and pressure sensor",
    "friendly_name": "Cuisine",
    "hardwareVersion": 30,
    "ieeeAddr": "0x00158d0002c8ec72",
    "lastSeen": 1632075870772,
    "manufacturerID": 4151,
    "manufacturerName": "LUMI",
    "model": "WSDCGQ11LM",
    "modelID": "lumi.weather",
    "networkAddress": 62473,
    "powerSource": "Battery",
    "softwareBuildID": "3000-0001",
    "type": "EndDevice",
    "vendor": "Xiaomi"
  },
  {
    "dateCode": "20161128",
    "description": "Aqara door & window contact sensor",
    "friendly_name": "Porte Entrée",
    "hardwareVersion": 2,
    "ieeeAddr": "0x00158d00040aaf16",
    "lastSeen": 1632074438590,
    "manufacturerID": 4151,
    "manufacturerName": "LUMI",
    "model": "MCCGQ11LM",
    "modelID": "lumi.sensor_magnet.aq2",
    "networkAddress": 50183,
    "powerSource": "Battery",
    "softwareBuildID": "3000-0001",
    "type": "EndDevice",
    "vendor": "Xiaomi"
  },
  {
    "dateCode": "20191205",
    "description": "Aqara temperature, humidity and pressure sensor",
    "friendly_name": "Terrasse",
    "hardwareVersion": 30,
    "ieeeAddr": "0x00158d00019d4b8d",
    "lastSeen": 1632076573912,
    "manufacturerID": 4151,
    "manufacturerName": "LUMI",
    "model": "WSDCGQ11LM",
    "modelID": "lumi.weather",
    "networkAddress": 63305,
    "powerSource": "Battery",
    "softwareBuildID": "3000-0001",
    "type": "EndDevice",
    "vendor": "Xiaomi"
  },
  {
    "dateCode": "20191205",
    "description": "Aqara temperature, humidity and pressure sensor",
    "friendly_name": "Cave",
    "hardwareVersion": 30,
    "ieeeAddr": "0x00158d00019d5d8f",
    "lastSeen": 1632075965884,
    "manufacturerID": 4151,
    "manufacturerName": "LUMI",
    "model": "WSDCGQ11LM",
    "modelID": "lumi.weather",
    "networkAddress": 59611,
    "powerSource": "Battery",
    "softwareBuildID": "3000-0001",
    "type": "EndDevice",
    "vendor": "Xiaomi"
  },
  {
    "dateCode": "2018-09-26",
    "description": "[CC2530 router](http://ptvo.info/cc2530-based-zigbee-coordinator-and-router-112/)",
    "friendly_name": "Zigbee Router",
    "hardwareVersion": 1,
    "ieeeAddr": "0x00124b001b7d88dc",
    "lastSeen": 1632076854369,
    "manufacturerID": 4447,
    "manufacturerName": "LUMI",
    "model": "CC2530.ROUTER",
    "modelID": "lumi.router",
    "networkAddress": 19738,
    "powerSource": "Mains (single phase)",
    "type": "Router",
    "vendor": "Custom devices (DiY)"
  },
  {
    "dateCode": "20191107",
    "description": "Motion sensor",
    "friendly_name": "SonoffMotionSensor",
    "hardwareVersion": 1,
    "ieeeAddr": "0x00124b0022662206",
    "lastSeen": 1632076844855,
    "manufacturerID": 0,
    "manufacturerName": "eWeLink",
    "model": "SNZB-03",
    "modelID": "MS01",
    "networkAddress": 42785,
    "powerSource": "Battery",
    "type": "EndDevice",
    "vendor": "SONOFF"
  },
  {
    "description": "Aqara temperature, humidity and pressure sensor",
    "friendly_name": "Salle de bain",
    "ieeeAddr": "0x00158d0002c8d9ab",
    "lastSeen": 1632076248169,
    "manufacturerID": 4151,
    "manufacturerName": "LUMI",
    "model": "WSDCGQ11LM",
    "modelID": "lumi.weather",
    "networkAddress": 11766,
    "powerSource": "Battery",
    "type": "EndDevice",
    "vendor": "Xiaomi"
  },
  {
    "dateCode": "20161129",
    "description": "Aqara temperature, humidity and pressure sensor",
    "friendly_name": "Chambre Sasha",
    "hardwareVersion": 30,
    "ieeeAddr": "0x00158d0002c8ccf0",
    "lastSeen": 1632076636957,
    "manufacturerID": 4151,
    "manufacturerName": "LUMI",
    "model": "WSDCGQ11LM",
    "modelID": "lumi.weather",
    "networkAddress": 41426,
    "powerSource": "Battery",
    "softwareBuildID": "3000-0001",
    "type": "EndDevice",
    "vendor": "Xiaomi"
  },
  {
    "dateCode": "20191205",
    "description": "Aqara temperature, humidity and pressure sensor",
    "friendly_name": "Chambre Vitaly",
    "hardwareVersion": 30,
    "ieeeAddr": "0x00158d00056e4c14",
    "lastSeen": 1632075899856,
    "manufacturerID": 4151,
    "manufacturerName": "LUMI",
    "model": "WSDCGQ11LM",
    "modelID": "lumi.weather",
    "networkAddress": 62488,
    "powerSource": "Battery",
    "softwareBuildID": "3000-0001",
    "type": "EndDevice",
    "vendor": "Xiaomi"
  },
  {
    "dateCode": "20161128",
    "description": "Aqara door & window contact sensor",
    "friendly_name": "Baie vitrée",
    "hardwareVersion": 2,
    "ieeeAddr": "0x00158d00042345ac",
    "lastSeen": 1632076793212,
    "manufacturerID": 4151,
    "manufacturerName": "LUMI",
    "model": "MCCGQ11LM",
    "modelID": "lumi.sensor_magnet.aq2",
    "networkAddress": 11099,
    "powerSource": "Battery",
    "softwareBuildID": "3000-0001",
    "type": "EndDevice",
    "vendor": "Xiaomi"
  },
  {
    "dateCode": "20161129",
    "description": "Aqara temperature, humidity and pressure sensor",
    "friendly_name": "Chambre parentale",
    "hardwareVersion": 30,
    "ieeeAddr": "0x00158d0002c14900",
    "lastSeen": 1632076746684,
    "manufacturerID": 4151,
    "manufacturerName": "LUMI",
    "model": "WSDCGQ11LM",
    "modelID": "lumi.weather",
    "networkAddress": 40682,
    "powerSource": "Battery",
    "softwareBuildID": "3000-0001",
    "type": "EndDevice",
    "vendor": "Xiaomi"
  },
  {
    "dateCode": "2019.8.29",
    "description": "Smoke detector",
    "friendly_name": "DétecteurHeiman",
    "hardwareVersion": 16,
    "ieeeAddr": "0x847127fffe13b000",
    "lastSeen": 1632075004118,
    "manufacturerID": 4619,
    "manufacturerName": "HEIMAN",
    "model": "HS3SA",
    "modelID": "SmokeSensor-EF-3.0",
    "networkAddress": 53867,
    "powerSource": "Battery",
    "type": "EndDevice",
    "vendor": "HEIMAN"
  },
  {
    "dateCode": "20170908",
    "description": "Hue white ambiance E26/E27",
    "friendly_name": "PlafonnierBuffet",
    "hardwareVersion": 1,
    "ieeeAddr": "0x0017880104ffb3dc",
    "lastSeen": 1631740182941,
    "manufacturerID": 4107,
    "manufacturerName": "Philips",
    "model": "8718696548738",
    "modelID": "LTW010",
    "networkAddress": 61796,
    "powerSource": "Mains (single phase)",
    "softwareBuildID": "1.29.0_r21169",
    "type": "Router",
    "vendor": "Philips"
  }
]

Sur zigbee2mqtt/bridge/devices/get y’a rien