}
} catch (IOException e) {
e.printStackTrace();
}
try {
Calculable c = checkAdd(s, "temperature", lastTemperature);
if(c!=null) {
lastTemperature = c;
temperatureTimeSeries.addOrUpdate(new FixedMillisecond(c.getWhen()), c.getValue());
}
} catch (RemoteException e) {
e.printStackTrace();
}
}