Skip to content

Commit

Permalink
[DOCS] Add Home Assistant discovery documentation (#44)
Browse files Browse the repository at this point in the history
So as to illustrate the new function released with 1.2
  • Loading branch information
1technophile committed Nov 11, 2022
1 parent 74186fd commit 6b8f752
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 10 deletions.
22 changes: 16 additions & 6 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
**Theengs app** is a multi platforms, multi devices application and 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](prerequisites/devices); LYWSD03MMC, CGD1, CGP1W, H5072, H5075, H5102, TH1, TH2, BBQ, CGH1, CGDK2, CGPR1, RuuviTag, WS02, WS08, TPMS, MiScale, LYWSD02, LYWSDCGQ, MiFlora... and enables to read the advertised data from these sensors. It also translates this information into a readable JSON format and pushes those to an MQTT broker if you need.
**Theengs app** is a multi platforms, multi devices **application** and 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](prerequisites/devices) from Xiaomi, Inkbird, Govee, ClearGrass, Qingping, Ruuvi, Switchbot, Thermopro; LYWSD03MMC, CGD1, CGP1W, CGDN1, CGG1, H5055, H5072, H5075, H5102, TH1, TH2, BBQ, CGH1, CGDK2, CGPR1, RuuviTag, WS02, WS08, TPMS, MiScale, LYWSD02, LYWSDCGQ, MiFlora... and enables to read the advertised real time data from these sensors.

It also translates this information into a readable JSON format and pushes those to an MQTT broker if you need. The Home Assistant MQTT convention is followed so that you can see your add your sensors in a few steps into your favorite controller.

The app uses the bluetooth component of your Phone/Tablet to read the sensor data.

Expand All @@ -20,10 +22,10 @@ Theengs app read data "broadcasted" by the devices and does not connect to them,
:::

Features comparison between OS:
| OS | Real time data | MQTT integration | Running in background |
|:-:|:-:|:-:|:-:|
|iOS|☑️|☑️||
|Android|☑️|☑️|☑️ *experimental*|
| OS | Real time data | MQTT integration | Running in background | Home Assistant Auto Discovery |
|:-:|:-:|:-:|:-:|:-:|
|iOS|☑️|☑️||☑️|
|Android|☑️|☑️|☑️ *experimental*|☑️|

#### Third party projects used by Theengs app

Expand All @@ -40,3 +42,11 @@ Features comparison between OS:
*App Store and Apple logo are registered trademarks of Apple Inc.*

*Google Play and the Google Play logo are trademarks of Google LLC.*

::: warning Note
All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.
:::

::: slot footer
[GPLv3 Licensed](https://github.com/theengs/home/blob/main/LICENSE) | Copyright © 2022-present Theengs
:::
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 12 additions & 4 deletions docs/use/use.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Use

Features comparison between OS:
| OS | Real time data | MQTT integration | Running in background |
|:-:|:-:|:-:|:-:|
|iOS|☑️|☑️||
|Android|☑️|☑️|☑️ *experimental*|
| OS | Real time data | MQTT integration | Running in background | Home Assistant Auto Discovery |
|:-:|:-:|:-:|:-:|:-:|
|iOS|☑️|☑️||☑️|
|Android|☑️|☑️|☑️ *experimental*|☑️|

## iOS

Expand Down Expand Up @@ -79,6 +79,14 @@ Android has drastically reduced the capabilities of apps to run in the backgroun
You may also have more regular results when the device is charging.
:::

## Home Assistant Auto Discovery

Theengs app can publish your sensor definition following Home Assistant MQTT convention, so as to do this you need to activate “Enable discovery” into your MQTT Options and follow the steps below:

![location](./../img/Theengs_app_auto_discovery_BLE_Sensor_Home_Assistant.gif)

The sensor definition will be publish when the app connect to the broker. You can retrigger the publication by deactivating and reactivating the MQTT integration from the application.

## Linux ('live mode' and 'historical data')

While reading Flower Care and RoPot historical entry count, the sensors usually freeze for up to a second, and the Linux kernel consider that to be a connection timeout.
Expand Down

0 comments on commit 6b8f752

Please sign in to comment.