All roles involved in the network configuration and addition, including the Tuya gateway, the third-party App to be added, and the third-party hub to be added, need to be on the same local area network. The Tuya series App does not have to be on the same local area network, but it is best to be on the same network.