Got sensor to work