Skip to content

Instantly share code, notes, and snippets.

@epf
epf / aqara_t2_bulb_family.js
Created May 12, 2025 23:02
prototype aqara t2 bulb converter for zigbee2mqtt 2.3.0
// Original: https://gist.github.com/coldridj/527b05575f8b94197a0ef805904b7893
// Updated for Zigbee2MQTT 2.3.0 by ChatGPT (o3)
/* Aqara T2 family – full-feature extension for Zigbee2MQTT ≥ 2.3
* Supports: AGL001-008 (E26/E27/GU10 • RGB+CCT or CCT-only) */
const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const e = exposes.presets;

Keybase proof

I hereby claim:

  • I am epf on github.
  • I am epf (https://keybase.io/epf) on keybase.
  • I have a public key whose fingerprint is 5F88 541F E73D EC90 3AEF 5D43 20FF A74C 6846 8B6F

To claim this, I am signing this object: