I’m trying to build a script in python using the LifxLan library by @mclarkk .
When trying to set up a specific light (vs using the discover feature) I get this error message:
File “C:\Users\xxx\ … ]xxx.py”, line 4, in
high = Light(“d0:73:d5:13:34:04”, “192.168.1.79”)
TypeError: init() takes at least 6 arguments (3 given)
I saw from a different post (Need a little help writing scripts for the LifxLAN Python Library) that you can apparently create the light with this kind of command.
Here is the code so far:
from lifxlan import Light
high = Light(""##:##:##:##:##:##", “###.###.###.###”)
high.set_power(“off”, rapid=True)
Thank you