mclarkk / lifxlan

Python library for accessing LIFX devices locally using the official LIFX LAN protocol.
MIT License
503 stars 115 forks source link

Most lights being detected but some of same model are not #169

Open Arndorferd opened 2 years ago

Arndorferd commented 2 years ago

When I run

$ python3

from lifxlan import * print(LifxLAN().get_lights())

10 lights get detected, 12 are on, 12 work with the lifx android app

The two lights that dont work the same model of light is being used in other places that do work.

Arndorferd commented 2 years ago

also lights show up in android app show up on child networks but lifxlan only shows 2 lights online on the child network and not the same 2 lights as the offline lights on parent network that dont work.

This doesnt make sense, I dont know why 2 lights would work on both networks but the rest all fail on one but not the parent. Yet 2 different ones fail on the parent network. Yet they all work on the android app.

mclarkk commented 2 years ago

Probably because the products.py file is out of date, though I can't confirm without knowing what model the missing lights are.

HaberHash commented 1 year ago

I'm having a similar issue. I just got a couple of the new LIFX downlights can't discover them. Anyone know how to fix? I've really been looking for something like this. I had Hue fixtures, which totally BLOW. I have 4 bridges and still can't get them running quick. I LOVE LIFX... just need to get them discovered.

Works with my old bulbs, but new bulbs can't be discovered. It's weird because I can issue set_color_all_lights and they'll all change.

HaberHash commented 1 year ago

I ended up using Photons, more specifically 'lifx lan:device_finder_info' to find details about my new lights then updated all of the products.py files across my system. Seems to be working reasonably well so far.

HaberHash commented 1 year ago

FYI merged the products.py changes back here.