Under which president did the tradition of playing "Hail to the Chief" when the president entered a room begin?

Under which president did the tradition of playing "Hail to the Chief" when the president entered a room begin?