-
Notifications
You must be signed in to change notification settings - Fork 246
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
LWB004 and LWB010 LUT files created #25
Conversation
@nepozs Great job! csv looks good. {
"name": "Hue Lux E27 750lm",
"standby_usage": 0.29,
"supported_modes": [
"lut"
]
} Also you can remove the 0 row from the CSV. |
Could you also add the 2 models to supported list? https://github.com/bramstroker/homeassistant-powercalc/blob/master/README.md#supported-models |
Files corrected, thanks for clarifying usage |
Thanks. I see one thing which need to change. The CSV files have a header row (bri,watt). The other LUT files don't have that and the code does not expect a header row. So I am pretty sure this will break. |
I'll do it soon, but… I've downloaded one of the existing hs.csv.gz files as a source, unfortunately I don't remember which one (probably LCT012) , and the CSV has a header inside (so I prepared a similar format). Edit: I've checked hs.csv.gz files and… really only LCT012 has header, so it needs to be corrected. |
Ok thanks for noticing. I will fix the LCT012 file. |
Files corrected (no header). |
btw, on closer inspection the headers were needed in the CSV file. The integration skips the first row assuming this is the header, so for almost all the csv files the first row was skipped. |
I'm not 100% sure if created files are OK for integration, but I've tried to create them to be possible closest with other LUT files (but they contain only brightness and power wattage).
Brigtness 0 means, bulb off (in standby mode).
Measurements were made manually with a meter of a decent class, with a brightness change every 1%, for greater certainty of measurement repeatability, the LWB004 measurement was made twice.