Features Introduction
Prerequisites
Applicable Scope
This extension is implemented based on network interfaces and does not rely on device online status, supporting operations when devices are offline. It has no requirements for the IDE version and is applicable to devices of all categories and protocols.
Applicable Scenarios
- The business uses the onMqttMessageReceived interface for MQTT message listening, and management of these data is needed.
- The MQTT message data structure has been defined, but there is no real device data available for debugging purposes.
Features
- Simulate MQTT message data reception
Usage Process
Installation
- In Tuya MiniApp Tools, open the device tool, authorize login, and select a device from the device list. Click to enter the device page.
- On the device page, click on 'Extension Management' in the top right corner to enter the extension market.
- In the extension market, find '面板工具Mqtt消息模拟扩展' and click install.
Usage
- After a successful installation, an entry for "Mqtt Mock" will appear in the top navigation bar on the device page.
-
Click "Mqtt Mock" to enter the MQTT message simulation page.
-
Enter JSON formatted MQTT message data in the input box, and click the "Trigger onMqttMessageReceived" button to simulate the MQTT message sent by the device.
Notes
- The business must first call the onMqttMessageReceived interface to receive the simulated MQTT message.
Version Log
v0.0.7
Release Date: 2024-05-29
- Optimized the JSON input component
v0.0.6
Release Date: 2024-04-28
- Multi-language optimization
v0.0.5
Release Date: 2024-04-28
- Optimized some known issues
v0.0.4
Release Date: 2024-03-27
- Optimized some known issues
v0.0.3
Release Date: 2024-03-08
- Updated configuration files
v0.0.2
Release Date: 2024-03-04
- Fixed known issues
- Optimized the display when data is empty
v0.0.1
Release Date: 2024-03-04
First version released
- Implemented MQTT message data simulation sending