i would enclose this part:
if (port.available() > 0) {
String val = port.readString();
list = split(val, ',');
float temp = float(list[0]);
float hum = float(list[1]);
println("Temperature: " + temp + " C " + "Humidity: " + hum + " %");
m.updateMeter(int(temp));
m2.updateMeter(int(hum));
delay(2500);
}
in a try function, probably your sensor fails to recover tmperatura or humidity and don’t send anithing, another thing to do is to verify (in the arduino code) the integrity of the data before sending it.