plugp100
plugp100 copied to clipboard
Tapo discovery protocol improvements and Windows support
As discussed at https://github.com/petretiandrea/plugp100/pull/138 and https://github.com/petretiandrea/home-assistant-tapo-p100/issues/83.
I fixed the Windows related issues:
- using select.select instead of select.poll (which is not available on Windows apparently)
- sending out the discovery magic on all network interfaces (again, Windows didn't select the right LAN interface by default, but it is probably more robust this way anyway)