You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ?
The text was updated successfully, but these errors were encountered:
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 ?
The text was updated successfully, but these errors were encountered: