What are the connotations of "there" in "hello/hi there"

Solution 1:

I take it to be a compression of:

Hello you over there

The idea being that I'm saying hi to you because I see you before me.