Browse the most common questions and expert answers about Wukong AI Hardware Development on the Tuya IoT Platform.
When compiling using the wukong framework on the T5-AI development board, the compilation may fail due to the addition of tuya_uart_c and .h files. Here are some solutions: 1. Compile in root mode. Sometimes non-root mode can cause permission issues, preventing successful compilation. 2. Check whether the compilation options for tuya_uart.c and .h files in the local.mk file are correct. The local.mk file is used to describe compilation rules, and incorrect settings may lead to compilation failure. 3. When encountering redefinition errors, confirm that the relevant interfaces have already been defined in the program. If deletion does not affect compilation, please proceed with deletion. 4. Try performing a clean operation and then recompile. 5. If the above steps do not resolve the issue, please provide the complete compilation error log for further analysis.
To obtain the results of the tuya_ai_text_proto_upload_data function and the tuya_ai_chat_proto_upload_data function, you can refer to the following two callback functions: 1. ai_toy_proc_output_cb callback function. 2. ai_proc_event_cb event handling callback function. The specific purpose of these two functions is to upload text data and audio data to the agent.
Currently not supported.
When the lighting fixture does not enter the production test state after powering on, it is recommended to take the following measures for troubleshooting and resolution: 1. Check whether the SSID input of the production test router is correct, ensuring that the SSID name used is test1 (tuya_mdev_test1) or test2 (tuya_mdev_test2) 2. Ensure the router signal strength is sufficient, it is recommended to keep the distance between the lighting fixture and the router within 3 meters 3. If the network configuration time exceeds 15 minutes, the device may need to be re-authorized or removed from the network configuration If the above measures still do not resolve the issue, it is recommended to contact the developer of the production equipment to address any potential firmware or hardware problems.
The T5-E1-IPEX module uses an external antenna (3rd generation IPEX antenna base). The difference of the IPEX base is shown in the figure below.
Comparison Dimension T5-E1 (Onboard Antenna) T5-E1-IPEX (External Antenna) Antenna Type Onboard PCB Antenna 3rd generation IPEX Socket External Antenna Pin Differences 8 GND pins (43/44/50/53/54/55/58/59) 8 GPIOs (43/44/50/53/54/55/58/59) Available GPIO 8 GPIO, P48–P55 unavailable GPIO P48-P55 retained 60 Pin Definition VIO 3.1 V 60 pin is GND, VIO was not introduced, VIO=VBAT Dimensions (mm) 18.00±0.35 × 25.50±0.35 × 2.8±0.15 18.00±0.35 × 19.70±0.35 × 2.8±0.15 Driving Capability Supports DVP camera, does not support RGB565 screen Supports DVP camera, supports RGB565 screen Development Board T5AI-Core T5AI-Board Comparison of pin differences between T5-E1-IPEX module and T5-E1 module:.
The timbre replication function is divided into ToC and ToB. Users need to access the timbre clone service link for timbre replication:https://www.tuya.com/vas/commodity/TIMBRE_CLONE. After applying, service personnel will contact the customer. After application, the customer needs to submit proof of timbre copyright and a letter of commitment. Audio requirements are: for the domestic region, wav format, 20 seconds duration, 24K or 48K sampling rate, mono; for overseas, wav format, less than 10 seconds duration. Next, authorization information, authorization letter + audio file need to be provided. The cost for each timbre is 5000 RMB, and the processing time is approximately 3 working days.
When there is an issue with abnormal temperature display in the usage scenario, pay attention to the multiple conversion. For example, when setting the temperature to 21 degrees, the input value should be 210, as the internal temperature range of the product may require this conversion. Please confirm whether the input value meets the requirements before saving, and check whether the cloud correctly reads the value range of the DP point. When entering the temperature, ensure that the correct multiple value is entered to avoid display errors.
To achieve the alarm function of the T5 TOY project, the product needs to have support for relevant DP points. For battery-powered products, this function is not recommended, while it is a feasible option for products with constant power supply. AI toy products need to have the DP14 clock_set DP point, and implement it through AI clock agents and related firmware development. Ultimately, the alarm function can be realized by integrating DP points and AI alarm code in the WindIDE development package.
During testing, it was found that the device continues to play while in standby mode and there are issues with missing responses. Long press dialogue timeout issues may lead to partial response loss. Suggestions: 1. Check the task status of the device to ensure that no multiple tasks are causing continuous playback while in standby; 2. To prevent timeout issues caused by long press dialogue, it is recommended to use clear instructions to actively close the story.
Currently, front-end devices are provided to merge video streams into a single video stream and input it into the Tuya SDK (this process requires certain chip performance). The app displays multiple video streams based on the video segmentation information.
Some cloud providers cannot be used in the China region, such as Microsoft and Google.
Not supported, cannot replace.
Need to lay GND.
About 2.1V.
The screen initialization interface has an spi_using_qspi field. If it is FALSE, it indicates using hardware SPI to drive the screen, and if it is TRUE, it indicates using QSPI to drive the screen. SPI 0 pin definition Function Head Pin Clock SCL P14(fixed) Data Transmission SDA P16(fixed) Chip Select CS P13(fixed) Instruction Control DC Customizable Backlight BL Customizable Restart RST Customizable QSPI 0 pin definition Function Head Pin Clock SCL P22(fixed) Data Transmission SDA P24(fixed) Chip Select CS P23(fixed) Instruction Control DC Customizable Backlight BL Customizable Restart RST Customizable.
If it is a rustling noise, it is generally a problem with the device layout or wiring; If it is a clicking noise, it is most noticeable when the module is networking, and touching the antenna can significantly reduce or eliminate it, indicating the influence of RF radiation;.
UseOPERATE_RET tuya_speaker_service_tone_play(CONST CHAR_T *url); interface, pass the absolute path of the mp3 file to url.
First, check if the voltage is stable. Additionally, it may be related to the speaker, you can try replacing the speaker for testing.
Definition: VAD (Voice Activity Detection) The difference between cloud VAD and local VAD is that local VAD does not interrupt, the interruption is done by the cloud.
Not supported temporarily, currently supports single microphone or digital dual microphone.
Use 120R, specifically selected according to debugging conditions.
The L511 module can be used for docking, module specificationhttps://developer.tuya.com/en/docs/iot/L511C-Y6E-Module-datasheet?id=Kee7nleqo4qqg.
A Wukong account is an account on the Tuya developer platform.
In casual conversation mode, if no sound is detected for 30 consecutive seconds, it will automatically exit the listening state and stop waiting for the user to speak. If you need to modify this timeout, you need to change the value of the macro "TOY_IDLE_TIMEOUT" in the ai-toy demo. The path is shown below:.
Starting from business package version 6.7.23, it is no longer necessary to perform exclude processing for the org.apache.commons component. This means you can delete the following code from the global dependencies of the root dependency source: exclude group: 'commons-io', module: 'commons-io' exclude group: 'org.apache.commons', module: 'commons-lang3'.
There are currently 19 types, as follows: neutral annoyed cool delicious fearful lovestruck unamused winking zany angry confused disappointed embarrassed happy laughing relaxed sad surprise thinking.
a. The lamp may use a constant-voltage current limit and MOSFET transistor solution with high output voltage (Vout). After the current limit is reached and you adjust the brightness to a larger value, the output current will remain unchanged. b. When adjusting brightness in the App, check whether the module's output PWM wave changes properly. Then, check whether the brightness adjustment circuit is abnormal or has reached the current upper limit when it receives PWM signals. c. Confirm whether the color light power limit function is turned on in the no-code development solution, and turn it on. After this function, after the color light brightness bar is adjusted to the maximum limit power, the brightness and power will not increase.
This is related to the mobile input method, you need to check if the predictive text feature is enabled on the mobile input method,the input method does not record the input state into the input box before confirmation,the browser does not detect the input change and does not trigger onInput. It is recommended that you disable the predictive text feature in the input method settings or click to select the predicted text to trigger onInput.
If the customer needs to modify the voice plan, just create a new version; for those modified but not published, go to the unpublished version and click publish to take effect.
If the plaintext contains UUID and key, after OTA, it will be refreshed to the uuid and key in the OTA file, so please follow our formal authorization process during the production stage.
This is because the Config Project has not been built before, please right-click "build Project" first.
P13 on the schematic is the SCL of i2c, which is simulated by IO port.
.bin file is the compiled product generated after the program is compiled. It is a binary file to be burned into the module. There is no need to open it, it is recommended to directly burn it into the module to test the function.
Switching method: If using the T5 development board, you can quickly press the button twice to switch modes. Supported modes are: 1. Button dialogue: Wake up T5 by pressing the button (just press once), then start the dialogue directly. 2. Voice wake-up dialogue: You can say "Hello Tuya" to wake up T5, then speak the dialogue content. 3. Free dialogue: First say "Hello Tuya" to wake up, then you can freely interrupt the dialogue. 4. Long press dialogue: Keep pressing the button, then speak, release the button after speaking.
Video requires a dedicated decoder and hardware support, currently T5 does not have this feature.
Supported, you can refer to:.
Different demo partitions are different, you can check through the compilation log during compilation. Please refer to:.
In the config interface (refer to section 2.3.1) select ENABALE_TUYA_CAMERA, and read the readme in the demo in detail.
Some old computers may not support very high baud rates. When burning, if the serial port is not selected incorrectly, it is recommended to lower the baud rate and try again.
Timer 0 supports microseconds. Note: The execution frequency of 1us timing is very high, the business needs to be very streamlined, and the requirements are relatively high, otherwise execution reentry may have problems.
Generally, when a program runs, it first reads the authorization code from the flash at a fixed address. If the corresponding address is erased and cannot be authorized using Tuya's production tool, during testing and development, you can write the UUID and key in plain text in the program. This way, the program will not read the authorization code from the flash but will directly use the plain text authorization code to activate. (During mass production, the firmware uploaded on the platform must have the UUID and key shielded.).
If you are using the T5 development board, you can directly connect the device to the PC via a Type-C interface data cable. The serial port driver chip on the board will drive the two serial ports of the T5 module separately, one is the programming serial port, and the other is the LOG serial port. Open the Tuya programming software (refer to section 3.4 above), select the serial port, baud rate 460800, as shown in the figure: (If there is no print, you can select another serial port).
The partition of the GUI product development kit is different from other demos. You can delete the files under the vendor and then recompile.
Can adjust OPERATE_RET tuya_ipc_trigger_alarm_without_event(TUYA_ALARM_T *alarm) to solve the assignment of the input parameter alarm: alarm_info.type = NOTIFICATION_NAME_MOTION; // Assign according to the actual type alarm_info.is_notify = md_enable; alarm_info.trigger_time = tal_time_get_posix(); // Timestamp alarm_info.upload_time = 0; alarm_info.valid = 1; alarm_info.force = 1; alarm_info.resource_type = RESOURCE_PIC; alarm_info.pic_buf = (CHAR_T *)snap_buffer; alarm_info.pic_size = snap_size; alarm_info.extra_data = NULL; alarm_info.context = NULL; alarm_info.context_cnt = 0; alarm_info.media = NULL; alarm_info.media_cnt = 0;.
Device-side transmission, does not support ANS and AEC functions.
Only the latest version supports it. Simply upgrade the SDK to the latest version.
Management entry: Tuya Developer Platform App - OEM App - Common Tools - QR Code, only the download link of the application market can be filled in the input box, and the link address with the following domain names is currently supported: apps.apple.com itunes.apple.com play.google.com a.app.qq.com sj.qq.com mobile.baidu.com shouji.baidu.com openbox.mobilem.360.cn zhushou.360.cn android.myapp.com appgallery.huawei.com app.mi.com m.pp.cnserver.m.pp.cn download.zhushou.sogou.com zhushou.sogou.com fx.anzhi.com appgallery.cloud.huawei.com appstore.huawei.com If the app store that is commonly used in your country or region is not in the list, you can submit a technical ticket to us and we will add it to the list as soon as possible after review.
You need to set the enable parameter in tkl_ai_init to 0 during initialization. The operation is as follows:.
The maximum input voltage of ADC is 3.25V. It is recommended to use MΩ level external voltage divider resistor and place 100nF capacitor to ground near ADC port for filtering.
Replace TY_AI_TRIGGER_MODE_WAKEUP in the tuya_device_cfg.h file in the include directory of the apps/ai_toy_demo project in the SDK with the mode you want. The operation is as follows:.
You can call this function, static INT_T audio_recorder_frame_put(TKL_AUDIO_FRAME_INFO_T *pframe) The path of the function is shown in the figure below:.
You can call the function pm_cpu_freq_ebk_pm_current_max_cpu_freq_get() to obtain it. The function directory is as follows:.
After the firmware development is completed, the firmware can be uploaded to the platform, and then the module can be ordered directly. For orders over 100 pieces, Tuya will directly burn the uploaded firmware and mail it to the developer. The method for uploading firmware can be referred to in the document: Manage Firmware Note: 1. When uploading firmware, the tested UUID and key in the code should be masked. Only after masking will the upper computer authorization proceed. 2. After uploading, it is recommended that developers first apply for a free "production certificate" for testing. Confirm that there are no errors before ordering the module. If not tested, there may be issues with the firmware that prevent the factory from completing the burning authorization normally.
The Wukong AI hardware development framework is an innovative platform built on TuyaOS, designed specifically for commercial development in the AI hardware field. The baseline part of the code is not fully open source and can be used commercially. TuyaOpen is a fully open-source SDK launched by Tuya for developers, available for learning and development by developers, and does not support commercial use. Note: The authorization codes for the two are not interchangeable.
The maximum input level of the ADC port is 1.1 V. It is recommended to use MΩ level external voltage divider resistors, and place a 100nF capacitor to ground near the ADC port for filtering.
The development boards that have been shipped are already authorized, so there is no need for re-authorization. Therefore, users should not attempt to completely erase the Flash or write the burning address incorrectly, as this will cause issues with the authorization code in the authorization area, preventing internet connection.
Please replace the PID in the tuya_app_main.c file under the apps/demo project in the SDK with your own PID, recompile and burn the network configuration. The operation is shown as follows:.
tuya_speaker_service_tone_play_data(AI_TOY_ALERT_PLAY_ID, TUYA_AI_CHAT_AUDIO_FORMAT_MP3, audio_data, audio_size).
Antenna Gain is an important parameter for measuring the radiation capability of an antenna. It describes the radiation efficiency of the antenna in a specific direction relative to a reference antenna (usually an omnidirectional antenna or an ideal dipole). Gain represents the ability of the antenna to focus input power in a certain direction or to receive signals from a certain direction, usually expressed in decibels (dB). Antenna gain considers not only the radiation efficiency of the antenna itself but also the effect of signal concentration in a certain direction due to antenna design. High-gain antennas can more effectively concentrate energy in a smaller radiation area, which means the signal in that direction will be stronger, while signals in other directions will be weaker. Specifically: Omnidirectional antennas (such as those on typical Wi-Fi routers) provide a uniform radiation pattern on the horizontal plane, with relatively low gain, but can cover uniformly in all directions. Directional antennas (such as satellite dish antennas or Yagi antennas) provide high gain, allowing signals to be concentrated in one direction, enabling communication over longer distances. High-gain antennas are particularly useful in wireless communications because they can enhance the ability to receive or transmit signals over long distances, improving the quality and reliability of communication. However, gain is not the only factor in measuring antenna performance; other parameters such as the operating frequency, bandwidth, size, and installation location of the antenna also need to be considered in practical applications.
PWM (Pulse Width Modulation) dimming and thyristor dimming are two different dimming technologies, which differ in working principles, application scenarios, and effects: 1. PWM Dimming: Principle: PWM dimming controls the output average voltage by adjusting the pulse width of the input voltage, thereby achieving dimming. Simply put, it involves rapidly switching the voltage between fully on (high level) and fully off (low level), controlling the brightness by changing the proportion of on/off time. Advantages: PWM dimming can control brightness very precisely, suitable for situations that require fine dimming, such as LED lighting. Disadvantages: If the PWM frequency is low, flickering may be perceptible to the human eye. 2. Thyristor Dimming: Principle: Thyristor dimming uses a thyristor (a type of semiconductor device) to control the conduction and cutoff of the circuit, thereby regulating the current size and achieving dimming. Thyristors can be turned on at any point during the positive or negative half-cycle of AC power, controlling power by adjusting the conduction angle. Advantages: Thyristor dimming technology is mature, cost-effective, and suitable for traditional lighting such as incandescent and halogen lamps. Disadvantages: Thyristor dimming may produce flickering and noise, and the dimming range and precision are relatively low. 3. Application Scenarios: PWM dimming achieves a very smooth dimming process with almost no flickering, suitable for high-quality lighting requirements. Thyristor dimming is more commonly used in traditional lighting systems (such as incandescent and halogen lamps), especially in cost-sensitive applications. 4. Experience Effects: PWM dimming generally provides smoother brightness transitions and a better visual experience. Thyristor dimming may cause light flickering, especially noticeable at lower brightness levels. In summary, the choice of dimming technology depends on specific application needs, type of lighting fixtures,.
I. Wiring To program with the original factory programmer, use log_TX and log_RX (yellow line in the image below) for Tuya upper computer authorization with TX and RX (user serial port, black line in the image below), then connect VCC and GND. II. Original Factory Tool Programming 1. Original Factory Tool Download 📎 Image_Tool(1).zip 2. Downloading the Program Operation steps: First, power off the module Connect the module's log_TX to ground, then power on the module (ensure that LOG_TX is at low level when the module is powered on, then the module enters programming mode) Connect the module's LOG_TX to the serial port's RX, and LOG_RX to the serial port's TX Open the programming software, configure as shown below, click Download, and the log below will indicate a successful programming. 3. Input ATSC to Run the Program After the firmware is programmed, open the serial port software, restart the module and the log as shown will be displayed. Then select the log serial port number, use the serial port tool to send the input ATSC\r\n(Note that you need to add carriage return and line feed, otherwise it may fail to start) string sending, as shown in the image: After inputting, restart the module, and the program will run normally, as shown in the image:.
The issue is caused by the inconsistency between the PMS account and the account used to log in to the production solution. Simply register or log in to the production solution using your PMS account.
A relay is an electric control device, which is an electrical appliance that causes a predetermined step change in the controlled quantity in the electrical output circuit when the change in the input quantity (excitation quantity) reaches the specified requirement. A plug-in relay is a type of relay.
A 1-kiloohm dropping resistor is recommended.
SISO is Single Input Single Output, Single Input Multiple Output, Multiple Input Multiple Output, Multiple Input Multiple Output; MIMO is mainly a multi-antenna multi-stream processing technology used in scenarios such as routers; You won't need beam forming yet, which involves the conversion of formative gain and so on . Choose SISO type when authenticating.
Beacon's plug-and-play three-channel LED strip uses the AK801 chip and has the following features: 1. Two audio input methods - local microphone and mobile phone microphone - to achieve synchronized lighting effects that dance with the music. 2. Two control methods - APP and remote control - for multiple options and free control. 3. Supports 24-key infrared remote control and is compatible with traditional control methods. Advantages include: 1. TUYA Beacon communication protocol for fast local connection. 2. Supports light timing. 3. Up to 16 million colors for light adjustment. 4. Chip on board for low cost. 5. After connecting to the gateway, supports automation/one-click control. Product features include: On/off switch; Modes; Color lights; Scenes; Music lights; Microphone music rhythm; Countdown; Hardware local function supports 24-key infrared remote control without the need for network configuration.
Step1 Join CSA Step2 Apply for Vendor ID Step3 DCP Step4 Product development, self-testing Step5 Sample sent to Tuya for testing Step6 Submit an application for certification Step7 Certification Audit Step8 After the certification is passed, the website will be publicized and the CD will be issued Step9 DCL information input.
Possible causes: 1. The model or specification of the shunt resistor is inconsistent with that specified on the IoT platform. 2. The input voltage is incorrect. If the resistance is 560 ohms, the input voltage should be AC 220V. If the resistance is 144 ohms, the input voltage should be AC 110V. 3. The voltage sensing wire is too long and forms intersections, which causes interference.
There is an authorized SN on the module label, you can scan the code to get the SN; SN and MAC address are bound in the cloud, input the scanned SN into the software of the production test host computer, then you can do the production test. The SN must be needed, otherwise the corresponding device for production test can't be found.
NM1 can use LDO with low quiescent current and output current capability up to 0.5A as power supply, and also supports lithium-ion battery power supply; its power input voltage range is 2.1V~3.63V. When the module is working in digital transmission, it must be ensured that the power drop is not lower than the minimum working voltage of the module 2.1V, otherwise the module will be abnormal. In order to ensure better power supply performance, it is recommended to connect a 100uF tantalum capacitor with low ESR (ESR=0.7Ω) and 100nF, 100pF (0402 package) and 22pF (0402 package) filter capacitors in parallel near the VBAT input of the module. At the same time, it is recommended to add a TVS tube close to the VBAT input to improve the surge voltage tolerance of the module. In principle, the longer the VBAT trace, the wider the line width.
Analysis: When MCU requests the dynamic pwr verify, none of the admin pwr was received by the current Locker module. Suggestion: Please make sure 'Dynamic password' is set as 'Available when input local admin pwr', so when the Device requests for dynamic pwr verify every time, MCU would send all admin pwr to module.
The link of temporary password is like this: after setting the temporary password on the App, the device sends the command to get the temporary password, and after getting the temporary password information returned by the module, the device will verify the visitor input password by itself.
For key input and output signal interfaces, such as SIM card signal interfaces, etc., ESD devices need to be placed nearby for protection. In addition, on the master board side, users are requested to design structural parts and PCB layout reasonably to ensure that the metal shielding shell is fully grounded and set up for electrostatic discharge an unobstructed discharge channel.
First of all, both isolated and non-isolated drivers refer to the power supply part of the LED lamp. 2. Isolation means the input and output of the AC main power supply are isolated by a transformer without electrical connection. Therefore, there is no risk of electric shock at this end of the lamp board. It is suitable for some externally driven lamps, such as panel lights. 3. Non-isolated means the power input and output are not electrically isolated, and connected with the ground wire together, so there is a risk of electric shock at this end of the lamp board. Suitable for some built-in drived lights, such as bulbs, downlights and etc.
When the CCT firmware is used for CW control, the input power will increase when adjusting the color temperature and the maximum output power will be doubled. When adjusting the brightness, the color temperature will also change.
The App terminal divides the audio input signal into 14 intervals according to the strength of the audio. Each interval has 2 colors (RGBCW). When the audio signal strength is in the corresponding interval, it randomly displays a color in the corresponding interval.
Tuya supports both passive and active buzzers. To use a passive buzzer, you must input the buzzer frequency.
Dear user, we are sorry for your inconvenience. When the smart camera screen becomes black and white, you may have turned on the camera's night vision mode. This mode automatically turns on when the camera cannot capture sufficient light. To turn off the night vision and reset the color of the video, you must place the camera in a well-lit position. If there is a phenomenon that the settings cannot be saved, this is a problem of the product itself, please contact the equipment seller for handling. Thank you for your support and understanding. Note:Most cameras are designed to be forced to switch to color mode under strong light environment, because the strong light environment will burn the night vision module of the camera.
Dear user, we are sorry for your inconvenience. When you fail to add a device, you may enter an incorrect password. Check whether the router's password is incorrect as follows: Check whether the password contains only digits, letters, special characters, or words in special languages, such as Arabic and Spanish. Chinese characters are not supported. Check whether the password contains no more than 58 characters. Check whether spaces exist before or after the password. Check whether the first letter of the password is uppercased when the actual password is not uppercased. Some input methods uppercase the first letter by default.
Currently, this interface does not support the use of event stamps. If needed, you can use the tuya_ipc_trigger_alarm_without_event interface, the usage is as follows: OPERATE_RET tuya_ipc_trigger_alarm_without_event(TUYA_ALARM_T *alarm); To solve the assignment of the input parameter alarm: alarm_info.type = NOTIFICATION_NAME_MOTION;//Assign according to the actual type alarm_info.is_notify = md_enable;alarm_info.trigger_time = tal_time_get_posix();//Timestamp alarm_info.upload_time = 0; alarm_info.valid = 1; alarm_info.force = 1; alarm_info.resource_type = RESOURCE_PIC; alarm_info.pic_buf = (CHAR_T *)snap_buffer; alarm_info.pic_size = snap_size; alarm_info.extra_data = NULL; alarm_info.context = NULL; alarm_info.context_cnt = 0; alarm_info.media = NULL; alarm_info.media_cnt = 0;.
Port occupied, before opening the fixed frequency software, there are other serial port tools in use Operation method 1. Close the current fixed frequency software 2. Close other serial port tools 3. Re-power the sample, open the fixed frequency software for testing.
In terms of hardware, the microphone design can refer to the Tuya schematic design, and in the software, the SDK has corresponding algorithms for noise and echo processing.
No need to use, pin floating.
The USB circuit uses a flyback isolation circuit to output 5V; then add another non-isolated half-wave rectifier buck circuit from the AC to output 5V to supply power to the relay, and 5V plus LDO to output 3.3V to supply power to the module and the metering chip (BL0937); if USB is also required Control, you can add a relay to the USB input L line to control.
Check whether the following error is displayed: [10-22 20:15:16][20:15:15] [Null Err] [tuya_ipc_cloud_storage.c:749:tuya_ipc_cloud_storage_event_start] invalid input snapshot_size 119108 type 0 If so, the size of images uploaded to the cloud storage exceeds 100 KB. Make sure that the images are less than 100 KB. When the SDK regards that an image is abnormal, it will block video upload. No resolution limitations are posed on uploaded images.
Yes.
If your router does not have a Wi-Fi password set, you do not need to input a password when connecting to the network, just proceed to the next step. Note: For the protection of your privacy and security, security devices such as cameras, door locks, and sensors cannot be provisioned using networks without passwords.
Add the following code to build.gralde of the app: Properties properties = new Properties() properties.load(project.rootProject.file('local.properties').newDataInputStream()) manifestPlaceholders = [ TUYA_SMART_APPKEY: "${properties.getProperty("appKey")}", TUYA_SMART_SECRET: "${properties.getProperty("appSecret")}", INTERNAL_HOST: "${properties.getProperty("app_scheme")}".toLowerCase(Locale.ENGLISH).concat('.app.tuya.com'), ALEXA_AUTH_INTERNAL_HOST: "${properties.getProperty("app_scheme")}".toLowerCase(Locale.ENGLISH).concat('.applink.smart321.com'), PACKAGE_NAME : applicationId ].
T5 supports text-to-speech.
The chat language needs to be set in the AI agent.
The power supply to a Wi-Fi module should be separated behind the bridge rectifier to prevent the power supply from fluctuating and flashing when the Wi-Fi module is working. Attention should also be paid to the power supply current of the module. When LDO is used, it must be greater than 500 mA and the input voltage of LDO must not be greater than 5 V. When an input power supply greater than 5 V is required, it is recommended that you use DC-DC to power the module.
Sometimes, cameras will automatically switch to night vision mode in low light conditions, displaying images in black and white. If automatic switching does not occur, manual operation is possible. Specific steps to enable or disable the night vision feature on a camera may vary depending on the camera model and manufacturer. Here are some general steps: Open the camera application. Locate the camera device for which you wish to set the night vision mode in the application. Click on the device to access its detailed page. On the detailed page, there is typically an option like "Night Vision Mode," click to enter. In the night vision mode setting page, you can choose to enable or disable the night vision mode. Note: To use the camera's night vision mode properly, avoid covering the camera's indicator light with tape, as the indicator light is needed to provide infrared illumination in infrared mode. Most cameras are designed to switch to color mode in bright light conditions to prevent damage to the camera's night vision module. Some cameras do not provide a night vision switch, so the night vision function can only be automatically turned on or off.
Amazon Echo is a smart speaker developed by Amazon. There are three versions of Amazon Echo, namely: entry-level Dot, standard version of Echo, and portable version of Tap. The appearance of the Echo is no different from a normal Bluetooth speaker, and there is no screen. The only way to interact is voice. Alexa is the voice assistant for Amazon speakers and is similar to Siri in iPhone. Alexa is equivalent to Echo's brain, and all input and output information is processed through it. With simple voice commands, you can accomplish many daily chores.
Insurance needs to be added to the L line. If it is a common N-line metering switch socket, you can use a wire-wound resistor; If it is a common L-line metering switch socket, it is recommended to use a fuse-type non-resistive and inductive device, because the winding resistance will affect the power statistics accuracy .
Dear user, we are sorry for your inconvenience. Please check in the following ways: If device is offline due to network reasons, the device power consumption will not be counted normally during the device offline period. The voltage and current data statistics on the App are the input voltage and input current of the device. And the displayed power on the App is the output power of the device (the operating power of the device). Since a considerable part of the input power will be converted into other energy, the output power must be less than the input power. Because the electricity bill is calculated according to the input voltage and input current, so what we display on the App is the input voltage and input current. If you still have questions, please contact us again, thank you for your understanding and support! Why can't my SoCket get power usage statistics? Why is the device power consumption statistics in the App ares inaccurate or have errors?
Speaker connector, 1.25mm pitch, can drive a speaker up to 3W/RL=4Ω.
No, because the metering current sampling circuit needs to be grounded with the metering chip, so when using the BUCK circuit to supply power, the input needs to use diode half-wave rectification.
Find the SDK path: /software/TuyaOS/vendor/T5/t5_os/projects/tuya_app/config Modify the CONFIG_UART_PRINT_BAUD_RATE field in the config files of both bk7258 and bk7258_cp1 directories, the default is 460800.
The following aspects can be investigated: Check if the sampling resistance and platform configuration are consistent. Verify if the input voltage is correct, with 220V corresponding to a resistance of 560 ohms. Confirm if 110V voltage corresponds to a resistance of 144 ohms. Check if the layout sampling lines are too long and causing interference due to cross talk.
Dear user, we are sorry for your inconvenience. Please check in the following ways: If device is offline due to network reasons, the device power consumption will not be counted normally during the device offline period. The voltage and current data statistics on the App are the input voltage and input current of the device. And the displayed power on the App is the output power of the device (the operating power of the device). Since a considerable part of the input power will be converted into other energy, the output power must be less than the input power. Because the electricity bill is calculated according to the input voltage and input current, so what we display on the App is the input voltage and input current. If you still have questions, please contact us again, thank you for your understanding and support! Why can't my SoCket get power usage statistics? Why is the serious mismatch between the device power statistics data on the App and the actual device usage data?
According to the firmware-configured light sensitivity value, the module needs to receive a light sensitivity value that matches the environment in order to detect. Detection logic: For example, if the firmware-configured daytime light sensitivity value is 660 mV, and the app panel is set to daytime mode, then any voltage greater than 660 mV can trigger detection, meaning that if set to daytime, detection can be triggered all day long. If it is set to dusk, and the current environment of the light is dusk, triggering the PIR will not turn on the light (because the light sensitivity value has not been reached). If the light is in a nighttime environment, triggering the PIR will turn on the light.
You need to check whether the country code you registered is normal, for example, mainland China: 86, France: 33, etc., if you randomly fill in the country code parameter as any character, it will prompt "Mobile number input error: USER_MOBILE_ILLEGAL".
Please refer to the following figure to change the agent voice language.
The module hardware supports DMIC, but the SDK currently can only use analog microphones.
Input "ble dut" through the serial port.
We build white-label Tuya apps, IoT dashboards, and custom integrations for your business.
🚀 Schedule a Call