always shows an empty array, even with a 30s timeout.
All of my lights have LAN control enabled and I can control them with the library through their IPs, but I can't discover them through my Flutter app.
Am i doing something wrong, or maybe it is a dev environment issue ?
Hi.
I'm relatively new to Dart so it might be just me, but i can't get the .discover() method to work correctly.
For instance:
Future<void> _fetchLights() async { List<DiscoveryResponse> devices = await Yeelight.discover(); print(devices); }
always shows an empty array, even with a 30s timeout. All of my lights have LAN control enabled and I can control them with the library through their IPs, but I can't discover them through my Flutter app.
Am i doing something wrong, or maybe it is a dev environment issue ?