-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.ini.dist
88 lines (67 loc) · 2.88 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# Configuration file for P2-RPi-ioT-gw-daemon
# Source: https://github.com/ironsheep/P2-RPi-ioT-gateway
#
# Uncomment and adjust all settings as needed.
#
# Some settings can be configured by environment variables.
# If an env variable is set, it takes precedence over settings in this file
[Daemon]
# Enable or Disable an endless execution loop (Default: true)
#enabled = true
# This script reports RPi values at a fixed interval in minutes [2-30], [Default: 5]
#interval_in_minutes = 5
# default domain to use when hostname -f doesn't return a proper fqdn
#fallback_domain = home
# directories assigned to folder id's (uncomment and change to override)
#folder_tmp= /tmp/P2-RPi-ioT-gateway
#folder_var = /var/P2-RPi-ioT-gateway
#folder_control = /var/P2-RPi-ioT-gateway/control
#folder_status = /var/P2-RPi-ioT-gateway/status
#folder_log = /var/log/P2-RPi-ioT-gateway
#folder_mail = /var/P2-RPi-ioT-gateway/mail
#folder_proc = /var/P2-RPi-ioT-gateway/proc
[EMAIL]
# email transport is supported in two forms:
# use_sendgrid: true/false
# False means directly use the sendmail app
# True means to use an external sendgrid account (this requires that the 'sendgrid_api_key' be configured!)
#
# by default (use_sendgrid = false) we use the sendmail(1) built-in command
#
# uncomment the use_sendgrid, sendgrid_api_key, & sendgrid_api_key to enable use of SendGrid account
# and, of course, fill in your own API key and From email address!
# use_sendgrid = true
# sendgrid_api_key = {api_key}
# sendgrid_from_addr = {sendgridFromAddress}
[MQTT]
# The hostname or IP address of the MQTT broker to connect to (Default: localhost)
# Also read from the MQTT_HOSTNAME environment variable
#hostname = localhost
# The TCP port the MQTT broker is listening on (Default: 1883)
# Also read from the MQTT_PORT environment variable
#port = 1883
# Maximum period in seconds between ping messages to the broker. (Default: 60)
#keepalive = 60
# by default Home Assistant listens to the /homeassistant but it can be changed for a given installation
# likewise, by default this script advertises on the same default topic. If you use a different
# discovery prefix then specify yours here. [default: homeassistant]
#discovery_prefix = homeassistant
# NOTE: The MQTT topic used for this device is constructed as:
# {base_topic}/{sensor_name}
#
# The MQTT base topic under which to publish the Raspberry Pi sensor data topics.
#base_topic = home/nodes
# The MQTT name for this Raspberry Pi as a sensor
#sensor_name = rpi-{hostname}
# The MQTT broker authentication credentials (Default: no authentication)
# Will also read from MQTT_USERNAME and MQTT_PASSWORD environment variables
#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 =