Fix small typos

This commit is contained in:
Carsten Schmiemann 2023-06-12 21:58:42 +02:00
parent b4ca37a514
commit 81fb48fd61
3 changed files with 4 additions and 5 deletions

View File

@ -38,7 +38,7 @@ I try to integrate every datapoint from Batriums BMS to fill Victrons registers.
- Ah, kWh charged and discharged is calcualated by script (see above)
- Capacity of battery must be entered into script batrium.py (see above)
- dbus script is started by rc.local which gets executed last, so all mppts and multiplus' showing temporarily "BMS missing" and need to be cleared after (re-)boot of Venus OS
- include calculation of State Of Health, based on Ah discharge and SoC State after full charge, becuase Batrium does not have
- include calculation of State Of Health, based on Ah discharge and SoC State after full charge, because Batrium does not have
### Victrons datapoints
This script will emulate one of Victrons own BMS, therefore are many registers to fill, but I dont know how to fill all.

View File

@ -171,7 +171,7 @@ def main():
bat = BatriumBattery(connection='can1')
listeners = [
#logger, # CAN raw data logging
#logger, # CAN raw data logging
bat
]

View File

@ -329,7 +329,7 @@ class DbusBatteryService:
def main():
## Cli parser to set interface and for debbuging purposes
parser = ArgumentParser(description='dbus_batrium', add_help=True)
parser = ArgumentParser(description='dbus-batrium-native integration', add_help=True)
parser.add_argument('-d', '--debug', help='enable debug logging', action='store_true')
parser.add_argument('-i', '--interface', help='CAN interface')
parser.add_argument('-p', '--print', help='print only')
@ -348,8 +348,7 @@ def main():
logging.info('No CAN interface specified, using default can0')
args.interface = 'can0'
logging.info('Starting dbus-batrium-native integration %s on %s ' %
(VERSION, args.interface))
logging.info('Starting dbus-batrium-native integration %s on %s ' % (VERSION, args.interface))
from dbus.mainloop.glib import DBusGMainLoop
# Have a mainloop, so we can send/receive asynchronous calls to and from dbus