Skip to content

No bulbs seen #3

@frakman1

Description

@frakman1

Hi there,

I tried using the test code in the readme but it returns 0 bulbs even though I have one LIFX bulb up and running and pingable from the prompt. I confirmed that I can control it from the app as well.
This is the code I used ( I printed bulbs to make sure it really is empty in this case):

import lazylights
import time
bulbs = lazylights.find_bulbs(expected_bulbs=1)
lazylights.set_power(bulbs, True)
time.sleep(1)
lazylights.set_power(bulbs, False)
print bulbs

running it on my windows dos prompt:

>python fraktest.py
set([])

What am I missing?

I also tried "python test_lazylights.py" but nothing happened there either.

Thank you
-I am using Python 2.7.5 on windows 7 64bit with a LIFX bulb running latest 2.0 firmware
-I installed lazylights2.0 by downloading the zip file and running "python setup.py install" . The github way didn't work for some reason and gave me a " error: invalid command 'egg_info'" error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions