Skip to content

Multi platform Multi devices BLE Bluetooth to MQTT gateway leveraging Theengs Decoder

License

Notifications You must be signed in to change notification settings

alfista2600/gateway

 
 

Repository files navigation

Theengs Gateway is a multi platforms, multi devices BLE to MQTT gateway that leverages the Theengs Decoder library. It retrieves data from a wide range of BLE sensors; LYWSD03MMC, CGD1, CGP1W, H5072, H5075, H5102, TH1, TH2, BBQ, CGH1, CGDK2, CGPR1, RuuviTag, WS02, WS08, TPMS, MiScale, LYWSD02, LYWSDCGQ, MiFlora... translates this information into a readable JSON format and pushes those to an MQTT broker.

Enabling integration to IOT platforms or home automation controllers like NodeRED, AWS IOT, Home Assistant, OpenHAB, FHEM, IOBroker or DomoticZ.

The gateway uses the bluetooth component of your Raspberry Pi, Windows, Apple desktop, laptop or server by leveraging python and multi platform libraries.

Gateway

Theengs Gateway can be used as a standalone solution or as a complementary solution to OpenMQTTGateway as it uses the same MQTT topic structure and the same payload messages. Your OpenMQTTGateway Home Automation BLE sensors integration will work also with Theengs gateway.

The gateway will retrieve data from BLE sensors from Govee, Xiaomi, Inkbird, QingPing, ThermoBeacon, ClearGrass, Blue Maestro and many more.

Full documentation for installation and usage can be found here

Install Theengs Gateway as a pip package

Prerequisites:

Command:

pip install TheengsGateway

You can access advanced configuration by typing:

python3 -m TheengsGateway -h

Install Theengs Gateway as an Add ON in Home Assistant

  1. Add the Add-on repository into the add-on store

Open your Home Assistant instance and show the add add-on repository dialog with a specific repository URL pre-filled.

Or by going to Settings -> Add-ons -> Add-on store -> ⁞ (Menu) -> Repositories -> Fill in the URL https://github.com/mihsu81/addon-theengsgw -> Add.

  1. You should now see "TheengsGateway HA Add-on" at the bottom list.
  2. Click on "TheengsGateway", then click "Install".
  3. Under the "Configuration" tab, change the settings appropriately (at least MQTT parameters), see Parameters.
  4. Start the Add-on.

Install Theengs Gateway as a snap

Theengs Gateway is also packaged as a snap in the Snap Store. If you have snapd running on your Linux distribution, which is the case by default on Ubuntu, you can install the Theengs Gateway snap as:

Get it from the Snap Store

snap install theengs-gateway

Have a look at the Theengs Gateway Snap documentation for more information about how to configure and start Theengs Gateway as a service.

Install Theengs Gateway as a docker

Theengs Gateway is also available from docker hub thanks to @maretodoric

Docker Image Size (latest by date)

docker pull theengs/gateway

About

Multi platform Multi devices BLE Bluetooth to MQTT gateway leveraging Theengs Decoder

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%