This problem shows that the magnetic field near your door is very chaotic, causing the compass to deviate greatly
You try to look at it every half a meter away, and the direction is constantly deviating
You need a better compass
There are also iron doors, steel bars in the wall, etc., which will cause the compass to deviate
The best way is that you Outside the building, in a place without interference, use a ruler to draw three balanced lines from the building gate
1 at a distance of 2 meters; 2 at a distance of 5 meters, 3 at a distance of 10 meters, and then comprehensively determine the accuracy of the building Sitting direction
Then use an angle ruler to calculate the angle between your home and its size, and then get the specific orientation.