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

feature/LED1624G9 #451

Merged
merged 4 commits into from
Dec 28, 2021
Merged

feature/LED1624G9 #451

merged 4 commits into from
Dec 28, 2021

Conversation

marthubner
Copy link
Contributor

I made a measurement of IKEA LED1624G9 using a script running with two bulbs. I then manually added some values to the end of the hs.csv file approximately corresponding with xy_color: [0.458, 0.41] which is bulbs default warm white color. Power consumption is significanly higher for this color and near colors and the measuring script did not catch this spike at all.
Another problem is that this bulb does not work with color_temperature (https://github.com/Koenkk/zigbee2mqtt/issues/6388) but powercalc does not create any sensors until both hs.csv and color_temp.csv files are provided so I made an empty dummy color_temp.csv file.

@bramstroker
Copy link
Owner

bramstroker commented Dec 28, 2021

Thanks.

I made a measurement of IKEA LED1624G9 using a script running with two bulbs. I then manually added some values to the end of the hs.csv file approximately corresponding with xy_color: [0.458, 0.41] which is bulbs default warm white color. Power consumption is significanly higher for this color and near colors and the measuring script did not catch this spike at all.

How do you know power consumption for the mentioned color is significantly higher than the measure script picked up?
When this is the case I'm also worried by the accuracy of the other measured values.
Could be a bug in the measure script somehow, but not sure where. It is working fine for me when using Hue bridge and Shelly plug.

Another problem is that this bulb does not work with color_temperature (https://github.com/Koenkk/zigbee2mqtt/issues/6388) but powercalc does not create any sensors until both hs.csv and color_temp.csv files are provided so I made an empty dummy color_temp.csv file.

Could you have a look into Developer Tools and retrieve the state attributes for the light? I'm interested in supported_color_modes field.

Screenshot 2021-12-28 at 10 04 51

mpty dummy color_temp.csv file.

@marthubner
Copy link
Contributor Author

How do you know power consumption for the mentioned color is significantly higher than the measure script picked up?
When this is the case I'm also worried by the accuracy of the other measured values. Could be a bug in the measure script somehow, but not sure where. It is working fine for me when using Hue bridge and Shelly plug.

I have that particular color set as a main warm white room light because the bulb performs best with that setting. It is also color with which the bulb turns on when reset. All other colors appear substantially dimmer. There are some discussions about this on github for example here.
It seems that this bulb is designed to provide much better results only at very narrow section of color spectrum and the script just is not precise enought and it missed that exact spot where some dedicated warm white diodes kick in at full brightness. I don't know if there are also some other spots like that but I think that if so, they will not be as significant as this one.

Another thing is that it is also not possible to hit that color with home assistants color wheel, it always slips somewhere next to it. You have to set specifically xy_color: [0.458, 0.41] to get the best appearing light and also higher energy consumption.

This is where the color lies on the wheel:
Screenshot 2021-12-28 11 09 56

This is the graph of my shelly's power meter from running the measurement. The spike on the left is consumption with the subject color at full brightness and it just never got there during the measurement... (The gap in the middle is where the script stopped for some reason.)
Screenshot 2021-12-28 10 30 50

Could you have a look into Developer Tools and retrieve the state attributes for the light? I'm interested in supported_color_modes field.

Screenshot 2021-12-28 11 41 44

It states color_temp as supported but it is probably a mistake in zigbee2mqtt because the bulb does not do anything when trying to change color_temp and there are also multiple discussions about color_temp not working.
dresden-elektronik/deconz-rest-plugin#4140 (comment)
Koenkk/zigbee2mqtt#6388 (comment)
Koenkk/zigbee-herdsman-converters#3218 (comment)

@bramstroker
Copy link
Owner

You can ignore the failed action for "Release drafter", need to have a look into that.

color_temp.csv does not validate correctly. Right now it crashed the validation tool. I think you need to add a header row, and at least 2 other rows.

@bramstroker
Copy link
Owner

And thanks for clarifying.

@nepozs
Copy link
Contributor

nepozs commented Dec 28, 2021

This is where the color lies on the wheel:

In my opinion this particular color loooks like warm white (maybe 2700K?) but bulb probably works in color-temp mode.

@bramstroker
Copy link
Owner

Yeah the color_temp mode seems to not work correctly for this light looking at the linked github issues.
When this is resolved we should update the library to include the correct color_temp.csv (with measurements) or remove it from the library.

@bramstroker
Copy link
Owner

Will merge for now. @marthubner Could you please have a close look into the related github issues when there are any fixes for color_temp mode?

@bramstroker bramstroker merged commit 979c059 into bramstroker:master Dec 28, 2021
@marthubner marthubner deleted the feature/LED1624G9 branch December 28, 2021 14:41
@marthubner
Copy link
Contributor Author

@bramstroker Yes, I will keep my eye on the issue with color_temp.

@bramstroker
Copy link
Owner

@marthubner Another powercalc user stumbled upon issue with this light profile not working correctly because color_temp was missing. See #2047
Back in the time there was an issue with color temp mode reading this PR comments.
Would you be able to provide measurements for this color mode to fix the profile?

@marthubner
Copy link
Contributor Author

@marthubner Another powercalc user stumbled upon issue with this light profile not working correctly because color_temp was missing. See #2047 Back in the time there was an issue with color temp mode reading this PR comments. Would you be able to provide measurements for this color mode to fix the profile?

Ok, I'll try.

@bramstroker
Copy link
Owner

@marthubner Another powercalc user stumbled upon issue with this light profile not working correctly because color_temp was missing. See #2047 Back in the time there was an issue with color temp mode reading this PR comments. Would you be able to provide measurements for this color mode to fix the profile?

Ok, I'll try.

@marthubner are you still able to do this?

@marthubner
Copy link
Contributor Author

@marthubner Another powercalc user stumbled upon issue with this light profile not working correctly because color_temp was missing. See #2047 Back in the time there was an issue with color temp mode reading this PR comments. Would you be able to provide measurements for this color mode to fix the profile?

Ok, I'll try.

@marthubner are you still able to do this?

Hi, sorry for the delay, just started the measurement process. If all goes well, I will post the result tomorrow.

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

Successfully merging this pull request may close these issues.

4 participants