Welcome to Android Central! I moved this to the Android TV forum for more specific traffic.
What's the brand and model name/number of the box? What 802.11 protocol is your wi-fi network running? If your wi-fi network is only 5 GHz, and the box only supports 2.4 GHz, that might be why it's only connecting to your phone hotspot.