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

Newest "LIFX Color A19 1100 lm" bulbs not recognized as color bulbs #158

Closed
bobpendleton opened this issue Mar 27, 2021 · 2 comments
Closed

Comments

@bobpendleton
Copy link

My older bulbs are all working fine. But unlike my older Model "LIFX (A19)" bulbs (which are on firmware version 2.72) the newer bulbs (finally back in stock), which show up as Model "LIFX Color A19 1100lm" in the LIFX app and are running v3.70 firmware, are not recognized as color bulbs.

supports_color() returns FALSE. get_color and set_color both result in the "AttributeError: 'Device' object has no attribute" error.

Is there any workaround for this? Thanks in advance for the help!

@autolog
Copy link
Contributor

autolog commented Mar 27, 2021

I was thinking about doing another pull-request but it appears that it may be a bit more complicated than I anticipated - see Products Definition dependant on firmware #159

The definition (undocumented in the Developer LIFX docs) is I think as follows to be added to the features_map in products.py: 93: { # LIFX Color A19 1100lm (UNDOCUMENTED) "color": True, "temperature": True, "infrared": False, "multizone": False, "chain": False, "matrix": False, "min_kelvin": 1500, "max_kelvin": 9000, "hev": False, "relays": False, "buttons": False},

Also need to add: 93: "LIFX Color A19 1100lm", into the product_map at the start of products.py and add 93, into light-products line following the product_map in products.py.

@bobpendleton
Copy link
Author

Thanks so much for the fast reply. I made all three of those changes to the products.py file (located in the "C:\Users<USERNAME>\AppData\Local\Programs\Python\Python38\Lib\site-packages\lifxlan" directory on my Windows 10 machine) and it worked perfectly.

Thanks again!

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

No branches or pull requests

2 participants