**Theengs Gateway** is a multi-platform, multi devices Bluetooth Low Energy (BLE) to MQTT gateway that leverages the [Theengs Decoder library](https://github.com/theengs/decoder).
It retrieves data from a wide range of [BLE sensors](https://decoder.theengs.io/devices/devices.html), including the 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.
Enabling integration to Internet of Things (IoT) platforms or home automation controllers like [NodeRED](https://nodered.org/), [AWS IoT](https://aws.amazon.com/iot/), [Home Assistant](https://www.home-assistant.io/), [OpenHAB](https://www.openhab.org/), [FHEM](https://fhem.de/), [ioBroker](https://www.iobroker.net/) or [Domoticz](https://domoticz.com/).
The gateway uses the Bluetooth Low Energy adapter of your Raspberry Pi, Windows, Apple desktop, laptop, or server by leveraging Python and multi-platform libraries.

You can use **Theengs Gateway** as a standalone solution or as a complementary solution to [OpenMQTTGateway](https://docs.openmqttgateway.com/) as it uses the same MQTT topic structure and the same payload messages. Your OpenMQTTGateway home automation BLE sensors integration also works with Theengs Gateway.
The gateway retrieves data from BLE sensors from Govee, Xiaomi, Inkbird, Qingping, ThermoBeacon, Blue Maestro and many more.
You can find full documentation for installation and usage [here](https://theengs.github.io/gateway)
## Install Theengs Gateway as a pip package
Prerequisites:
* Install [Python3](https://www.python.org/downloads/)
* Install [pip](https://pip.pypa.io/en/stable/installation/)
Command:
```shell
pip install TheengsGateway
```
You can access advanced configuration by typing:
```shell
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
[](https://my.home-assistant.io/redirect/supervisor_add_addon_repository/?repository_url=https%3A%2F%2Fgithub.com%2Fmihsu81%2Faddon-theengsgw)
Or by going to Settings -> Add-ons -> Add-on store -> ⁞ (Menu) -> Repositories -> Fill in the URL `https://github.com/mihsu81/addon-theengsgw` -> Add.
2. You should now see **TheengsGateway HA Add-on** at the bottom list.
3. Click on **TheengsGateway**, then click **Install**.
4. Under the **Configuration** tab, change the settings appropriately (at least MQTT parameters), see [Parameters](#parameters).
5. Start the Add-on.
## Install Theengs Gateway as a snap
Theengs Gateway is also packaged as a snap in the [Snap Store](https://snapcraft.io/theengs-gateway). 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:
[](https://snapcraft.io/theengs-gateway)
```shell
snap install theengs-gateway
```
Have a look at the [Theengs Gateway Snap](https://github.com/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](https://github.com/maretodoric)
<img alt="Docker Image Size (latest by date)" src="https://img.shields.io/docker/image-size/theengs/gateway">
```shell
docker pull theengs/gateway
```
Raw data
{
"_id": null,
"home_page": "https://github.com/theengs/gateway",
"name": "TheengsGateway",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Theengs",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/8a/84/f3169ed99840776b7b65db807b584ba9b040958e6dcb085802f7d95d266f/theengsgateway-1.5.0.tar.gz",
"platform": null,
"description": "**Theengs Gateway** is a multi-platform, multi devices Bluetooth Low Energy (BLE) to MQTT gateway that leverages the [Theengs Decoder library](https://github.com/theengs/decoder).\nIt retrieves data from a wide range of [BLE sensors](https://decoder.theengs.io/devices/devices.html), including the 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.\n\nEnabling integration to Internet of Things (IoT) platforms or home automation controllers like [NodeRED](https://nodered.org/), [AWS IoT](https://aws.amazon.com/iot/), [Home Assistant](https://www.home-assistant.io/), [OpenHAB](https://www.openhab.org/), [FHEM](https://fhem.de/), [ioBroker](https://www.iobroker.net/) or [Domoticz](https://domoticz.com/).\n\nThe gateway uses the Bluetooth Low Energy adapter of your Raspberry Pi, Windows, Apple desktop, laptop, or server by leveraging Python and multi-platform libraries.\n\n\n\nYou can use **Theengs Gateway** as a standalone solution or as a complementary solution to [OpenMQTTGateway](https://docs.openmqttgateway.com/) as it uses the same MQTT topic structure and the same payload messages. Your OpenMQTTGateway home automation BLE sensors integration also works with Theengs Gateway.\n\nThe gateway retrieves data from BLE sensors from Govee, Xiaomi, Inkbird, Qingping, ThermoBeacon, Blue Maestro and many more.\n\nYou can find full documentation for installation and usage [here](https://theengs.github.io/gateway)\n\n## Install Theengs Gateway as a pip package\nPrerequisites:\n* Install [Python3](https://www.python.org/downloads/)\n* Install [pip](https://pip.pypa.io/en/stable/installation/)\n\nCommand:\n```shell\npip install TheengsGateway\n```\nYou can access advanced configuration by typing:\n```shell\npython3 -m TheengsGateway -h\n```\n\n## Install Theengs Gateway as an Add ON in Home Assistant\n1. Add the Add-on repository into the add-on store\n\n[](https://my.home-assistant.io/redirect/supervisor_add_addon_repository/?repository_url=https%3A%2F%2Fgithub.com%2Fmihsu81%2Faddon-theengsgw)\n\nOr by going to Settings -> Add-ons -> Add-on store -> \u205e (Menu) -> Repositories -> Fill in the URL `https://github.com/mihsu81/addon-theengsgw` -> Add.\n\n2. You should now see **TheengsGateway HA Add-on** at the bottom list.\n3. Click on **TheengsGateway**, then click **Install**.\n4. Under the **Configuration** tab, change the settings appropriately (at least MQTT parameters), see [Parameters](#parameters).\n5. Start the Add-on.\n\n## Install Theengs Gateway as a snap\nTheengs Gateway is also packaged as a snap in the [Snap Store](https://snapcraft.io/theengs-gateway). 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:\n\n[](https://snapcraft.io/theengs-gateway)\n\n```shell\nsnap install theengs-gateway\n```\n\nHave a look at the [Theengs Gateway Snap](https://github.com/theengs/gateway-snap) documentation for more information about how to configure and start Theengs Gateway as a service.\n\n## Install Theengs Gateway as a docker\nTheengs Gateway is also available from docker hub thanks to [@maretodoric](https://github.com/maretodoric)\n\n<img alt=\"Docker Image Size (latest by date)\" src=\"https://img.shields.io/docker/image-size/theengs/gateway\">\n\n```shell\ndocker pull theengs/gateway\n```\n",
"bugtrack_url": null,
"license": "GPL-3.0 License",
"summary": null,
"version": "1.5.0",
"project_urls": {
"Homepage": "https://github.com/theengs/gateway"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8a84f3169ed99840776b7b65db807b584ba9b040958e6dcb085802f7d95d266f",
"md5": "cc0bd975937b9e09003de896a64a2924",
"sha256": "79f0195a3d02a2cc840672a7fe115751db5bace773a84d6cec6da7ca703225b2"
},
"downloads": -1,
"filename": "theengsgateway-1.5.0.tar.gz",
"has_sig": false,
"md5_digest": "cc0bd975937b9e09003de896a64a2924",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 530374,
"upload_time": "2024-05-20T14:24:38",
"upload_time_iso_8601": "2024-05-20T14:24:38.550622Z",
"url": "https://files.pythonhosted.org/packages/8a/84/f3169ed99840776b7b65db807b584ba9b040958e6dcb085802f7d95d266f/theengsgateway-1.5.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-20 14:24:38",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "theengs",
"github_project": "gateway",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "theengsgateway"
}