-
Notifications
You must be signed in to change notification settings - Fork 22
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
Color Picker for Tradfri not working in HK Zigbee node. #189
Comments
Klar: Here we go
Additonal Info: In the meantime I have connected an Osram Lightify Classic RGBW60, which works perfectly. In case that helps, here is the device info as well:
With the Osram one I have connection problems, but that is a different story ;-) KR Kneip PS: If I take a look at the input clusters, I guess it is an upstream problem, right? |
New effect with Redmatic 5.1.2: Now Herdsman Nodes reports
for all kinds of Bulbs, although details are shown in herdsman node. This also means that currently nothing shows up in Homekit for me. I will try to update the ZIGBEE HK node, and will come back if that changes anything. I tried repairing, bulb shows as expected in GUI, but error is back. Nevertheless I can still control the device with on off. Here is the new output like above of the same Tradfri bulb:
|
OK, last issue resolved. I deleted the old node and re-added the ZIGBEE HK node. First I thought I still get the error, but it only took a little time for the bulbs to show up in the selection list, now above error is gone. |
Can you pls try to add the manufName and ModelID to the file const Accessory = require('./lib/accessory');
module.exports = class ZllColor extends Accessory {
static get manufacturerName() {
return ['IKEA of Sweden'];
}
static get modelID() {
return ['TRADFRI bulb E27 CWS opal 600lm'];
} and report back if that works? |
Is it correct I had to create the folder zigbee-devices and the contained file? If so, nothing changed. If not, I guess I have an installation problem... In case it might help you: Debug does not show any messages, attached is the last bit of CCU logs.
|
Looks that I did something wrong the last time, I have reimplemented the file, rebooted the Raspbi and now the clusters show up in the command node. Will keep you updated when being home tonight to see whether the color picker in HK is now working. |
Oh, sorry. I gave you the wrong path. Corrected it in my answer above (#189 (comment)) |
The change in the file did not do anything, the bulb shows up in the zigbee HK node (in contrast to #197) , on/off and level can be controlled, but hue and saturation does not work. const Accessory = require('./lib/accessory'); module.exports = class ZllColor extends Accessory {
}; |
Brief update: I found a github project in javascript which does do the conversion between hue/sat/bri and XY at https://github.com/athombv/com.ikea.tradfri which in turn uses conversions from a package from https://www.npmjs.com/package/color-space, but I am not good enough a progammer to integrate all this into a new Accessory class. I decided to go the route of a custom flow in node red using the universal homekit node. Will post here again when finished. |
While looking for other solutions, it now shows that this a limitation on hue/sat for the tradfri bulbs. It has been discussed at Kkoenks site already: hue/saturation color mode not working · Issue #1012 |
For anybody who wants to have color control on the Tradffri Color Bulbs, here is a flow which seems to work for me after initial testing (using the custom node). I will close the issue for he moment, and if I get to be able to come up with a accessory class will put a pull request referencing the issue. Oh, and the two functions used: if (msg.topic == "0/Saturation") { msg.payload = [hue,sat,bri]; return msg;` cie_to_rgb node: //msg.payload = { "msg.payload.x": x, "msg.payload.y": y, "brightness": brightness };
|
@kneip68 funktioniert super! nur erst vorher "node-red-contrib-color-convert" installieren. |
Hi hobbyquaker
First of all a big thx again for all your work, and in addition you seem to be able to read minds ;-). I have been working on integrating Tradfri Bulbs on Zigbee Stick into Homekit via RedMatic since a few days, and now you solved already a big part of it.
Now: I immediatly checked out the new node ZIGBEE, and found that the two bulbs Tradfri LED1624G9 I have are actually switching on/off and can be dimmed.
Color picker/Saturation does not work yet. Is that expected, my mistake or a bug? Actually I was not able to make the {"color": {"hue" : 50, "saturation": 50} payload work on either the Zigbee-Converter nor the Zigbee-Command Node, only the {"color": { "hex* : “#FF0000"} did work so far.
So if I can be of help testing or debugging, let me know.
Thanks Again
Kneip
BTW: If you prefer to continue in DE, just let me know , on Github I typically start in EN
The text was updated successfully, but these errors were encountered: