create a LocalSensorService that returns a promise