Skip to content

Conversation

@dmitryelj
Copy link
Contributor

Some systems (for example dd-wrt routers) requires specifying the network interface name, otherwise the broadcast search does not work. Optional parameter 'interface' added.

Usage example:

devices = asyncio.run(Discover.discover(interface=b'br0'))
for addr, dev in devices.items():
    ...

Some systems (for example dd-wrt) requires specifying the network interface name, otherwise the broadcast does not work
dmitryelj and others added 2 commits June 26, 2020 17:45
Co-authored-by: Teemu R. <tpr@iki.fi>
@rytilahti
Copy link
Member

rytilahti commented Jun 26, 2020

This is good to go when the linting checks pass, thanks for the PR! 🎉

edit: please rebase on top of the current master, and add a simple example at the end of the other docstring examples. there is no need to create any specific tests for this, just a code example showing how (and why) this can be used.

@rytilahti
Copy link
Member

So, I don't really see why this isn't passing when it should. I have tried to restart the checks, but that doesn't seem to be working either and clicking to see what was failing returns "Build not found.".

As the code seems fine now, let's get this merged and fix it later if needed (which I doubt, maybe the pipeline was just bugged). Thanks for the PR! 👍

@rytilahti rytilahti added the enhancement New feature or request label Jul 28, 2020
@rytilahti rytilahti merged commit 1cd1e84 into python-kasa:master Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants