Koenkk / zigbee2mqtt

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

Ikea Tradfri E14 470lm 2700 Kelvin Device Request #3128

Closed amrap030 closed 4 years ago

amrap030 commented 4 years ago

Hello, could you please add the Ikea Tradfri E14 470lm 2700 Kelvin light bulb to the supported devices?

sjorge commented 4 years ago

Do you have a database.db entry for one + a link to the ikea page? I can probably figure out the devices.js entry for that based on that.

amrap030 commented 4 years ago

I don't have that but on the packaging I can see Tradfri LED 470 lm 5.2W E14 LED1835C6 and under the barcode 704.243.12 19972.

sjorge commented 4 years ago

Looks to be this one then? https://www.ikea.com/nl/en/p/tradfri-led-bulb-e14-470-lumen-white-spectrum-wireless-dimmable-opal-white-chandelier-70424312/

sjorge commented 4 years ago

Just a complete stab in the dark, but yo ucan try adding this to devices.js

    {
        zigbeeModel: ['TRADFRI bulb E14 WS 470lm'],
        model: 'LED1835C6',
        vendor: 'IKEA',
        description: 'TRADFRI bulb E14 470 lumen, dimmable, opal white',
        extend: generic.light_onoff_brightness,
        ota: ota.tradfri,
    },
JBarrskog commented 4 years ago

I can confirm that the linked IKEA-page is the product corresponding to the model number LED1835C6.

I don't understand where I am supposed to paste the suggested solution by @sjorge.

I have managed to pair the light - but after a zigbee2mqtt restart I receive

zigbee2mqtt:info 2020-03-29 22:20:40: Vardagsrum 2 (0x680ae2fffe713903): Not supported (Router)

The entry in the database.db-file

{"id":12,"type":"Router","ieeeAddr":"0x680ae2fffe713903","nwkAddr":58221,"manufId":4476,"manufName":"IKEA of Sweden","powerSource":"Mains (single phase)","modelId":"TRADFRI bulb E14 WS 470lm","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":268,"inClusterList":[0,3,4,5,6,8,768,4096],"outClusterList":[5,25,32,4096],"clusters":{"genBasic":{"attributes":{"modelId":"TRADFRI bulb E14 WS 470lm","manufacturerName":"IKEA of Sweden","powerSource":1,"zclVersion":3,"appVersion":33,"stackVersion":98,"hwVersion":1,"dateCode":"20190312","swBuildId":"2.1.022"}}},"binds":[]},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[33],"outClusterList":[33],"clusters":{},"binds":[]}},"appVersion":33,"stackVersion":98,"hwVersion":1,"dateCode":"20190312","swBuildId":"2.1.022","zclVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1585513112429}

sjorge commented 4 years ago

There is some info here https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html

Just use the entry from my previous post instead of the example and I think it should work.

mabachel commented 4 years ago

The difference between the

and the

is that the new model (LED1835C6) offers a colour temperature control (3 steps from warm white to cold white) in addition to brightness control and on/off control which the old model (LED1649C5) already offered.

mabachel commented 4 years ago

Is someone out there who got it (LED1835C6) working?

JBarrskog commented 4 years ago

No, I have not. I run my home automation on a Raspberry Pi 4 using Docker and I’ve not been able to run “npm ci” in the bucket in order to get started. Have paused my efforts due to this struggle :/

mabachel commented 4 years ago

I just found this enrty in devices.js from the dev branch.

{
        zigbeeModel: ['TRADFRI bulb E14 WS 470lm'],
        model: 'LED1903C5/LED1835C6',
        vendor: 'IKEA',
        description: 'TRADFRI bulb E14 WS 470 lumen, dimmable, white spectrum, opal white',
        extend: generic.light_onoff_brightness_colortemp,
        ota: ota.tradfri,
},

LED1903C5 is listed under supported devices but LED1835C6 is not.

So there should be (some) support already in place..? Or not?

Koenkk commented 4 years ago

@mabachel if the zigbeeModel is already there, the bulb should work just fine. The model (just a cosmetic thing) will be updated automatically on the next zigbee2mqtt release.

mabachel commented 4 years ago

Thanks for the clarification. @JBarrskog & @amrap030 this commit is from May 25, 2020. Thus LED1835C6 should be officially supported in the next release. https://github.com/Koenkk/zigbee-herdsman-converters/commit/5b069f1892582c734ee31df005a8808afdc52f78

This issue can be closed.

JBarrskog commented 4 years ago

@mabachel @amrap030 Can confirm that 1.14.2 works with LED1835C6. I had to fully remove the light before it would pair. Thanks alot!