Skip to content

Commit

Permalink
update config files for new interface code
Browse files Browse the repository at this point in the history
  • Loading branch information
simat committed Dec 7, 2017
1 parent 530c0db commit c5535f6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 12 deletions.
3 changes: 1 addition & 2 deletions battery16cell.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

[files]
interface = 'from getatod import Raw'
# logfile is location and name of file used for logging all data
logfile = '/dev/null'
# summaryfile is location and name of a summary of the data
Expand Down Expand Up @@ -94,5 +95,3 @@ displayeddelta = [ 0.0, 3.000, 3.000, 3.000, 3.000, 3.000, 3.000, 3.000, 3.000,
# if the fourth attribute is true the fith attribute will be executed
alarm = ['GPIO.setup("P8_10", GPIO.OUT)', 'test=minvolts<2.8 or maxvolts>3.60', 'GPIO.output("P8_10", GPIO.HIGH)', \
'test=minvolts>2.9 and maxvolts<3.59', 'GPIO.output("P8_10", GPIO.LOW)']


2 changes: 1 addition & 1 deletion battery1cell.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[files]
interface = 'from getatod import Raw'
logfile = 'log'
summaryfile = 'summary'
hoursummaryfile = '/dev/null'
Expand Down Expand Up @@ -48,4 +49,3 @@ displayeddelta = [ 0.0, 3.000, 3.000, 3.000, 3.000]

[alarms]
# hvc = ['GPIO.setup("P8_10", GPIO.OUT)', 3.590, 'GPIO.output("P8_10", GPIO.HIGH)', 3.600, 'GPIO.output("P8_10", GPIO.LOW)']

8 changes: 2 additions & 6 deletions battery4cell.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

[files]
interface = 'from getatod import Raw'
# logfile is location and name of file used for logging all data
logfile = '/dev/null'
# summaryfile is location and name of a summary of the data
Expand All @@ -31,7 +32,7 @@ name = 'My'
numcells = 4
capacity = 360
# coulomb losses in battery expressed as offset current
# subtracted from battery current to get adjusted ah count
# subtracted from battery current to get adjusted ah count
ahloss = 0.1
vreset = 13.8 # voltage to reset DOD counter
ireset = 9.0 # current to reset DOD counter
Expand Down Expand Up @@ -80,8 +81,3 @@ displayeddelta = [ 0.0, 3.000, 3.000, 3.000, 3.000]
# if the fourth attribute is true the fith attribute will be executed
alarm = ['GPIO.setup("P8_10", GPIO.OUT)', 'test=minvolts<2.8 or maxvolts>3.60', 'GPIO.output("P8_10", GPIO.HIGH)', \
'test=minvolts>2.9 and maxvolts<3.59', 'GPIO.output("P8_10", GPIO.LOW)']





4 changes: 1 addition & 3 deletions battery8cell.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

[files]
interface = 'from getatod import Raw'
# logfile is location and name of file used for logging all data
logfile = '/batdat/log'
# summaryfile is location and name of a summary of the data
Expand Down Expand Up @@ -86,6 +87,3 @@ displayeddelta = [ 0.0, 3.321, 3.317, 3.322, 3.312, 3.324, 3.316, 3.324, 3.324]
# if the fourth attribute is true the fith attribute will be executed
alarm = ['GPIO.setup("P8_10", GPIO.OUT)', 'test=minvolts<2.8 or maxvolts>3.60', 'GPIO.output("P8_10", GPIO.HIGH)', \
'test=minvolts>2.9 and maxvolts<3.59', 'GPIO.output("P8_10", GPIO.LOW)']



0 comments on commit c5535f6

Please sign in to comment.