Ap1 barometer as thread