Add sensor reading to example