good reliable motion sensing is hard, anything solely PIR based is going to be unreliable and give false positives when sensitive enough to "work" but if the sensitivity is turned down to avoid false positives they barely detect anything reliably, the middle ground is pointless to try to tune as it varies so much all the time. there are better ones out there that are a bit smarter or use multiple sensor types combined, but they usually cost 3-5x as much as the Sonoffs.
Look for microwave presence sensors for something actually useable. its a newer tech that has started to drop in price dramatically and works so much better as it doesnt rely on IR or temperature in any way.