User Manual for Voice Docking Module

freeFree Technical Resource

This content is free to read, suitable for basic learning and search traffic.

User Manual for Voice Docking Module


After purchasing the voice module, you will receive a platform activation code and GTID

Retrieve the login username, password, and voice account login password from the voice module tag.

2, Configure control commands

1. Log in to the voice module webpage backend, http://192.168.x.xxx:6521 After the device is connected to the internet, it will automatically broadcast the IP address in a few minutes. You can log in to the background with an IP address of+: 6521 (default account: admin, default password: admin)

2. Click on "Tmall Genie" to add a device, select the devices supported by Tmall Genie, choose an alias for the device, select the room where the device is located, and click "Add".

User Manual for Voice Docking ModuleFigure
User Manual for Voice Docking ModuleFigure1

3. Select Add Control Command

* Elf Voice Command: Select voice control to turn on or off the device *

* Select classification data: 1. Host resources 2. Custom data. (Development version data filled in here) *

(After writing, you can click the test button to test if it controls properly) *

TCP port sends

//SOCKET HEX protocol configuration

{
    "ip": "192.168.1.189",
    "port": "4198",
    "type": "sockethex",
    "data": "ddccbbaacc00b30001"
}

//SOCKET ASCII protocol configuration (Chinese requires UTF-8 encoding)

{
    "ip": "192.168.1.11",
    "port": "8585",
    "type": "socketascii",
    "data": "这是要发送的内容,你可以任意编辑"
}

//HTTP protocol configuration (URL encoding is recommended for passwords)

{
    "type": "http",
    "url": "http://192.168.1.200/uartw.cgidata=DDCCBBAACC000200018&type=1&pswd123asadmin:admin="
}

Note:

  1. SOCKET HEX
  • dataThe field is a hexadecimal string, which needs to be converted into a binary byte stream during actual transmission.
  1. SOCKET ASCII
  • It is recommended to specify the encoding format for Chinese characters (such as UTF-8) to avoid decoding errors at the receiving end.
  1. HTTP protocol
  • fixes URL parameter delimiter (original content missing? And &symbol).
  • Password fieldpswdand usernameuserSuggest processing through URL encoding (plaintext in the example is for demonstration only, encryption should be used in practice).
  • parameterdataThe value ofDDCCBBAACC000200018Ensure compliance with server-side parsing rules.
User Manual for Voice Docking ModuleFigure2
User Manual for Voice Docking ModuleFigure3

3, Establish a connection with Tmall Genie

1. Find the "STMRTE Smart" skill in Tmall Genie Smart Home, enter the registered account and password on the login page, and complete the account binding process.

2. After account binding, the control device you added in the voice docking module will appear in the device list of STMRTE intelligent skills.

3. At this point, you can use Tmall Genie to voice control the device.

User Manual for Voice Docking ModuleFigure4
The same goes for other speakers!
Related Tags
Put this resource to use in a real project?

Go to the Tool Center for message parsing, CRC verification and device debugging, or submit your requirements for selection and integration advice.

Engineer Membership

Turn this article into actionable debugging resources

After activation, you can use advanced message parsing, resource pack downloads, code examples, engineering cases and priority technical support, suitable for real project delivery.

Unlimited Advanced Tools
Resource & Code Packs
Complete Engineering Case Library
Priority Technical Support

Leave a Reply

Your email address will not be published. Required fields are marked *.