AlexxIT / XiaomiGateway3

Home Assistant custom component for control Xiaomi Multimode Gateway (aka Gateway 3), Xiaomi Multimode Gateway 2, Aqara Hub E1 on default firmwares over LAN
https://github.com/AlexxIT/Blog
MIT License
2.48k stars 349 forks source link

Problems pairing lumi.airmonitor.acn01 (Aqara tvoc) #1300

Open swas opened 8 months ago

swas commented 8 months ago

I am trying to pair the device "lumi.airmonitor.acn01"

My wateway is: Xiaomi Multimode Gateway (CN) --> ZNDMWG03LM (lumi.gateway.mgl03)

"Mi home" does not detect it but it pairs to the zigbee network

I see the device exists in the converters file: "devices.py"

If I try to pair it using the XiaomiGateway3 integration commands, I see that it discovers the device (finds an IEEE identifier: 0x54EF441000626F72)

image

But it is not added, I would not know how to continue

On the logs:

2024-03-10 19:06:00 [D] 192.168.0.29 [MQTT] gw/588E81FFFE70692A/MessageReceived b'{"sourceAddress":"0x5641","eui64":"0x54EF441000626F72","destinationEndpoint":"0x01","clusterId":"0xFCC0","profileId":"0x0104","sourceEndpoint":"0x01","APSCounter":"0x0B","APSPlayload":"0x1D5F1143030803010204AE478B41","rssi":-22,"linkQuality":255}'
2024-03-10 19:06:00 [D] 192.168.0.29 [ZIGB] 0x54ef441000626f72 (0x5641) recv {'endpoint': 1, 'seq': 67, 'cluster': 'manufacturer_specific', 'command_id': 3, 'value': b'\x08\x03\x01\x02\x04\xaeG\x8bA'}
2024-03-10 19:06:00 [D] 192.168.0.29 [MQTT] gw/588E81FFFE70692A/MessageReceived b'{"sourceAddress":"0x5641","eui64":"0x54EF441000626F72","destinationEndpoint":"0x01","clusterId":"0xFCC0","profileId":"0x0104","sourceEndpoint":"0x01","APSCounter":"0x0C","APSPlayload":"0x1D5F11440308030202048FC29342","rssi":-22,"linkQuality":255}'
2024-03-10 19:06:00 [D] 192.168.0.29 [ZIGB] 0x54ef441000626f72 (0x5641) recv {'endpoint': 1, 'seq': 68, 'cluster': 'manufacturer_specific', 'command_id': 3, 'value': b'\x08\x03\x02\x02\x04\x8f\xc2\x93B'}
2024-03-10 19:06:00 [D] 192.168.0.29 [MQTT] gw/588E81FFFE70692A/commands b'{"commands":[{"commandcli":"zdo node 0x5641","postDelayMs":0}]}'
2024-03-10 19:06:00 [D] 192.168.0.29 [MQTT] gw/588E81FFFE70692A/MessagePreSentCallback b'{"eui64":"0x54EF441000626F72","destinationEndpoint":"0x00","clusterId":"0x0002","profileId":"0x0000","sourceEndpoint":"0x00","APSCounter":"0x00","APSPlayload":"0x0A4156"}'
2024-03-10 19:06:00 [D] 192.168.0.29 [ZIGB] 0x54ef441000626f72 0x8b9b send {'command': 'Node_Desc_req'}

Also I created this integration config on configuration.yaml, but no results

xiaomi_gateway3:
  devices:
    "0x54ef441000626f72":  # match device by IEEE or MAC
      model: lumi.airmonitor.acn01
      type: zigbee

Can you help me?

Thank you so much Greetings

AlexxIT commented 8 months ago

Are you sure the device is not deleted by the gateway after being added? Some new Aqara devices not supported in the Xiaomi ecosystem.

swas commented 8 months ago

Thanks AlexxIT!

My device versión its not supported by the Xiaomi ecosystem. The old versión (with Chinese characters on the back) its supported. The new version dont have on the box any xiaomi/mijia logo