Automation

SMARTHOME
XIAOMI MiHome smart home management system

Xiaomi MiHome Ecosystem

The choice of the Xiaomi ecosystem as a base was obvious, many different devices and in great accessibility ( AliExpress, OLX, local offline stores ), simplicity, cheapness, good quality and development.

Xiaomi uses the ZigBee protocol to control its wireless devices and sensors, the ZigBee specification is application oriented, requiring guaranteed safe data transfer at relatively low speeds and the long-term operation of network devices from autonomous power sources ( batteries ).

The head device in the Xiaomi ecosystem is the Smart Home Multifunction Gateway 2 gateway, there are 3 versions, 2 versions are used in this review. The gateway itself is connected to WiFi and is the “ TAG1> control between the MiHome application on the phone and your sensors and devices. That is, nothing will work without him.

MiHome | Devices in action

MiHome | Interface and Management

The smart home system can be controlled through the MiHome mobile application, but due to the fact that it is not convenient when used in KioskMode ( mode of limited functionality of the control panel ), its own control system was developed, which is installed on the home Linux server and is available through the browser on any device. In addition, you can install the ready Android shell for any android device and quickly run the interface. Plus, NoSleep mode is activated in the shell, which means that the device does not go into sleep mode, which is convenient when used as an independent 24-hour control panel.

Telegram

For ease of feedback, the system can be connected to the bot telegram. In the control system, when creating a scenario for actions, you can specify a message with adi telegrams of accounts to which they are sent.

Scheme and principle of work

The system is based on a ready-made electronic wireless solution from Xiaomi, in the form of a central gateway and a variety of control devices and sensors. All gateway communication devices use the protocol Zigbee what allows achieve stable wireless communication without special energy costs.
Management in the basic version is possible only through the official application from Xioami, which cannot work in mode KioskMode and not very informative.

Our control interface is based on a web-oriented application deployed on an inexpensive Linux server. It has our software with all the necessary services and configurations. The interface is available on all devices where there is a browser ( PC, Notebook, Tablet, Phone, ControlPanel ), for control panels based Android so that the application does not go into sleep mode, and there is no system interface, developed shell