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

GET converter is failing for IKEA Tådfri LED1624G9 color bulb #1340

Closed
madchicken opened this issue Jun 23, 2020 · 3 comments
Closed

GET converter is failing for IKEA Tådfri LED1624G9 color bulb #1340

madchicken opened this issue Jun 23, 2020 · 3 comments

Comments

@madchicken
Copy link
Contributor

Hi, while using this library for a custom project, I discovered that calling the GET converter for any color attribute on the Ikea LED1624G9 outputs an UNSUPPORTED_ATTRIBUTE error.
The problem is very similar to the one reported here Koenkk/zigbee2mqtt#3260 except I am not using reporting ATM.
Maybe I didn't get how to use the converter, but I did the same test on zigbee2mqtt, and when calling GET with a payload like { color: { rgb: '' } } I get the same error printed in the console.

@Koenkk
Copy link
Owner

Koenkk commented Jun 24, 2020

In toZigbee.js can you change await entity.read('lightingColorCtrl', ['currentX', 'currentY', 'currentHue', 'currentSaturation']); to await entity.read('lightingColorCtrl', ['currentX', 'currentY']);, does this fix the issue?

See https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html on how to modify toZigbee.js

@madchicken
Copy link
Contributor Author

Yes, it does. I was about filing a PR with the same fix, but I wasn't sure I was doing the right thing. I opened the issue to have a confirmation.

@Koenkk
Copy link
Owner

Koenkk commented Jun 28, 2020

Merged the PR so I assume this can be closed now.

@Koenkk Koenkk closed this as completed Jun 28, 2020
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

No branches or pull requests

2 participants