change id from long to String
implement sensor API