Can I create Lifx devices and just manually specify the IP address or the IP address and MAC address?
I have an LED that is physically powered on and off a lot (intentionally) and although it works fine with the Lifx app, discovery doesn't find it.
spiv wrote:Can I create Lifx devices and just manually specify the IP address or the IP address and MAC address?
I have an LED that is physically powered on and off a lot (intentionally) and although it works fine with the Lifx app, discovery doesn't find it.
>>> import lifxlan
>>> lifx = lifxlan.LifxLAN()
>>> lifx.get_lights()
[] <-- discovery produces nothing
>>> light1=lifxlan.Light("d0:73:d5:xx:xx:xx", "10.20.20.104") <--success, bulb on a different vlan than indigo server
>>> light1.set_power(1) <-- it lights up
>>> light1.set_power(0) <-- turns off
rhanson wrote:Any chance of getting this in the plugin? ...
rhanson wrote:Any chance of getting this in the plugin?
Users browsing this forum: No registered users and 1 guest