-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.template
83 lines (73 loc) · 2.12 KB
/
config.template
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
#-E3DC Access
#--IP address and port of your home power station
E3DC_IP=
E3DC_PORT=5033
#--your E3/DC web account and the RSCP/AES password configured in the device
E3DC_USER=
E3DC_PASSWORD=
E3DC_AES_PASSWORD=
#-System
#--cycle interval in seconds (max 300 seconds)
INTERVAL=1
#--log mode defines the handling of errors/messages that are returned in response to a tag request
#--OFF: no logs, ON: error is logged immediately when it occurs, BUFFERED: errors are buffered and printed at midnight, at the end of the program or by a /set/log/errors request
#LOG_MODE=OFF
#LOG_MODE=ON
LOG_MODE=BUFFERED
#--log files
LOGFILE=/tmp/rscp2mqtt.log
TOPIC_LOG_FILE=/tmp/rscp2mqtt.history
#--set power mode
AUTO_REFRESH=false
#-- EMS requests
EMS_REQUESTS=true
#--Start of Operation
HISTORY_START_YEAR=2022
#--Request todays, weekly, monthly, yearly historical values
HST_REQUESTS=true
#--Request daily historical values
DAILY_VALUES=true
#--Publish statistic values
STATISTIC_VALUES=true
#-Keys
#--Key prefix, default is no prefix
#PREFIX=e3dc
#-Payload
#--Boolean values true/false or 1/0
USE_TRUE_FALSE=true
#-Power Meter
#--PM_INDEX can be set multiple times if several power meters exist, default is 0
#--PM_EXTERN=true has the same effect as PM_INDEX=6 (6 for S10 Mini, compatibilty with previous releases)
PM_EXTERN=false
PM_INDEX=0
PM_REQUESTS=true
#-Photovoltaic Inverter
PVI_REQUESTS=true
#--Number of PVI strings/trackers (disables the auto detection)
PVI_TRACKER=2
#-Battery Settings
#--Number of Battery Strings, default is 1
BATTERY_STRINGS=1
#--Battery Modules
DCB_REQUESTS=true
#-Raw Data Mode
RAW_MODE=false
#-- filter keys to be published (optional, only one entry possible!)
RAW_TOPIC_REGEX=raw/TAG_DCDC_DATA/.*
#-Battery SOC Limiter
SOC_LIMITER=true
LIMIT_CHARGE_SOC=0
LIMIT_DISCHARGE_SOC=0
LIMIT_CHARGE_DURABLE=false
LIMIT_DISCHARGE_DURABLE=false
LIMIT_DISCHARGE_BY_HOME_POWER=0
#-Wallboxes
#--for the wallboxes specified by WB_INDEX (0..7)
#--use multiple WB_INDEX entries for further wallboxes
WALLBOX=true
WB_INDEX=0
#-Forced Keys
#--will be published with every cycle
FORCE_PUB=[a-z]+/power
FORCE_PUB=battery/soc
FORCE_PUB=pvi/.*/string_[1,2]