mclarkk / lifxlan

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

Switch from netifaces to ifaddr. #129

Closed mrstegeman closed 3 years ago

mrstegeman commented 5 years ago

ifaddr is pure Python and does not require a toolchain to be installed.

The struct packing/unpacking and math to find the broadcast address could easily be done with the ipaddress module in the standard library, but that's only for Python 3.x.

ceboxsell commented 4 years ago

I would prefer this. Much easier to install on windows and to use elsewhere. Worked well for me.

mclarkk commented 3 years ago

Done!