Update example config and readme with miflora (#7)

* Link documentation in Systemd service unit

* Define python3 as default

* Update example config and readme with miflora
This commit is contained in:
Benji
2018-05-10 09:38:47 +02:00
committed by zewelor
parent 62077ebd3d
commit 6982548de0
4 changed files with 11 additions and 2 deletions
+1
View File
@@ -18,6 +18,7 @@ A simple Python script which provides a Bluetooth to MQTT gateway, easily extens
* [Xiaomi Mi Scale](http://www.mi.com/en/scale/)
* [Linak Desk](https://www.linak.com/business-areas/desks/office-desks/) via [linak_bt_desk](https://github.com/zewelor/linak_bt_desk)
* [MySensors](https://www.mysensors.org/)
* [Xiaomi Mi Flora plant sensor](https://xiaomi-mi.com/sockets-and-sensors/xiaomi-huahuacaocao-flower-care-smart-monitor/) via [miflora](https://github.com/open-homeautomation/miflora)
## Getting Started
+2 -1
View File
@@ -1,5 +1,6 @@
[Unit]
Description=Bluetooth MQTT gateway
Documentation=https://github.com/zewelor/bt-mqtt-gateway
After=network.target
[Service]
@@ -9,4 +10,4 @@ ExecStart=/home/user/bt-mqtt-gateway/gateway.py
Restart=always
[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target
+7
View File
@@ -31,3 +31,10 @@ manager:
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
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3
import logging
import sys