-
Notifications
You must be signed in to change notification settings - Fork 36
/
config.example
180 lines (155 loc) · 3.94 KB
/
config.example
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
[DEFAULT]
# Time in minutes how often a status is added to the log-file current.log with log-level INFO
SignOfLifeLog= 1
# Number ob Template Inverter to query
NumberOfTemplates=0
# Which DTU to be used ahoy, opendtu, template. template is template only, ahoy and opendtu can use a dtu and templates together.
DTU=opendtu
# If you want to exclude Inverter, specify how many of the Inverters you want to query.
# Please assure that the order is correct in the DTU, we can only extract the first one in a row.
# (0=compute number from json response; > 0 use only first x inverters)
NumberOfInvertersToQuery = 0
# send YieldDay instead of YieldTotal
useYieldDay=0
#For ESP8266 reduce polling intervall to reduce load
ESP8266PollingIntervall=10000
#Possible Options for Log Level: CRITICAL, ERROR, WARNING, INFO, DEBUG, NOTSET
#To keep current.log small use ERROR
Logging=ERROR
# if ts_last_success is older than this number of seconds, it is not used.
# Set this to < 0 to disable this check.
MaxAgeTsLastSuccess=600
# if this is not 0, then no values are actually sent via dbus to vrm/venus.
DryRun=0
#IP of Device to query
Host=172.16.1.1
HTTPTimeout=2.5
# Username/Password leave empty if no authentication is required
Username =
Password =
### Only needed for OpenDTU and ahoy
# Phase: Either L1, L2, L3 or 3P for 3 phase HMT series, if unsure use L1
# AcPosition 0=AC input 1; 1=AC output; 2=AC input 2
# 1st inverter
[INVERTER0]
Phase=L1
DeviceInstance=34
AcPosition=1
#Servicename=com.victronenergy.charger
# 2nd inverter
[INVERTER1]
Phase=L2
DeviceInstance=35
AcPosition=0
# 3rd inverter
[INVERTER2]
Phase=L3
DeviceInstance=36
AcPosition=1
# 4th inverter
[INVERTER3]
Phase=L1
DeviceInstance=37
AcPosition=1
# 5th inverter
[INVERTER4]
Phase=L2
DeviceInstance=38
AcPosition=1
# 6th inverter
[INVERTER5]
Phase=L3
DeviceInstance=39
AcPosition=1
# 7th inverter
[INVERTER6]
Phase=L1
DeviceInstance=40
AcPosition=1
# 8th inverter
[INVERTER7]
Phase=L2
DeviceInstance=41
AcPosition=1
# 9th inverter
[INVERTER8]
Phase=L3
DeviceInstance=42
AcPosition=1
# 10th inverter
[INVERTER9]
Phase=L1
DeviceInstance=43
AcPosition=1
################## TEMPLATES #####################
####Rearrange and customite Templates as necessary
# AcPosition 0=AC input 1; 1=AC output; 2=AC output 2
[TEMPLATE0]
## Tasmota Example
##
## Username/Password leave empty if no authentication is required
Username =
Password =
DigestAuth = False
Host=172.16.1.1
CUST_SN = 12345678
CUST_API_PATH= cm?cmnd=STATUS+8
CUST_POLLING = 2000
CUST_Total= StatusSNS/ENERGY/Total
CUST_Total_Mult = 1
CUST_Power= StatusSNS/ENERGY/Power
CUST_Power_Mult = 1
CUST_Voltage= StatusSNS/ENERGY/Voltage
CUST_Current= StatusSNS/ENERGY/Current
Phase=L1
DeviceInstance=47
AcPosition=1
Name= Tasmota
Servicename=com.victronenergy.grid
[TEMPLATE1]
## Shelly Gen 1 authenticated and unathenticated example
## Documentation: https://shelly-api-docs.shelly.cloud/gen1/#shelly1-1pm-status
##
## Username/Password leave empty if no authentication is required
Username =
Password =
DigestAuth = False
Host=172.16.1.1
CUST_SN = 12345678
CUST_API_PATH= status
CUST_POLLING = 2000
CUST_Total= meters/0/total
###Shelly1PM Multiplier Watt/min 0.000017
CUST_Total_Mult = 0.000017
CUST_Power= meters/0/power
CUST_Power_Mult = 1
CUST_Voltage= none
CUST_Current= none
Phase=L2
DeviceInstance=45
AcPosition=1
Name= Shelly 1PM
Servicename=com.victronenergy.genset
[TEMPLATE2]
## Shelly Gen 2 - Only works with Digest Auth = True and Username and Password!
## Documentation https://shelly-api-docs.shelly.cloud/gen2/ComponentsAndServices/EM#status
##
## Username/Password leave empty if no authentication is required
Username =
Password =
Host=172.16.1.1
DigestAuth = True
CUST_SN = 12345678
CUST_API_PATH= rpc/Switch.GetStatus?id=0
CUST_POLLING = 2000
CUST_Total= aenergy/total
CUST_Total_Mult = 1
CUST_Power= apower
CUST_Power_Mult = 1
CUST_Voltage= voltage
CUST_Current= current
Phase=L3
DeviceInstance=46
AcPosition=1
Name= ShellyPlus1PM
Servicename=com.victronenergy.pvinverter