Integration Solutions using MQTT

Using a BLE MQTT gateway it is possible to connect BLE devices to SmartThings.

I have a Xiaomi LYWSDCGQ temperature and humidity meter. I’ve been wanting to connect it to SmartThing for a long time.

@Johnnybegoode mentioned OpenMQTT in this topic

I found Theengs Gateway while researching OpenMQTT.

Theengs Gateway is a complementary solution to OpenMQTTGateway.
Theengs Gateway can be installed on, for example, a Raspberry Pi
The gateway uses the Bluetooth Low Energy adapter of Raspberry Pi.

Theengs BLE MQTT Gateway

It retrieves data from a wide range of BLE sensors (for example LYWSD03MMC, CGD1, CGP1W, H5072, H5075, H5102, TH1, TH2, CGH1, CGDK2, CGPR1, RuuviTag, WS02, WS08, TPMS, MiScale, LYWSD02, LYWSDCGQ, and MiFlora) and translates this information into a readable JSON format and pushes those to an MQTT broker.

Supported BLE sensors: Theengs Compatible BLE devices

I installed Theengs Gateway on the same Raspberry Pi where the MQTT broker is running.
Now Xiaomi LYWSDCGQ temperature measurements come to SmartThings.
The ST Hub uses the MQTT Devices Edge driver.

Theengs Gateway does not require programming to use. All you need is a Raspberry Pi to install the software.

I can provide more detailed instructions on how to use Theengs Gateway if there is interest in using Gateway.


Edit:

@TAustin

This driver works really well. I can read data from one topic (in JSON format) to multiple devices. I can now get temperature, humidity, and battery values ​​from the Xiaomi LYWSDCGQ temperature and humidity meter.
The information contained in each MQTT message varies. The driver can handle all combinations very well.

4 Likes