-
Notifications
You must be signed in to change notification settings - Fork 424
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
Add support Zigbee light with color_temp #1557
Comments
Please set minimum colorTemp (yellow) from ewelink app and show device diagnostics. And set maximum colorTemp (white) and show device diagnostics.
|
Thanks for the quick response! As I have a total of 3 of these bulbs, I have set one to 2200K and one to 4000K, both at full brightness. Here are they both: "a4800c0a57": {
"uiid": 1258,
"params": {
"bindInfos": "***",
"subDevId": "e52244feff8176281258",
"parentid": "100233927e",
"staMac": "***",
"THIRD_PARTY_EQUIPMENT_INFORMATION": {
"brand": "IKEA",
"productModel": "TRADFRI bulb GU10 WS 345lm"
},
"switch": "on",
"colorTemp": 0,
"brightness": 100
},
"model": "ZigbeeTunableWhiteLight",
"online": true,
"local": null,
"localtype": null,
"host": null
},
"a4800c0a55": {
"uiid": 1258,
"params": {
"bindInfos": "***",
"subDevId": "9b2244feff8176281258",
"parentid": "100233927e",
"staMac": "***",
"THIRD_PARTY_EQUIPMENT_INFORMATION": {
"brand": "IKEA",
"productModel": "TRADFRI bulb GU10 WS 345lm"
},
"switch": "on",
"colorTemp": 100,
"brightness": 100
},
"model": "ZigbeeTunableWhiteLight",
"online": true,
"local": null,
"localtype": null,
"host": null
} Playing around with it to see values change, it seems that both brightness and colorTemp are on a scale of 0 - 100. (FYI - I had to click reload on the integration page each time to get the Download Diagnostics json file to update to current values). I'm guessing this is the info you are after. Please let me know if I can help out any further! //Edit: 0 represents warm white light, 100 represents cool white light. The bulbs have 2 sets of LEDs inside (warm and cool) and it's either one of the sets fully on, a mix in-between or the other set. Rather clever design I have to say! |
I'm afraid there's a 500 error from eweLink API now when running this. Unable to control the lights or see the status update (though the controls appear in a correct manner now). This is the diagnostic: "errors": [
{
"name": "custom_components.sonoff.core.ewelink.cloud",
"message": [
"Cloud ERROR: {'error': 500, 'deviceid': 'a4800c0a56', 'apikey': 'ceba33f9-5ecf-4744-8d7e-d726d386a25f', 'sequence': '1737048237592', 'uid': 'ceba33f9-5ecf-4744-8d7e-d726d386a25f'}"
],
"level": "WARNING",
"source": [
"custom_components/sonoff/core/ewelink/cloud.py",
603
],
"timestamp": 1737048237.6540415,
"exception": "",
"count": 1,
"first_occurred": 1737048237.6540415
}
],
"device": {
"uiid": 1258,
"params": {
"bindInfos": "***",
"subDevId": "97a309feff8176281258",
"parentid": "100233927e",
"staMac": "***",
"THIRD_PARTY_EQUIPMENT_INFORMATION": {
"brand": "IKEA",
"productModel": "TRADFRI bulb GU10 WS 345lm"
},
"switch": "on",
"colorTemp": 48,
"brightness": 50,
"null": "on"
},
"model": "ZigbeeTunableWhiteLight",
"online": true,
"local": null,
"localtype": null,
"host": null,
"deviceid": "a4800c0a56"
} Please let me know how I can help to debug / diagnose the issues. |
Yes. You needs to collect debug log. To find out what request is causing this error. |
This is what's showing in the HA logs after turning on debugging.
In the full log I only get this:
|
Messing around with changing the lights, it seems that updates sent to the API do in fact change the lights for both brightness and temperature.
Turning the light on/off does not work, with the above CLOUD ERROR 500 message. It's also unable to get the state of the light, so everything is marked as UNKNOWN. This was not the case prior to the update - I was able to turn them on/off, just not make changes to the brightness / temperature. |
@AlexxIT are the above enough? Is there anything I can do to assist further? |
Yes. It's enough. |
Hi
Got 3 IKEA Tradfri GU10 bulbs linked to my Zigbee Bridge. All is working well in the eWeLink app, I have been able to pair those & control them using the app. However these are recognised by SonoffLAN as regular bulbs with no brightness / temperature control.
It initially picked these bulbs as switches, so I've gone ahead and configured them using config.yaml file to be lights. However this doesn't solve anything.
Here is the diagnostic (just relevant part, but let me know if you need the whole thing):
Any chance of some guidance to get this to work?
On a side note, I can also confirm that I have also used the IKEA Tradfri 10W driver and this is picked up no problem, including brightness control fully working. FYI, here is the diagnostic relevant part again:
I also am using the new ZBBridge-U model, and that is also working well.
Many thanks in advance!
The text was updated successfully, but these errors were encountered: