tuya 20240607 Wi-Fi EZ Mode Camera Owner’s Manual

September 20, 2024
Tuya

tuya 20240607 Wi-Fi EZ Mode Camera

Specifications

  • Product Name: Wi-Fi EZ Mode
  • Version: 20240607
  • Online Version

This topic describes the Wi-Fi Easy Connect (EZ) or SmartConfig mode to pair devices. After a user connects a mobile phone to a router, the router broadcasting is used to communicate and pair with a target device. It is easy- to-use, but has compatibility requirements for mobile phones and routers. The success rate is lower than that of the AP mode.

Pairing process

info
For iOS 14.5 and later, we recommend that you use the AP mode instead of the Wi-Fi EZ mode. The former trumps the latter when it comes to the following aspects:

  • Compared with the Wi-Fi EZ mode, the AP mode results in a higher success rate, optimal reliability, and fewer compatibility requirements for mobile phones and routers.
  • The app built with Xcode 12.5 cannot send the EZ pairing data packets from an iPhone that runs iOS 14.5 or later. In this case, the permission com. apple. developer. networking.multicast must be enabled for the app. This permission must be approved by Apple before it can be enabled. As a temporary solution, you can use an earlier Xcode version, but the AP mode is still recommended.

Get a token

Before the Wi-Fi EZ pairing process, the SDK must get a pairing token from the cloud in the networked state. The token is valid for 10 minutes and expires immediately after the device is paired. A new token must be generated if the device needs to be paired again.

API description

Parameters

Example

ObjC:


Swift:

Callback of the pairing delegate

API description

Parameters

Start pairing

API description

Parameters

Example

ObjC:

Swift:

Stop pairing

After the pairing process is started, the app continuously broadcasts the pairing data until a device is paired or the process times out. To allow users to cancel or com-plete pairing during the process, you must call the API method [TuyaSmartActivator stopConfigWiFi] to stop pairing.

API description

Example

ObjC:

Swift:

Frequently Asked Questions

  • Q: What should I do if the pairing process fails?
    • A: If the pairing process fails, ensure that your mobile phone and router meet the compatibility requirements. Additionally, generate a new pairing token and try again.
  • Q: Is there an alternative to Wi-Fi EZ mode for iOS 14.5 and later?
    • A: Yes, for iOS 14.5 and later, it is recommended to use the AP mode instead of the Wi-Fi EZ mode for better performance.

References

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

Related Manuals