The word hardly is being used in a different sense in your two examples. In the first, it qualifies your ability to believe something. In the second, it states a fact, meaning "just as I arrived home, ..."
Using when is correct
I could hardly believe it when I found their tallest player was
shorter than I.
Although than I is formally correct, than me is more usual, so I would modify the sentence in steps:
I could hardly believe it when I found their tallest player was
shorter than I am.
I could hardly believe it when I found their tallest player was
shorter than me.
I could hardly believe it when I found I am taller than their tallest
player.
Using shorter makes the sentence harder to understand, since it is about being tall, not being short.
Back to the question, but is used to contradict something, or give an opposing view. There is none here to challenge. Perhaps if you said
I believed their players were very tall, but I found I am taller than
their tallest player.
the but would be well placed.