Add publish only BLE sensors function (#741)
don't publish the non identified BLE devices when requested (at build or by MQTT setting)
This commit is contained in:
1 parent
8e0c1e5e51
commit
5e2d86e963
3 files changed
+35
-10
No files matched your search
+9
-1
@@ -98,7 +98,15 @@ If you want to change the number of BLE scans that are done before a BLE connect
|
||||
|
||||
`mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoBT/config -m '{"scanbcnct":30}'`
|
||||
|
||||
The BLE connect will be done every 30 * (`TimeBtwRead` + `Scan_duration`), 30 * (55000 + 10000) = 1950000ms :
|
||||
The BLE connect will be done every 30 * (`TimeBtwRead` + `Scan_duration`), 30 * (55000 + 10000) = 1950000ms
|
||||
|
||||
## Setting if the gateway publish all the BLE devices scanned or only the detected sensors
|
||||
|
||||
If you want to change this characteristic:
|
||||
|
||||
`mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoBT/config -m '{"onlysensors":true}'`
|
||||
|
||||
The gateway will publish only the detected sensors like Mi Flora, Mi jia, LYWSD03MMC... and not the other BLE devices. This is usefull if you don't use the gateway for presence detection but only to retrieve sensors data.
|
||||
|
||||
## Setting the minimum RSSI accepted to publish device data
|
||||
|
||||
|
||||
Reference in new issue
Block a user