Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(detect): Detect TRADFRI bulb E26 WS globe 1055lm as IKEA LED2201G8 #7546

Merged
merged 2 commits into from
May 22, 2024

Conversation

shydah
Copy link
Contributor

@shydah shydah commented May 22, 2024

I purchased an TRADFRI LED E26 bulb 1055lm a few weeks ago from IKEA Goyang, Korea. According to the manual that came with the bulb and the information on the IKEA website, the model name is LED2201G8.

The pairing was successful, but Zigbee2MQTT says the device is unsupported device. However, LED2201G8 is a supported device. It is probably being recognized as an unsupported device because the zigbeeModel is different.

I have modified the code to recognize the zigbeeModel name TRADFRI bulb E26 WS globe 1055lm as the LED2201G8 device, referring to this commit and issue.

External Definition

The code below is external definition I tested locally according to support new devices manual.

const {identify, light} = require('zigbee-herdsman-converters/lib/modernExtend');
const {ikeaLight} = require('zigbee-herdsman-converters/lib/ikea');

const definition = {
    zigbeeModel: ['TRADFRI bulb E26 WS globe 1055lm'],
    model: 'LED2201G8',
    vendor: 'IKEA',
    description: 'TRADFRI bulb E26/27, white spectrum, globe, opal, 1055 lm',
    extend: [identify(), ikeaLight({"colorTemp":true})],
    meta: {},
};

module.exports = definition;

@Koenkk Koenkk merged commit 3817344 into Koenkk:master May 22, 2024
2 checks passed
@Koenkk
Copy link
Owner

Koenkk commented May 22, 2024

Thanks!

@shydah shydah deleted the patch-1 branch May 23, 2024 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants