Aqara T2 bulb Zigbee2MQTT & Home Assistant integration - A How To

After getting my T2 bulbs and trying to get them working in Home Assistant I was a little disappointed to find they weren’t supported by Zigbee2MQTT yet, however it is possible to get them working fully with a little modification.

  1. If you haven’t yet installed the Zigbee firmware on the bulb, pair them via Bluetooth to the Aqara app on your phone, and install the firmware.
  2. In your ZigbeeMQTT installation, create the directory zigbee2mqtt/data/external_converters if it doesn’t exist already.
  3. In that folder, create the file aqara_t2_cct.js containing the linked code: prototype z2m aqara t2 converter · GitHub
  4. Restart ZigbeeMQTT
  5. Put ZigbeeMQTT into Permit Join mode.
  6. Turn the bulb on/off 5 times to put it into pairing mode, the light will slowly pulse.
  7. It should then be discovered by ZigbeeMQTT and appear in the dashboard.
  8. The bulb should now appear as a device in Home Assistant.

More discussions on the bulb’s compatibility with ZigbeeMQTT can be found on its Github:

Hopefully out of the box support will be added to ZigbeeMQTT in the future.

5 Likes

Adding a screenshot showing the device recognised in Home Assistant via Zigbee2MQTT.

1 Like

@absentcinema Thanks you :+1:t2:
This will be useful for many.

1 Like

Thank you for this post. I have to try that right away.

2 Likes