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:
@@ -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/)
|
* [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)
|
* [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/)
|
* [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
|
## Getting Started
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Bluetooth MQTT gateway
|
Description=Bluetooth MQTT gateway
|
||||||
|
Documentation=https://github.com/zewelor/bt-mqtt-gateway
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|||||||
@@ -31,3 +31,10 @@ manager:
|
|||||||
mac: 00:11:22:33:44:55
|
mac: 00:11:22:33:44:55
|
||||||
topic_prefix: linak_desk
|
topic_prefix: linak_desk
|
||||||
update_interval: 1800
|
update_interval: 1800
|
||||||
|
miflora:
|
||||||
|
args:
|
||||||
|
devices:
|
||||||
|
herbs: 00:11:22:33:44:55
|
||||||
|
topic_prefix: miflora
|
||||||
|
update_interval: 300
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
import sys
|
import sys
|
||||||
|
|||||||
Reference in New Issue
Block a user