Guide to gyro and accelerometer with Arduino including Kalman filtering

That's the whole point of the filter

Well no. The whole point of the filter is dealing with noise. The problem of distinguishing true acceleration from the effect of gravity on the sensor remains. I've yet to see a convincing implementation of the Kalman filter approach which considers more than one dimension.