zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Bulbs from China

Open maxpd1 opened this issue 6 years ago • 14 comments

Hi,

I want to buy a bunch (at least 20) of RGBW bulbs from China with Zigbee compatibility. Some sellers say these bulbs are compatible with HUE or Tuya Gateways.

How can I be sure that the bulb will work with my iobroker Zigbee Adapter?

This description looks a little bit as it is only for developers? https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html

Regards maxpd

maxpd1 avatar Jul 12 '20 05:07 maxpd1

If these devices are not on https://www.zigbee2mqtt.io/information/supported_devices.html they are not supported currently.

However if they are compatible with Hue or TuYa, adding Zigbee2mqtt support shouldn't be a problem (no guarantees). If you post the Zigbee2mqtt log after pairing them we can add them.

Koenkk avatar Jul 12 '20 13:07 Koenkk

Most Gledopto devices works well ...

adopting my MR16 bulbs in herdsman took about 30 minutes by copying another bulb and modify the names

Buy one bulb for testing and if it works buy the rest ;-)

Wuppi68 avatar Jul 30 '20 19:07 Wuppi68

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

github-actions[bot] avatar Aug 30 '20 00:08 github-actions[bot]

@Koenkk How do I get the mqtt log from iobroker? Do I have to acitvate zigbee debug mode? @Wuppi68 Do you have a tutorial how you acomplished that?

PS: wie bekomme ich das Label "stale" entfernt?

image

maxpd1 avatar Sep 01 '20 11:09 maxpd1

Can you provide a link to this device? (e.g. aliexpress?)

Koenkk avatar Sep 01 '20 16:09 Koenkk

Difficult. Got it via alibaba on basis of this

https://app.alibaba.com/dynamiclink?touchId=1600064220375&type=product&schema=enalibaba%3A%2F%2Fdetail%3Fid%3D1600064220375%26ck%3Dshare_detail&ck=share_detail&shareScene=buyer

maxpd1 avatar Sep 01 '20 17:09 maxpd1

Link doesn't work for me, can you post a picture of the device?

Koenkk avatar Sep 01 '20 18:09 Koenkk

Strange, worked for me on another device. Nevertheless, here it is. Thank you so much! H03314138c3614614aab7e3b27d30bd8bj

maxpd1 avatar Sep 02 '20 04:09 maxpd1

I jumpeg again over your tutorial what you need. @Koenkk: Where the infos above enough or should I try to get through your manual?

maxpd1 avatar Sep 02 '20 13:09 maxpd1

Can you try with the following added to devices.js?

{
    fingerprint: [{modelID: 'TS0505A', manufacturerName: '_TZ3000_evag0pvn'}],
    model: 'TS0505A',
    description: 'E27 RGBW bulb',
    vendor: 'TuYa',
    extend: generic.light_onoff_brightness_colortemp_colorxy,
},

See https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html how to edit devices.js.

Koenkk avatar Sep 02 '20 20:09 Koenkk

Ok, so far: I added these lines into devices.js

I didn't found configuration.yaml

I restarted iobroker.

I still see unknown device in instance configuration. I don't see the device in my objects

I put the device into a group. If I change brightness of group the bulb is getting darker.

In iobroker log I see:

zigbee.0 2020-09-03 06:30:26.816 error (24616) Device 0x842e14fffe0f5312 "TS0505A" not described in statesMapping.

I deleted the bulb and connected it from new again. This error is wath I see when pairing:

Error: Device 0x842e14fffe0f5310 "TS0505A" not described in statesMapping.. undefined New device joined '0x842e14fffe0f5310' model TS0505A Interview successful: [object Object]

I now see an object but without a subfolder with options

image

After a reload of objects list this item/line is gone again and setting brightness via group isn't working anymore.

maxpd1 avatar Sep 03 '20 04:09 maxpd1

oh, one thing I did not mention. During saving devices.js I got error message that file was saved but without a new time stamp. Don't know if this is relevant.

And in your code first line is "fingerprint" whereas normally its called "zigbeeModel"

I now edited devices.js externaly without error message and changed fingerprint to zigbeeModel, but the behaviour is the same as stated in my last comment.

maxpd1 avatar Sep 04 '20 04:09 maxpd1

PS: I wasn't aware til I tried to update the adapter. Am I in the right repository or do I have to speak with someone of them, as I think I do have this adapter in iobroker: https://github.com/ioBroker/ioBroker.zigbee

maxpd1 avatar Sep 04 '20 05:09 maxpd1

yes, please continue there. I dont know how to add new devices for testing in iobroker.

Koenkk avatar Sep 04 '20 06:09 Koenkk