sensorService code initial