Many people know that the Mijia multi-function gateway connects some sensors and other devices to the network through the ZigBee protocol. Similarly, the Bluetooth gateway can connect all Bluetooth sub-devices that support the Mijia standard Bluetooth protocol to the network. In this way, you can remotely view the status from the mobile terminal and set up intelligent automatic linkage.

The principle of operation is similar to ZigBee gateways, the device with the Bluetooth module connects to one of the devices that has 2 wireless interfaces at a time, keeps in touch with the device by bluetooth, and communicates with the cloud by Wi-Fi. Schematically, it looks like this:

12-1_zbm.webp

 

This way of working allows you to ensure long-term operation of smart devices from the battery and, unlike devices with ZigBee protocol, the ability to connect directly to the device.

12-2_m0u.webp

 

 

Which products can be linked the Bluetooth gateway?

Bluetooth Low Energy Sensors

Different vendors offer Bluetooth solutions, mostly as part of the Xiaomi brand, often under the Mijia label. The sensors supported by Tasmota use BLE (Bluetooth Low Energy) to transmit the sensor data, but they differ in their accessibilities quite substantially.

 

Basically all of them use the so-called "MiBeacons" which are BLE advertisement packets with a certain data structure, which are broadcasted by the devices automatically while the device is not in an active Bluetooth connection.

The frequency of these messages is set by the vendor and ranges from one per 3 seconds to one per hour (f.e. for the battery status of the LYWSD03MMC). Motion sensors and BLE remote controls start to send when an event is triggered.

These packets already contain the sensor data and can be passively received by other devices and will be published regardless if a user decides to read out the sensors via connections or not. Thus the battery life of a BLE sensor is not influenced by reading these advertisements and the big advantage is the power efficiency as no active bi-directional connection has to be established. The other advantage is, that scanning for BLE advertisements can happen nearly parallel (very quickly one after the other), while a direct connection must be established for at least a few seconds and will then block both involved devices for that time.

Supported Devices

The naming conventions in the product range of Bluetooth sensors in Xiaomi universe can be a bit confusing. The exact same sensor can be advertised under slightly different names depending on the seller (Mijia, Xiaomi, Cleargrass, ...).

 

 

At present, Xiaomi Mijia smart lock, Luke smart lock, Xiaomi mijia Bluetooth thermometer, YeeLight Bluetooth mesh light set.

Bluetooth Low Energy Sensors like xiaomi mijia motion sensor 2

How to buy Xiaomi Bluetooth gateway?

Xiaomi has  launched a separate Bluetooth gateway.

xiaomi home hub

Product Model:ZSWG01CM

https://www.mi.com/shop/buy/detail?product_id=15755

 

Bluetooth gateways are generally integrated into various smart devices, and the list of known Bluetooth gateways is sorted out.

 

 Philips Zhirui Smart Bedside Lamp

 

● Xiaomi Mijia Bedside lamp

 

● Xiaomi Mijia Smart ceiling light

 

● Philips Zhirui LED Ceiling light

 

● Yeelight smart LED ceiling light

 

● Xiaomi mijia xiabai smart IP camera

 

● Xiaomi Xiao AI smart alarm

 

● Xiaomi Xiao AI touch screen speaker

 

● Xiaomi Xiao AI speaker

 

● Yeelight smart voice assistant

 

● Yeelight Bright Moon LED smart ceiling light

 

● Smartmi Air humidifier 2

 

● Philips starry lampshade ceiling light

 

Connecting to the Xiaomi Bluetooth Gateway

The devices are automatically connected to the gateway if it is in range of visibility. This can also be tracked in the BLE Gateway tab if you enter the gateway:

12-3.webp

I didn't have an instant connection to the gateway, the device automatically connected 15 minutes after it was detected.

 

 

At this stage, there is no complete control of the devices, you cannot remove the gateway, or the device connected to it. Perhaps this functionality will be added later.

 

 

In general, a Bluetooth gateway is an optional device. All of the above gadgets can be controlled from a smartphone (but the functionality will be slightly cut off), but as soon as you move away from the apartment, the devices in the application will go offline.

Comments


Comments are closed