-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
mible.toml
80 lines (66 loc) · 2.12 KB
/
mible.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# Template for configuration file of miblepy
# copy this file to your home directory and rename it to ".miblepy.yaml" (starting with a ".").
[general]
# Select the bluetooth interface to be used.
interface = "hci0"
# path where log file shall be stored, optional
#logfile = "/tmp/miblepy.log"
# option for debug logging, optional
debug = false
# mqtt configuration, replace this with the configuration of your mqtt server
[mqtt]
#url of your mqtt server, madatory
server = "your.mqtt-broker.com"
# port of the mqtt server, optional if using 8883
port = 8883
# client_id to use with the mqtt server, optional as defaults to unique numeric identifier
#client_id = miblepy
# credentials for the mqtt server, optional if you do not use authentication
#username =
#password =
# If this is enabled, miblepy will announce all plants via the MQTT Discovery
# feature of Home Assistant in this MQTT prefix. For details see:
# https://www.home-assistant.io/docs/mqtt/discovery/
discovery_prefix = "homeassistant"
# prefix (without trailing /) of the topic where the sensor data will be published, mandatory
prefix = "miblepy"
# terminate topic with a trailing slash, optional as defaults to True
#trailing_slash = False
# format for timestamp string using strftime(), optional as defaults to ISO8601 format
#timestamp_format = "%d/%m/%y %H:%M:%S"
# path to ssl/tls ca file
#ca_cert = "/etc/ssl/certs/<my ca file.pem>"
# sensor configuration, replace this with the configuration of your sensors
[[sensors.bodycompscale]]
mac = "0C:91:41:E2:AB:1F"
alias = "Mi Scale"
[[sensors.bodycompscale.users]]
user = "Ben"
height = 187
birthdate = 1989-02-26
sex = "male"
weightOver = 70
weightBelow = 90
[[sensors.bodycompscale.users]]
user = "Naomi"
height = 161
birthdate = 1990-10-29
sex = "female"
weightOver = 40
weightBelow = 60
[[sensors.bodycompscale.users]]
user = "Shiva"
height = 42
birthdate = 2011-04-11
sex = "female"
weightOver = 3
weightBelow = 15
[[sensors.flowercare]]
mac = "C4:7C:8D:64:B7:1A"
alias = "Hochbeet A"
[[sensors.flowercare]]
mac = "C4:8D:8D:67:B3:04"
alias = "Hochbeet B"
[[sensors.lywsd03mmc]]
mac = "A4:ED:38:FF:19:94"
alias = "BLE LCD Thermometer"