Open ZZLinvec opened 5 years ago
Most users have laptops these days, most laptops have WiFi and Ethernet network adaptors. So this means that most users will not be able to use your tool?
mDNS discovery should send mdns requests on all found network adaptors.
@ZZLinvec please consider real life usage scenarios!
Example 1: I have 20 Sonoff devices, how much time I have to spend to be able to use them all in DIY mode? How do I update all my devices to latest firmware? If I change my WiFi router or SSID - what's the process of reconnecting all my 20 devices to the new SSID?
Example 2: I write a Sonoff plugin for HomeSeer automation system, which will be used by many customers which are not very technical. How will they use your DIY devices? Do they have to use your unreliable tool? Do they have to install Python 3.7 on their computers?
This situation is almost impossible for wide use of your devices.
Finally I managed to discover my devices! After flashing FW 3.3 and disabling Ethernet adaptor on my laptop.
Bug.mdns will simply select the first network card for device discovery.If the second network card is connected to the device's LAN, this will not find the device.