MI HOME: Scenario execution via local network or via Xiaomi cloud server
5 min readXiaomi Mijia Smart Gateway 3 - Mi Home Hub, ZigBee, WiFi, Bluetooth Compatible
When Xiaomi smart home scenario will execute via local network, and when via cloud server?




How would this same scenario work in Cloud mode?
- The motion sensor will send a signal to the gateway.
- The gateway through the Internet will send the command to the Xiaomi cloud server.
- The Xiaomi server (in my case, located in China), by the scenario, will give a command to turn on the light bulb and send it to the gateway via the Internet
- The gateway, having received the command, will send it to the light bulb via Bluetooth
- The scenario involves devices connected to different gateways. For example, a motion sensor has connected to gateway 1, and a lamp connected to gateway 2. In this case, you just need to change the device binding, reset one of them, and add it again, specifying a different gateway (the device settings will be saved).
-
The scenario uses a WIFI device. Well, modern Mi Home ecosystem remains working without cloud connections even for WiFi devices, but anyway, The 2.4 GHz WiFi network is usually already overloaded, so it is better to use other wireless protocols. In addition, devices that have a full Internet stack on board are less secure. One day, if you neglect security, you may find that your wifi surveillance camera is trying to guess passwords for some Wordpress site (this is from real cases).
-
A scenario is enabled or disabled from another scene. This is the most insidious case. It is very convenient when, depending on certain conditions, you can disable or enable the execution of another scene. But, after the first such "external control" the script will switch to Cloud mode, even if initially it is saved as LAN.
Comments:
2024 Xiaomi Human Presence Sensor Smart Human body

2024 Xiaomi Human Presence Sensor Smart Human body Exists Sensor Bluetooth 5 0 Work With Xiaomi Bluetooth Gateway and Mi Home App
approx. $45.75
Choose and buyXiaomi Mijia Smart Multimode Gateway 2

The Xiaomi Mijia Smart Multimode Gateway 2 is a versatile hub that supports multiple protocols and connectivity options. It features Zigbee 3.0, Bluetooth Mesh, dual-band Wi-Fi 5G and 2.4G, and an RJ45 port. With its dual-core pro...
approx. $41.00
Choose and buyXiaomi Center Gateway Smart Home Hub 4

The Xiaomi Center Gateway is an intelligent multimode smart home hub that supports 2.4GHz, 5GHz WiFi, Bluetooth 5.0, and Mesh technology. With 4GB of storage and OTA capabilities, this hub works with Mijia and provides a seamless ...
approx. $57.00
Choose and buyXiaomi G300 Smart AI Glasses 800W pixel AI Shootin

Xiaomi G300 Smart AI Glasses 800W pixel AI Shooting Camera HD Photo Video Voice Call Translation Waterproof Bluetooth AI Glasses
approx. $48.00
Choose and buyFor Xiaomi Linptech Wireless Doorbell SelfGenerati

For Xiaomi Linptech Wireless Doorbell SelfGenerating Smart Doorbell Transmitter Memory Function basic Version Connect Mijia App
approx. $24.55
Choose and buyXiaomi W600 AI Smart Glasses Photo Sense Camera Bl

Xiaomi W600 AI Smart Glasses Photo Sense Camera Bluetooth Music Call Intelligent Recording Ip65 Waterproof Bluetooth Glasses New
approx. $37.91
Choose and buyXiaomi Mijia Smart Gateway 3 - Mi Home Hub, ZigBee

Xiaomi Mijia Smart Gateway 3 is a smart home hub that supports ZigBee, WiFi, and Bluetooth protocols, allowing you to connect and control all your smart devices through the Mi Home app.
approx. $53.80
Choose and buy