From D&D Wiki
|This material is published under the OGL|
A creature with tremorsense locates other creatures by sensing vibrations in the ground.
The creature automatically senses the location of anything that is in contact with the ground and within range.
If no straight path exists through the ground from the creature to those that it's sensing, then the range defines the maximum distance of the shortest indirect path. It must itself be in contact with the ground, and the creatures must be moving.
As long as the other creatures are taking physical actions, including casting spells with somatic components, they're considered moving; they don't have to move from place to place for a creature with tremorsense to detect them.