Update reamde

This commit is contained in:
Carsten Schmiemann 2023-08-08 23:36:53 +02:00
parent c7f41413b7
commit 5abff3afa6
2 changed files with 2 additions and 6 deletions

View File

@ -37,13 +37,9 @@ I try to integrate every datapoint from Batriums BMS to fill Victrons registers.
- capacity to full or to empty is not transmitted by Batrium (transmission of 0x00111900 is missing against documentation)
- 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
- <del>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</del> fixed
- 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.
For example what means average Ah discharged. I implemented datapoints to my best knowledge and it is working for me.
# dbus-node-red-XXX Service files
### Configuration

View File

@ -138,7 +138,7 @@ class DbusBatteryService:
self._dbusservice['/History/ChargedEnergy'] = self._settings['HistoryChargedEnergy']
self._dbusservice['/History/DischargedEnergy'] = self._settings['HistoryDischargedEnergy']
self.ChargedEnergy = self._settings['HistoryChargedEnergy']
self.DischargedEnergy = self._settings['HistoryDischargedEnergy']
self.DischargedEnergy = self._settings['HistoryDischargedEnergy'] * -1
self._dbusservice.add_path('/History/TimeSinceLastFullCharge', 0)
self._dbusservice.add_path('/History/MinCellVoltage', self._settings['MinCellVoltage'])
self._dbusservice.add_path('/History/MaxCellVoltage', self._settings['MaxCellVoltage'])