forked from HotNoob/PythonProtocolGateway
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.influxdb.example
More file actions
42 lines (37 loc) · 931 Bytes
/
config.influxdb.example
File metadata and controls
42 lines (37 loc) · 931 Bytes
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
#
[influxdb_output]
transport = influxdb_out
host = localhost
port = 8086
database = solar
username =
password =
measurement = device_data
include_timestamp = true
include_device_info = true
batch_size = 100
batch_timeout = 10.0
log_level = INFO
# Connection monitoring settings (optional)
reconnect_attempts = 5
reconnect_delay = 5.0
connection_timeout = 10
# Exponential backoff settings (optional)
use_exponential_backoff = true
max_reconnect_delay = 300.0
# Periodic reconnection settings (optional)
periodic_reconnect_interval = 14400.0
# Persistent storage for long-term outages (optional)
enable_persistent_storage = true
persistent_storage_path = influxdb_backlog
max_backlog_size = 10000
max_backlog_age = 86400
# Example bridge configuration
[modbus_rtu_source]
type = modbus_rtu
port = /dev/ttyUSB0
baudrate = 9600
protocol_version = growatt_2020_v1.24
device_serial_number = 123456789
bridge = influxdb_output
#