Skip to content

Commit

Permalink
adjusted scripts and initial config files
Browse files Browse the repository at this point in the history
  • Loading branch information
ai-republic committed Jan 18, 2024
1 parent 69d5eea commit 96afe70
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 11 deletions.
4 changes: 2 additions & 2 deletions scripts/config.properties.mine
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ bms.portProtocol=CAN

# The port name/device to use to communicate to the BMS
#bms.portLocator=com3
bms.portLocator=can0
#bms.portLocator=/dev/ttyS0
#bms.portLocator=/dev/ttyUSB0
bms.portLocator=can0

#### Or for multiple BMSes connected to multiple ports ####
#bms.0.portProtocol=CAN
Expand All @@ -45,7 +45,7 @@ bms.portLocator=can0
#etc...

# Interval to request BMS data (in seconds)
bms.pollInterval=60
bms.pollInterval=1


###################################################################
Expand Down
2 changes: 1 addition & 1 deletion scripts/log4j2.xml.mine
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</RollingFile>
</appenders>
<loggers>
<root level="debug"> <!-- We log everything -->
<root level="info"> <!-- We log everything -->
<appender-ref ref="Console"/> <!-- To console -->
<appender-ref ref="RollingFile"/> <!-- And to a rotated file -->
</root>
Expand Down
16 changes: 8 additions & 8 deletions scripts/pom.xml.mine
Original file line number Diff line number Diff line change
Expand Up @@ -91,18 +91,18 @@
<!-- #################### !!!!!!!! Choose BMS !!!!!!!! ###################### -->

<!-- #################### DALY(CAN) ################### -->
<!-- <dependency>-->
<!-- <groupId>com.ai-republic.bms-to-inverter</groupId>-->
<!-- <artifactId>bms-daly-can</artifactId>-->
<!-- <version>${project.version}</version>-->
<!-- </dependency>-->

<!-- #################### DALY (RS485) ################### -->
<dependency>
<groupId>com.ai-republic.bms-to-inverter</groupId>
<artifactId>bms-daly-rs485</artifactId>
<artifactId>bms-daly-can</artifactId>
<version>${project.version}</version>
</dependency>

<!-- #################### DALY (RS485) ################### -->
<!-- <dependency>-->
<!-- <groupId>com.ai-republic.bms-to-inverter</groupId>-->
<!-- <artifactId>bms-daly-rs485</artifactId>-->
<!-- <version>${project.version}</version>-->
<!-- </dependency>-->

<!-- #################### PYLONTECH (CAN) ################### -->
<!-- <dependency>-->
Expand Down
6 changes: 6 additions & 0 deletions scripts/startBmsToInverter.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

### start the application
echo Starting the application...
cd ~/final/bms-to-inverter-main-0.0.1-SNAPSHOT
java -jar bms-to-inverter-main-0.0.1-SNAPSHOT.jar

0 comments on commit 96afe70

Please sign in to comment.