Add magnetometer and temperature support