Closed ohmantics closed 6 years ago
Looks like the netifaces package is suitable.
Thanks, this is really interesting. I can't say I've run into that issue myself, but I understand how it could be problematic. I'll take a crack at fixing it soon.
please do this quick
Resolving as a won't fix. I'd recommend enhancing it yourselves if you guys really need it to work. I don't have a test setup that matches this configuration.
You do not need to run this script in discovery/init mode more than once unless you change your LightPad layout. Just turn off the interfaces you don't need while doing the --init. After that, it won't be an issue.
A UDP broadcast to "all interfaces" really just goes over one. If the host has both ethernet and wifi, it may not find the light switches.
http://stackoverflow.com/questions/683624/udp-broadcast-on-all-interfaces covers some of it.