-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig-template.yml
More file actions
91 lines (85 loc) · 3.44 KB
/
config-template.yml
File metadata and controls
91 lines (85 loc) · 3.44 KB
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
89
90
# Configuration file as a template. Provides all available configuration options. Final config file should be named config.yml or config.yaml
# Section for airthings wave plus configuration
airthings_wave_plus:
# Bluetooth configuration
bluetooth:
# Bluetooth MAC address of Airthings Wave Plus
# Application will scan for device either by Airthings Wave Plus bluetooth MAC address or Airthings Wave Plus serial Number
mac_address:
# 10-digit Airthings Wave Plus serial number: Can be found under the magnetic backplate of your Airthings Wave Plus
# Application will scan for device either by Airthings Wave Plus bluetooth MAC address or Airthings Wave Plus serial Number
serial_number:
# Sectiom for scheduler configuration
scheduler:
# Delay in seconds (Keep in mind that Airthings Wave Plus will refresh sensor measurements every 5minutes)
delay: 300
# Section for configuration of publishers
publishers:
#Section for publishing to Apache Kafka
kafka:
# Is publishing to Kafka enabled [True | False]
enabled: False
# Kafka bootstrap servers. Multiple servers can be added separated by comma e.g.: "IP:PORT,IP:PORT,IP:PORT"
bootstrap_servers:
# Topic where message should be published
topic:
# Security protocol: e.g. SASL_SSL
security_protocol:
# SSL CA cert file path (with extension), e.g.: "./CARoot.pem"
ssl_ca_cert_file:
# SASL Mechanism
sasl_mechanism:
# SASL Username
sasl_username:
# SASL Password
sasl_password:
#Section for publishing to MQTT
mqtt:
# Is publishing to MQTT enabled [True | False]
enabled: False
# MQTT Broker hostname
hostname:
# Port used for connection to broker
port:
# Connection type: [MQTT | TLS]
connection_type:
# Section for TLS related options (For more information check Python Paho Documentation)
tls:
# A string path to the Certificate Authority certificate files that are to be treated as trusted by this client. Leave empty or fill None to use default.
ca_certs:
# Strings pointing to the PEM encoded client certificate and private keys respectively. Leave empty or fill None to use default.
certfile:
# Strings pointing to the PEM encoded client certificate and private keys respectively. Leave empty or fill None to use default.
keyfile:
# Defines the certificate requirements that the client imposes on the broker. Leave empty or fill None to use default.
cert_req:
# Specifies the version of the SSL/TLS protocol to be used. Leave empty or fill None to use default.
tls_version:
# A string specifying which encryption ciphers are allowable for this connection. Leave empty or fill None to use default.
ciphers:
# Username for brokers with authentication
username:
#Password for brokers with authentication
password:
# Topic where message should be published
topic:
# QOS setting to be used when publishing (default: 0)
qos:
# Set the message to be retained [True | False]
retain_msg:
# Application logging configuration
log:
console:
# Log level for console (stdout) logging [True | False]
level: INFO
# Section for file loggers
file:
# Logging to .log files
log:
# Is .log file logging enabled [True | False]
enabled: True
# Log level for .log file logger
level: DEBUG
err:
# Is .err file logging enabled (file logger which only record errors)
enabled: True