Tuya MiniApp IDE FAQs

No permission to panel plugin

Possible causes:

  • The MQTT connection and QR code scan failed.
  • Invalid deviceId with no permission.
  • getDeviceInfo and getLaunchOptions are not implemented.
  • Certain APIs require authorized login.

Review the permission settings.

If you have ruled out the causes mentioned above, follow these steps:

  1. Check that the login to the app via QR code scan is valid.
  2. Check that the device tool has been authorized by scanning the QR code using the same app and account as in Step 1.
  3. Click the Unbind button in the device tool and then bind another virtual device.
  4. Click the Refresh button in the toolbar of Tuya MiniApp IDE.

Authorization (login) and permissions

If you get an error saying login expired, authorization required, or QR code scan expired, check the login status. For example, check if the authorization has expired or if the same data centers serve the app account and Tuya MiniApp IDE. Try logging out and then back in.

Virtual device plugin does not work on Windows

Right-click the application and select Run as administrator.

Application cannot run on legacy Windows systems such as Vista

You can run the application in compatibility mode on Windows.

Unable to open developer tools

Ensure system environment

During the installation process, please turn off antivirus software to avoid affecting the installation. Or pay attention to see if the antivirus software has intercepted files during the installation process.

Remote debugger FAQs

QR code expired

Each QR code can be used only once. If it expires, you must generate a new one. Do not use a QR code from a screenshot.

Group does not exist in the current home

Tuya MiniApp IDE has groupId configured. Go to the homepage of the app and switch to the home that has the specified group.

Device does not exist in the current home

Tuya MiniApp IDE has deviceId configured. Go to the homepage of the app and switch to the home that has the specified device.

Device disconnected

The device might be disconnected due to network problems. You must manually close the miniapp and scan its QR code for debugging.

Remote debugger Error

  • Make sure not to include deviceId and groupId in the startup parameters with the smart miniapp.

No permission for remote real machine debugging

  • Make sure that the account used in the developer tools has permission to access the associated mini-program. Lack of permission may be caused by switching spaces or insufficient account privileges.

Element panel not loading in real machine debugging

  • In Real Machine Debugging 2.0, there is a refresh button in the lower right menu bar.
  • In Real Machine Debugging 1.0, you can try switching tags, such as toggling between the console and element tags.

Windows system errors

  • Reinstall the IDE. Make sure that antivirus software does not block or mistakenly quarantine files during installation, especially files in the isolation folder.
  • Make sure the node environment is > 18.0.0
  • Upgrade Microsoft Visual C++
  • Update the graphics card driver

Other problems

To seek support for other types of problems, you can leave messages on Tuya's Developer Forum.