-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.ini.dist
58 lines (41 loc) · 1.6 KB
/
config.ini.dist
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
# MH-Z19 Raspberry MQTT Client/Daemon
# Source: https://github.com/R4scal/mhz19-mqtt-daemon
#
# Uncomment and adapt all settings as needed.
[General]
# The operation mode of the program. Determines wether retrieved sensor data is published via MQTT or stdout/file.
# Currently supported:
#
# homeassistant-mqtt - Publish to an MQTT broker following the HomeAssistant discovery format
# (https://www.home-assistant.io/docs/mqtt/discovery/)
#
reporting_method = homeassistant-mqtt
[MH-Z19]
# Detection range of the used sensor in ppm. Currently valid options are: 2000, 5000, 10000 (Default: 5000)
#detection_range = 5000
[Daemon]
# Enable or Disable an endless execution loop (Default: true)
#enabled = true
# The period between two measurements in seconds (Default: 300)
#period = 300
[MQTT]
# The hostname or IP address of the MQTT broker to connect to (Default: localhost)
#hostname = localhost
# The TCP port the MQTT broker is listening on (Default: 1883)
#port = 1883
# Maximum period in seconds between ping messages to the broker. (Default: 60)
#keepalive = 60
# The MQTT base topic to publish all Mi Flora sensor data topics under.
# Default depends on the configured reporting_method
#base_topic = homeassistant # Default for: homeassistant-mqtt
# The MQTT broker authentification credentials (Default: no authentication)
#username = user
#password = pwd123
# Enable TLS/SSL on the connection
#tls = false
# Path to CA Certificate file to verify host
#tls_ca_cert =
# Path to TLS client auth key file
#tls_keyfile =
# Path to TLS client auth certificate file
#tls_certfile =