dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.9k stars 502 forks source link

Trust ZYCT ‑202 - different Manufacture code #3117

Closed opechunka closed 4 years ago

opechunka commented 4 years ago

Manufacture code on my device is 0x122d. Which is different than in current source - #define VENDOR_JENNIC 0x1037 // Used by Xiaomi, Trust, Eurotronic

I tried to change the code from 0x1037 to 0x122d and make my local build. Unfortunately deCONZ crashes when I tried to add the device via Phoscon. What is strange also, deCONZ GUI doesn't show any cluster info for ZYCT-202

Can it be fixed?

ZYCT-202 ZYCT-202_2

Mimiix commented 4 years ago

Hi @opechunka 😄 I am tempted to close this issue, as you left out vital information as per requested in the bug report template. Please add this information.

Thanks!

SwoopX commented 4 years ago

From what I've read, the devices are a little bit stubborn. Try entering sensor search in Phoscon and then read the simple descriptors (from the bullet you've marked). Please make sure the device is awake, so press a button right before reading the descriptors.

The current code shouldn't require any code changes, as there's also a check on the MAC address prefix, which hasn't changed in your case.

opechunka commented 4 years ago

After I've removed all routers and left just RaspBee, I've managed to add ZYCT-202. It works, thank you.