python-miio icon indicating copy to clipboard operation
python-miio copied to clipboard

Allow subnet to be specified for broadcast

Open jorticus opened this issue 4 years ago • 0 comments

This is to address issue #584 - discover doesn't work on Windows unless you specify the correct interface's subnet.

Usage:

> py -m miio.vacuum_cli discover --handshake 1 --subnet 192.168.4.255
INFO:miio.miioprotocol:Sending discovery to 192.168.4.255 with timeout of 5s..
INFO:miio.miioprotocol:  IP 192.168.4.1 (ID: 13e7927b) - token: b'...'

Closes #584

jorticus avatar Mar 09 '21 09:03 jorticus