A device used to point the way the wind is blowing

is called a wind vane or weather vane.