ただいま (tadaima) means I'm home. The person who is already there answers おかえりなさい (okaerinasai), welcome home.
When you go out, say いってきます (ittekimasu), and the person staying answers いってらっしゃい (itterasshai). うち (uchi) is home, the place where you belong.