Closed guyluz11 closed 1 year ago
It looks like it is finding the current computer running the program.
Using datagram.address.address
I found that it crushed on my computer IP, it is a regular computer so there is no Yeelight device here.
I think this crush has something to do with it that I currently do not have any Yeelight devices in the network.
Tested and it does not seem that my computer has Yeelight port 1982 open.
While using the
Yeelight.discover
function I am gettingCrash.
I have several smart devices in my home but currently it does not include any Yeelight devices.
The code is crashing inside
factory DiscoveryResponse.fromRawResponse(String rawResponse) {
and
rawResponse
Value is
Crashes on line 173
final match = regExp.firstMatch(rawResponse)!;