-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml.dist
63 lines (56 loc) · 2.22 KB
/
config.yaml.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
log-level: info # Logging level. Info is fine use debug or trace when something is not behaving like it should.
# A HTTP server is needed for metrics and debugging
http:
ip: 127.0.0.1 # What IP address it should listen on. Use 0.0.0.0 to listen on everything
port: 8080 # What port it should listen on.
modbus:
run: true # Read metrics from inverters every interval
read-metrics-interval: 15 # Seconds
connections:
- name: port1 moxa
ip: 127.0.0.1
port: 520
protocol: rtuovertcp
baudrate: 9600
data-bits: 8
stop-bits: 1
timeout: 5 # Seconds
inverters:
- name: "inverter1"
unit-id: 1
power-meter: false
luna2000: true
- name: "inverter2"
unit-id: 2
power-meter: true
luna2000: true
# Power price configuration
power-prices:
# Enable or disable collecting completely
enable: false
sources:
all-in-power:
# Enable or disable All In Power power price collecting
enable: false
entsoe:
# Enable or disable entsoe power price collecting
enable: false
# Domains can be found here: https://transparency.entsoe.eu/content/static_content/Static%20content/web%20api/Guide.html#_areas
domain: "10YNL----------L"
# You will need to contact Entsoe support to get access to their API.
security-token: ""
# Victoria metrics is used to pull and push metrics without using the /metrics endpoint
victoria-metrics:
url: http://127.0.0.1:8428
# Basic HTTP authentication
username:
password:
control:
run: true # Run control loop?
# How often to run checks in seconds.
# I'm not sure how well the batteries like being set to discharge and stop every 5s so I think you do not want to change this below 30s.
loop-interval: 30
minimum-solar-over-production: 10 # Minimum percentage solar over production. This is the percentage of unused power.
over-discharge-percentage: 3 # What percentage to over discharge. Handy for spikes in energy usage.
minimum-battery-capacity: 5 # Minimum capacity to leave in the batteries.
battery-charge-percentage: 90 # Percentage to charge batteries. If your over production is 1000w then 900w will be used to charge the batteries.