Files
bt-mqtt-gateway/config.yaml.example
T
Elvio Sebastianelli 345b200113 New worker: ble devices scanner (#46)
* Worker for ble devices scanning

Added a worker that scan for ble devices and notify, by mqtt, presence of mac addresses and rssi.

Configuration section example:

....
workers:
    blescanmulti:
      args:
        devices:
          nut: xx:xx:xx:xx:xx:xx
          ionic: xx:xx:xx:xx:xx:xx
        topic_prefix: blescan
      update_interval: 60
...

* Update README.md 

blescanmulti worker added

* Update config.yaml.example

Added configuration section for blescanmulti worker

* Converted blescanmulti.py indentation to 2 spaces

* changed mqtt message syntax

* Update README.md

Added contributor repos url

* Update .gitignore

Removed .vscode/

* Delete settings.json

* Changes by pull request review 11/01/2019
 On branch master
	modified:   workers/blescanmulti.py
2019-01-11 22:02:49 +01:00

58 lines
1.2 KiB
Plaintext

mqtt:
host: 192.168.1.1
port: 1883
username: user
password: password
topic_prefix: hostname
client_id: bt-mqtt-gateway
availability_topic: lwt_topic
manager:
topic_subscription:
update_all:
topic: homeassistant/status
payload: online
workers:
mysensors:
args:
port: /dev/ttyUSB0
baudrate: 9600
topic_prefix: mysensors/out
thermostat:
args:
devices:
bedroom: 00:11:22:33:44:55
topic_prefix: thermostat
topic_subscription: thermostat/+/+/set
update_interval: 60
miscale:
args:
mac: 00:11:22:33:44:55
topic_prefix: miscale
update_interval: 1800
linakdesk:
args:
mac: 00:11:22:33:44:55
topic_prefix: linak_desk
update_interval: 1800
miflora:
args:
devices:
herbs: 00:11:22:33:44:55
topic_prefix: miflora
update_interval: 300
mithermometer:
args:
devices:
living_room: 00:11:22:33:44:55
topic_prefix: mithermometer
update_interval: 300
blescanmulti:
args:
devices:
beacon: 00:11:22:33:44:55
smartwath: 00:11:22:33:44:55
topic_prefix: blescan
update_interval: 60