tfConfig.getMovingAverage());
setMovingAverage(tfConfig.getMovingAverage());
}
}
try {
tinkerforgeDevice = new BrickletMoisture(getUid(), getIpConnection());
tinkerforgeDevice.setMoistureCallbackPeriod(getCallbackPeriod());
tinkerforgeDevice.setMovingAverage(getMovingAverage());
listener = new MoistureListener();
tinkerforgeDevice.addMoistureListener(listener);
fetchSensorValue();