Beiträge von moeff

    hi,


    Python
    ('waiting on port:', 20450)
    Traceback (most recent call last):
      File "/etc/hyperion/yeelight.py", line 7, in <module>
        from yeelight import *
      File "/etc/hyperion/yeelight.py", line 40, in <module>
        bulb = bulb(ip_address, effect="smooth", duration=timeout)
    NameError: name 'bulb' is not defined


    i get this error pi2 on python 2.7


    k got this. Never name the scripts yeelight.py - choose a different name

    hi,


    Python
    ('waiting on port:', 20450)
    Traceback (most recent call last):
      File "/etc/hyperion/yeelight.py", line 7, in <module>
        from yeelight import *
      File "/etc/hyperion/yeelight.py", line 40, in <module>
        bulb = bulb(ip_address, effect="smooth", duration=timeout)
    NameError: name 'bulb' is not defined


    i get this error pi2 on python 2.7