Traditional Culture Encyclopedia - Traditional virtues - Why can Xiaomi audio control air conditioning?

Why can Xiaomi audio control air conditioning?

The principle of Xiaomi speaker controlling air conditioning is actually very simple.

The air conditioners in our homes are mainly divided into two kinds in the view of Xiaomi speakers, one is the air conditioner that supports the Xiaomi IoT ecosystem (for example: Mijia air conditioner), and one is the traditional air conditioner. For these two kinds of air conditioners, there are some differences in the way the millet speaker is controlled.

First of all, use the Mijia air conditioning as an example, our home if the installation of the Mijia air conditioning, after the installation, it is possible to set up the air conditioning wireless access through the Mijia APP, that is, the Mijia air conditioning to join your WiFi environment. And your millet speaker is bound to be in this WiFi environment, it will be able to find this new access to the small partner, and because everyone is millet ecological, there is a common way to identify and authenticate, millet speaker knows that this new small partner is air conditioning.

As for how it is judged, I have not been exposed to the implementation of millet IoT, I can only make a rough guess. Perhaps different types of appliances are using specific ports when accessing the LAN, and the Xiaomi speaker will scan these ports, find a response on this port, authenticate, and add it to its own list of devices after it passes.

And for the air conditioning control method has actually long been in the millet speaker's software always existed, so when we say: "Xiao Ai classmates, open the air conditioning", millet speaker will be through the WiFi to the air conditioning to send a command, the air conditioning to receive this command to judge, and found that it is the opening of the air conditioning command, so it turns on the air conditioning.

The other is a traditional air conditioner, which can't be controlled directly by the Xiaomi speaker, and requires an external device for the Xiaomi speaker - the Xiaomi Universal Remote.

This universal remote control is able to support multiple brands and models of appliances infrared commands, millet speaker and millet universal remote control is through the two devices mutually agreed upon commands for transmission, and millet universal remote control needs to be adapted to the air conditioning beforehand, and this adaptation is suitable for the vast majority of traditional home appliances. Once adapted, Xiaomi speakers can control traditional home appliances through the Xiaomi universal remote control, which actually simulates the operation of our remote control.

Xiaomi AI speakers can naturally connect with the Mi Home App to control all smart appliances at home. Xiaomi's power lies in the fact that its ecological chain is already very rich, so it is able to let Xiaomi AI speakers control a lot of home equipment, no hands, move your mouth sweeping robot can help you sweep the floor, rice cooker can start cooking, water heater can start hot water, and so on and so forth.

And it also supports specific combinations of multiple devices, scenario-based control, such as setting up scene control, saying a good morning, Xiaoxi students can help you open the curtains, turn on the lights, adjust the temperature of the air conditioning, turn on the water heater, and so on. This life is not very natural and comfortable, as if you have an additional protection, and very obedient.

As an example, let's see how to control the air conditioning in your home through Xiaoxia. My home air conditioning is the United States brand, installed six or seven years ago, that era has not heard of the smart home, air conditioning can only be operated through the traditional remote control. So I specifically bought a Xiaomi universal remote control to simulate the remote control of the US air conditioner.

First of all, open the Mijia APP on your phone, select the universal remote control, click on the bottom of the add remote control, add a remote control that can control the air conditioning in your home, if you have already added, please ignore the sub-steps.

Select the Smart Page button at the bottom of the Mijia App, then click the Add button in the upper right corner, and then click Manual Execution.

Scroll up in the Manual Execution page, find the Xiaomi Universal Remote and click on it, enter and click Remote Mode.

Select the previously added remote control Midea Air Conditioning and click on the desired function, we need to turn on the air conditioning, so click on the open, and then click on the OK button in the upper right corner.

Enter the name of this command in the dialog box and click OK. This will allow us to see in the Smart page that we have added a new Smart Scene.

After setting it up in the Mi Home App we then open the Xiaomi AI APP, select Xiao Ai Training Program in the Skill Center, click Create Skill, and then enter the name of the skill to turn on the room air conditioner.

After entering it click next, in the second part select Device Control, then you can see the scene added in the Mi Home APP before to turn on the room air conditioner, so we select it.

Click on Open, followed by Preview, in which we can see the answer of Ai. Then click Finish twice and you're done. Once the settings are OK, it's time to experiment.

"Little Love"

"In"

"Turn on the room air conditioner"

"Dropping" the room air conditioner is on

"It's been done for you to Turn on the room air conditioning"

Xiaomi Smart Speaker is still very practical in terms of artificial intelligence, I believe that Xiaomi Smart Speaker is destined to become a unicorn-like smart home control center in the future, we will see.

This has a corresponding protocol in it, for the ordinary people to understand may be a little difficult, a different way to give you a word.

The speaker is a robot with a certain level of sophistication that understands the commands you convey to it, and he passes them on to air conditioners, TVs, lamps, sockets, and so on in the same network according to the command, and each device has a corresponding name and location.

For example, you and Little Love speakers say: open the air conditioning in the living room. Xiao Ai analyzes the location: living room, device: air conditioning, action: turn on. This completes the analysis of the entire command;

The following to encode this information,

Definition: home location:

living room 01 position ,

master bedroom 02 position,

second bedroom 03 position,

study 04 position,

kitchen 05 position,

air conditioning is 01 device,

Socket is 02 device,

Hood 03 device,

Lamp 04 device;

Command information may be too much, simple definition of 2

Define the power on 01 action, 02 power off action.

This sends the 010101 command to the air conditioner, and the air conditioner turns on automatically.

So if you understand that, if you talk to Ai about turning off the lights in the master bedroom, what command would it execute? Feel free to leave a comment