When pairing the TUYA app with the mini WIFI 5193 controller, it is not possible because it cannot find the device. This is because the controller already has an owner in the app, so to resolve this, you must perform a Wi-Fi reset of the controller.
To resolve this, follow the steps indicated in the app manual, page 20: