Optonic sensor