Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.98k stars 1.67k forks source link

[New device support]: #17467

Closed jparchib closed 1 year ago

jparchib commented 1 year ago

Link

https://www.aliexpress.com/item/1005004705222714.html?spm=a2g0o.order_list.order_list_main.59.17561802R8cc03

Database entry

{"id":2,"type":"Router","ieeeAddr":"0xa4c1386daaf69461","nwkAddr":42506,"manufId":4417,"manufName":"_TZ3210_r5afgmkl","powerSource":"Mains (single phase)","modelId":"TS0505B","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"dev>

Comments

This bulb is very cheap on Aliexpress and it pair perfectly in HUE app. However, while it is detected instantaneously in Zigbee2Mqtt, it doesn't work. each command return an error.

External converter

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 reporting = require('zigbee-herdsman-converters/lib/reporting');
const extend = require('zigbee-herdsman-converters/lib/extend');
const ota = require('zigbee-herdsman-converters/lib/ota');
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const utils = require('zigbee-herdsman-converters/lib/utils');
const globalStore = require('zigbee-herdsman-converters/lib/store');
const e = exposes.presets;
const ea = exposes.access;

const definition = {
    zigbeeModel: ['AliExpressBulb'],
    model: 'Unknow',
    vendor: 'Unknow',
    description: 'Bulb from the Milfra Aliexpress Store.  Very cheap, yep powerfull and full featured',
    // Note that fromZigbee, toZigbee and exposes are missing here since we use extend here.
    // Extend contains a default set of fromZigbee/toZigbee converters and expose for common device types.
    // The following extends are available:
    // - extend.switch
    // - extend.light_onoff_brightness
    // - extend.light_onoff_brightness_colortemp
    // - extend.light_onoff_brightness_color
    // - extend.light_onoff_brightness_colortemp_color
    extend: extend.light_onoff_brightness_colortemp_color(),
};

module.exports = definition;

Supported color modes

color temp, color

Color temperature range

2700-6500K

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days