Skip to content

Commit

Permalink
Merge pull request Louisvdw#810 from mr-manuel/dev
Browse files Browse the repository at this point in the history
Changes 2023.09.19
  • Loading branch information
mr-manuel committed Sep 19, 2023
2 parents 88274bf + 81c20ff commit 4c2b89c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 2 additions & 3 deletions etc/dbus-serialbattery/bms/mnb.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

# # MNB is disabled by default
# can be enabled by specifying it in the BMS_TYPE setting in the "config.ini"
# https://github.com/Louisvdw/dbus-serialbattery/commit/65241cbff36feb861ff43dbbcfb2b495f14a01ce
# remove duplicate MNB lines
# https://github.com/Louisvdw/dbus-serialbattery/commit/23afec33c2fd87fd4d4c53516f0a25f290643c82
# https://github.com/Louisvdw/dbus-serialbattery/issues/590
# https://community.victronenergy.com/comments/231924/view.html

from battery import Protection, Battery, Cell
from utils import logger
Expand Down
3 changes: 3 additions & 0 deletions etc/dbus-serialbattery/dbus-serialbattery.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@


def main():
# NameError: free variable 'expected_bms_types' referenced before assignment in enclosing scope
global expected_bms_types

def poll_battery(loop):
helper.publish_battery(loop)
return True
Expand Down
2 changes: 1 addition & 1 deletion etc/dbus-serialbattery/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def _get_list_from_config(


# Constants
DRIVER_VERSION = "1.0.20230917dev"
DRIVER_VERSION = "1.0.20230919dev"
zero_char = chr(48)
degree_sign = "\N{DEGREE SIGN}"

Expand Down

0 comments on commit 4c2b89c

Please sign in to comment.