-
Notifications
You must be signed in to change notification settings - Fork 250
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
No lookup file found for mode 'hs' #45
Comments
Hi Daniel, This is a known issue for this particular light model LCT015. That light is controllable by color temperature, but also with color. The hs.csv should be there to supply the measurements for color (hue/saturation), however that one is missing causing this error. I have asked the author if he can do the measurements for HS (color) mode, as I don't have this light model myself. But I don't know when he will be able to do this. @CM000n could you have a look into this? |
I've prepared short time lapse (60x faster than real time; 1 min. -> 1 hour) showing only 1.5h of script working (view is from HA GUI) - I think no one knows how much time and resources are consumed to prepare LUT file when 20210702-1355-51_fixed.mp4But in my opinion:
BTW Script does not work properly under windows (now it is running for me usinng Ubuntu) - Shelly returns measure value ony once in the begining and this value is copied tiil end. |
Thanks, that's clear. I've runned the integration with debug enabled. I have someother bulbs and a lightstrip that also don't work. 2021-07-02 16:08:40 DEBUG (MainThread) [custom_components.powercalc.strategy_lut] Loading data file: /config/custom_components/powercalc/data/signify/LCT010/color_temp.csv.gz |
It just depends on users - you can measure all of them yourself (like I'm doing it now) and make project better. |
Out of curiousity; |
Only few things are needed:
Personally I've tested Shelly Plug S (used originally by author @bramstroker ) with highly accurate power meter and values measured by Shelly are accurate enough, so I'm using this hardware now. Script is located here |
As @nepozs already explained users can create a LUT file for missing models and help the project that way. I did all the light models which I have in my house, and two other users did a lot of other lights already. Right now we "only" support 15 lights. Some additions to what @nepozs already said: |
Very cool time lapse. I like it ;-) I have a littlebit of time to work on the component tomorrow. I think I will make the mode a use input (same as the light selection), that way the user can select the correct mode when starting the script. What do you think? |
It will be great option - I've unintentional changed code many times by missclicks :D
It would be great, because every model has power draw between 0,3W and 0,5W so it is slightly more than 0W (in case using multiple lights total will be quite more). I have some thoughts about optimization in script (eg. in HS mode mired step could be bigger, but britghness step sholud probably be lower) , but I have to analyze more .csv files
I've tried on windows 7 (old laptop which could be working 24/7), but without success (on Win7 it is possible to use only old version of Python) - maybe win10 works? BTW Most of my measurements are ready, so I'll try to prepare PR tonight. |
Thanks. Btw it would be better idea to make a seperate issue for improvements in the measure script as we are taking over @DanielV88 topic now which is about an error for the missing lut file of LCT015. |
@DanielV88 where do you live? I live in the Netherlands and there I could buy the Shelly plug for 22 euro which is not that expensive imo |
@bramstroker Also in the Netherlands :) |
Thanks. I have also made some improvements in the measure script. Let me know if you need any help. |
@CM000n I am sorry to ping you. Did you see my request for providing hue/saturation measurement for LCT015? Users will get an error when trying to use this bulb because hs.csv is missing. |
Sorry, I don't have much time at the moment, as I already wrote to you in a PM. In the meantime, however, I have found some time and have been able to carry out the measurements. :-) Pull request is created: #65 |
Thanks @CM000n! PR is merged. Will be in next release 0.2.8 |
Hi Bram,
I'm using your great integration, but it only seems to work on two of my bulbs.
I've put 4 of them in my config right now, but on 2 bulbs I'm getting the following error:
Skipping sensor setup light.tv_meubel_links: ('No lookup file found for mode', 'hs') Skipping sensor setup light.tv_meubel_rechts: ('No lookup file found for mode', 'hs')
I've configured them in lut mode with manufacturer and model. I'm using the default Hue integration from HA, but without mode, manufacturer and model they all don't work.
So it seems I've got the some issue as mentions in issue:
#15
I don't understand the error for mode 'hs', because that mode isn't even mentioned in your documentation.
The model is LCT0015.
Can you help me out?
The text was updated successfully, but these errors were encountered: