-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yaml
64 lines (61 loc) · 2.3 KB
/
config.yaml
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
---
boilr:
interval: 10
# api checking interval in seconds
start_timeout: 120
# minimum time between contactor state changes in seconds
# reduces the toggling of the contactor
# opens the contactor immediately if there is insufficient power available
# delays the closing of the contactor if the time delta between open and closed is below this value
moving_median_list_size: 5
# size of the array for past query values
# smooths fluctuations in the available PV power to prevent the contactor from switching too frequently
charge_threshold: 85
# minimum state of charge of the battery in %
# boilr is active after charge_threshold has been exceeded
# boilr is inactive before the battery is discharged
# if no battery is present, boilr assumes the state of charge = 100
ppv_tolerance: 100
# tolerance of PV production in W
# included in the calculation of power availability
heater_power: 2600
# maximum power of the heating element in W
# important for calculating the power availability
active_date_range: ["01-01", "31-12"]
# (day-month) ([start, end])
# e.g.: may to oct -> ["01-05", "31-10"]
active_time_range: ["00:00", "23:59"]
# (hour:minute) ([start, end])
# e.g.: 10am to 5pm -> ["10:00", "17:00"]
rpi:
# look at the schematics or pinout of your board
# https://www.raspberrypi.com/documentation/computers/raspberry-pi.html
rpi_channel_relay_out: 17
# to set the relay state
# 1B - board number 11
rpi_channel_relay_in: 27
# to read the relay state - currently not used in code
# 1B - board number 13
endpoint:
# Fronius PV inverter
request_timeout: 5
# timeout for requests in seconds
max_retries: 3
# maximum number of retries for failed requests
scheme: "http://"
# request scheme for api request
host: "10.0.10.90"
# domain/ip-address of the inverter (incl. port - if necessary)
api: "/solar_api/v1"
# api version (inverter specific)
# check with this URI: http://<ip-address>/solar_api/GetAPIVersion.cgi
resource: "/GetPowerFlowRealtimeData.fcgi"
# resource
mqtt:
broker_host: "10.0.10.60"
# domain/ip-address of the mqtt broker
broker_port: 1883
# port of the broker
topic: "boilr"
# root mqtt topic
# contactor state is published with <topic>/contactor/state