Skip to content

Commit

Permalink
Renogy fixes (#225)
Browse files Browse the repository at this point in the history
* Add support for Renogy RBT100LFP12SH (#205)

May have fixed incorrectly reporting of total and current amp hours
for other Renogy batteries as well.

* handle read only FS
* v0.13

Co-authored-by: Johan Anderholm <[email protected]>
  • Loading branch information
Louisvdw and janderholm authored Sep 30, 2022
1 parent b831e5e commit 6393e76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions etc/dbus-serialbattery/reinstalllocal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ DRIVER=/opt/victronenergy/dbus-serialbattery
RUN=/opt/victronenergy/service-templates/dbus-serialbattery
OLD=/opt/victronenergy/service/dbus-serialbattery

#/dev/mmcblk1p3 mountpoint / was made read only in 2.91 release
mount -o remount,rw /dev/mmcblk1p3 /
#handle read only mounts
sh /opt/victronenergy/swupdate-scripts/remount-rw.sh

if [ -d "$DRIVER" ]; then
if [ -L "$DRIVER" ]; then
Expand Down
4 changes: 2 additions & 2 deletions etc/dbus-serialbattery/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
logger.setLevel(logging.INFO)

# Constants - Need to dynamically get them in future
DRIVER_VERSION = 0.12
DRIVER_SUBVERSION = '~4'
DRIVER_VERSION = 0.13
DRIVER_SUBVERSION = ''
zero_char = chr(48)
degree_sign = u'\N{DEGREE SIGN}'
# Cell min/max voltages - used with the cell count to get the min/max battery voltage
Expand Down

0 comments on commit 6393e76

Please sign in to comment.