Refactor BLE gateways (#617)
* Refactor BLE gateways: -merge HM10 and ESP32 code -publish sensor values with the other BLE device parameters to avoid MQTT multiple publication -make uniform the case of mac adress id between HM10 and ESP32 -add the possibility to remove service data publishing either when sensors is recognised or not -correct manufacturing data display -merge process cleargrass methods -check service data validity before processing
This commit is contained in:
1 parent
ac4f6b74c2
commit
661ef9c55e
5 files changed
+290
-401
No files matched your search
@@ -39,6 +39,9 @@ Note that the gateway return one or two measurement value each time. The differe
|
||||
* Temperature
|
||||
* Moisture
|
||||
* Fertilization
|
||||
* Humidity
|
||||
* Pressure
|
||||
* Steps
|
||||
* Weight
|
||||
* Impedance
|
||||
* Battery (mi jia only)
|
||||
@@ -49,6 +52,11 @@ The infos will appear like this on your MQTT broker:
|
||||
|
||||
More info are available on [my blog](https://1technophile.blogspot.fr/2017/11/mi-flora-integration-to-openmqttgateway.html) (especially about how it was implemented with HM10)
|
||||
|
||||
::: tip
|
||||
The HM10 module doesn't read enough information (servicedata UUID is missing) to support Mi Scale and Mi Band. They are supported nevertheless with ESP32.
|
||||
OpenMQTTGateway publish the servicedata field of your BLE devices, with HM10 this field can be longer compared to ESP32 if the device is not recognised.
|
||||
:::
|
||||
|
||||
## Setting a white or black list
|
||||
A black list is a list of mac adresses that will never be published by OMG
|
||||
to set black list
|
||||
|
||||
Reference in new issue
Block a user