|
7 | 7 | ###################################################################
|
8 | 8 |
|
9 | 9 | #### Simple single port configuration ####
|
| 10 | +# bms.pollIntervall - is the interval to request BMS data (in seconds) |
10 | 11 | # bms.x.type - can be (DALY_CAN, DALY_RS485, JK_CAN, PYLON_CAN or SEPLOS_CAN
|
11 | 12 | # bms.x.portLocator - is the locator/device to use to communicate to the BMS, eg. can0, /dev/ttyUSB0, com3, etc.
|
12 |
| -# bms.x.pollIntervall - is the interval to request BMS data (in seconds) |
| 13 | +# bms.x.baudRate - is the locator/device baudrate to use to communicate to the BMS, eg. 9600, 500000, etc. |
13 | 14 | # bms.x.delayAfterNoBytes - is the delay after receiving no data (in ms)
|
14 |
| -bms.pollInterval=2 |
| 15 | +bms.pollInterval=1 |
15 | 16 |
|
16 |
| -#bms.1.type=DALY_RS485 |
17 |
| -#bms.1.id=1 |
18 |
| -#bms.1.portLocator=/dev/ttyS0 |
19 |
| -#bms.1.delayAfterNoBytes=500 |
20 |
| - |
21 |
| -bms.1.type=DALY_CAN |
| 17 | +bms.1.type=NONE |
22 | 18 | bms.1.id=1
|
23 |
| -bms.1.portLocator=can0 |
| 19 | +bms.1.portLocator=adf |
24 | 20 | bms.1.baudRate=500000
|
25 |
| -bms.1.delayAfterNoBytes=500 |
26 |
| - |
27 |
| -bms.2.type=DALY_CAN |
28 |
| -bms.2.id=2 |
29 |
| -bms.2.portLocator=can0 |
30 |
| -bms.2.baudRate=500000 |
31 |
| -bms.2.delayAfterNoBytes=500 |
32 |
| - |
33 |
| -bms.3.type=DALY_CAN |
34 |
| -bms.3.id=3 |
35 |
| -bms.3.portLocator=can0 |
36 |
| -bms.3.baudRate=500000 |
37 |
| -bms.3.delayAfterNoBytes=500 |
38 |
| - |
39 |
| -bms.4.type=DALY_CAN |
40 |
| -bms.4.id=4 |
41 |
| -bms.4.portLocator=can0 |
42 |
| -bms.4.baudRate=500000 |
43 |
| -bms.4.delayAfterNoBytes=500 |
44 |
| - |
45 |
| -bms.5.type=DALY_CAN |
46 |
| -bms.5.id=5 |
47 |
| -bms.5.portLocator=can0 |
48 |
| -bms.5.baudRate=500000 |
49 |
| -bms.5.delayAfterNoBytes=500 |
50 |
| - |
51 |
| -bms.6.type=DALY_CAN |
52 |
| -bms.6.id=6 |
53 |
| -bms.6.portLocator=can0 |
54 |
| -bms.6.baudRate=500000 |
55 |
| -bms.6.delayAfterNoBytes=500 |
56 |
| - |
57 |
| -bms.7.type=DALY_CAN |
58 |
| -bms.7.id=7 |
59 |
| -bms.7.portLocator=can0 |
60 |
| -bms.7.baudRate=500000 |
61 |
| -bms.7.delayAfterNoBytes=500 |
62 |
| - |
63 |
| -bms.8.type=DALY_CAN |
64 |
| -bms.8.id=8 |
65 |
| -bms.8.portLocator=can0 |
66 |
| -bms.8.baudRate=500000 |
67 |
| -bms.8.delayAfterNoBytes=500 |
68 |
| - |
69 |
| -#bms.1.type=DALY_RS485 |
70 |
| -#bms.1.id=1 |
71 |
| -#bms.1.portLocator=com3 |
72 |
| -##bms.1.portLocator=/dev/ttyAMA0 |
73 |
| -#bms.1.baudRate=9600 |
74 |
| -#bms.1.delayAfterNoBytes=200 |
75 |
| -# |
76 |
| -#bms.2.type=JK_CAN |
77 |
| -#bms.2.id=1 |
78 |
| -#bms.2.portLocator=can1 |
79 |
| -#bms.2.baudRate=500000 |
80 |
| -#bms.2.delayAfterNoBytes=200 |
81 |
| -#... |
82 |
| - |
| 21 | +bms.1.delayAfterNoBytes=200 |
83 | 22 |
|
84 | 23 | ###################################################################
|
85 | 24 | ### Inverter settings ###
|
86 | 25 | ###################################################################
|
87 | 26 | # The inverter type can be NONE, DEYE_CAN, GROWATT_CAN, SMA_SI_CAN, SOLARK_CAN
|
88 |
| -inverter.type=NONE |
| 27 | +inverter.type=PYLON_RS485 |
89 | 28 | # The port name/device to use to communicate to the inverter
|
90 |
| -inverter.portLocator=can1 |
91 |
| -# The port name/device baud rate to use to communicate to the inverter |
92 |
| -inverter.baudRate=500000 |
| 29 | +inverter.portLocator=com4 |
| 30 | +# The port baud rate to use to communicate to the inverter |
| 31 | +inverter.baudRate=9600 |
93 | 32 | # Interval to send data to the inverter (in seconds)
|
94 | 33 | inverter.sendInterval=1
|
95 | 34 |
|
96 | 35 | ###################################################################
|
97 |
| -### Optional services settings ### |
| 36 | +### Plugin settings ### |
98 | 37 | ###################################################################
|
| 38 | +plugin.inverter.1.class=com.airepublic.bmstoinverter.core.plugin.inverter.ManipulateBatteryPackDataPlugin |
| 39 | +plugin.inverter.1.property.1.name=SOC |
| 40 | +plugin.inverter.1.property.1.value= |
| 41 | +plugin.inverter.1.property.1.description=The configured preset batterypack SOC (unit 0.1%) |
| 42 | +plugin.inverter.1.property.2.name=SOH |
| 43 | +plugin.inverter.1.property.2.value= |
| 44 | +plugin.inverter.1.property.2.description=The configured preset batterypack SOH (unit 0.1%) |
| 45 | +plugin.inverter.1.property.3.name=Current |
| 46 | +plugin.inverter.1.property.3.value= |
| 47 | +plugin.inverter.1.property.3.description=The configured preset batterypack current (unit 0.1A) |
| 48 | +plugin.inverter.1.property.4.name=Voltage |
| 49 | +plugin.inverter.1.property.4.value= |
| 50 | +plugin.inverter.1.property.4.description=The configured preset batterypack voltage (unit 0.1V) |
| 51 | +plugin.inverter.1.property.5.name=Max. charge current |
| 52 | +plugin.inverter.1.property.5.value=2990 |
| 53 | +plugin.inverter.1.property.5.description=The configured preset batterypack maximum charge current (unit 0.1A) |
| 54 | +plugin.inverter.1.property.6.name=Max. discharge current |
| 55 | +plugin.inverter.1.property.6.value=1999 |
| 56 | +plugin.inverter.1.property.6.description=The configured preset batterypack maximum discharge current (unit 0.1A) |
| 57 | +plugin.inverter.1.property.7.name=Max. voltage limit |
| 58 | +plugin.inverter.1.property.7.value= |
| 59 | +plugin.inverter.1.property.7.description=The configured preset batterypack maximum voltage limit (unit 0.1V) |
| 60 | +plugin.inverter.1.property.8.name=Min. voltage lime |
| 61 | +plugin.inverter.1.property.8.value= |
| 62 | +plugin.inverter.1.property.8.description=The configured preset batterypack minimum voltage limit (unit 0.1V) |
| 63 | +plugin.inverter.1.property.9.name=Average Temperature |
| 64 | +plugin.inverter.1.property.9.value= |
| 65 | +plugin.inverter.1.property.9.description=The configured preset batterypack average temperature (unit 0.1C) |
99 | 66 |
|
| 67 | +################################################################### |
| 68 | +### Optional services settings ### |
| 69 | +################################################################### |
100 | 70 |
|
101 |
| -#### MQTT properties #### |
102 |
| -# Activate the MQTT broker if you have other consumers connecting to your MQTT broker |
103 |
| -mqtt.broker.enabled=false |
104 |
| -# The URL of the MQTT broker server for other consumers to connect to |
105 |
| -mqtt.broker.locator=tcp://127.0.0.1:61616 |
106 |
| -# The topic name on the MQTT broker to provide |
107 |
| -mqtt.broker.topic=energystorage |
108 |
| -# Activate the MQTT producer if you want to send your BMS data to a MQTT broker, e.g. HomeAssistant |
109 |
| -mqtt.producer.enabled=false |
110 |
| -# The URL of the MQTT broker to send to |
111 |
| -mqtt.producer.locator=tcp://127.0.0.1:61616 |
112 |
| -# The topic name on the MQTT broker to send to |
113 |
| -mqtt.producer.topic=energystorage |
114 |
| -# The username of the external MQTT broker to send to |
115 |
| -mqtt.producer.username= |
116 |
| -# The password on the external MQTT broker to send to |
117 |
| -mqtt.producer.password= |
118 | 71 |
|
119 |
| -#### Email properties #### |
120 |
| -mail.service.enabled=false |
121 |
| -mail.out.debug=true |
122 |
| -# SMTP or IMAP address of the outgoing server |
123 |
| -mail.out.host=smtp.gmail.com |
124 |
| -# The port of the outgoing server |
125 |
| -mail.out.port=587 |
126 |
| -# smtp for TLS, smtps for SSL |
127 |
| -mail.out.type=smtp |
128 |
| -# User name to authenticate at the outgoing server |
129 |
| -mail.out.username= [email protected] |
130 |
| -# Password to authenticate at the outgoing server |
131 |
| -mail.out.password=mypassword |
132 |
| -# Disable if using TLS |
133 |
| - mail.out.sslEnable=false |
134 |
| -# Disable if using SSL |
135 |
| -mail.out.tlsEnable=true |
136 |
| -# The email address to use when sending emails |
137 |
| -mail.out.defaultEmail= [email protected] |
138 |
| -# A (comma separated) list of pre-configured email recipients |
139 |
| -mail.out.recipients= [email protected] |
140 | 72 |
|
141 | 73 | #### Webserver properties ####
|
142 | 74 | webserver.service.enabled=true
|
143 | 75 | # The webserver port
|
144 | 76 | webserver.http.port=8080
|
145 | 77 | webserver.https.port=8443
|
| 78 | +webserver.username=admin |
| 79 | +webserver.password=admin |
0 commit comments