Update readme for batrium

This commit is contained in:
Carsten Schmiemann 2023-06-11 01:04:46 +02:00
parent b7e585c5b7
commit f1a9eb4288
1 changed files with 29 additions and 1 deletions

View File

@ -12,10 +12,36 @@ push it to the DBUS daemon.
On victrons github pages there is documentation which formats and servicenames dbus is accepting and how it will display it on Venus' visualization and VRM portal.
## Thoughts
## Thoughts on Node RED service
It is not a perfect or efficient solution, but I want data gathering on Node Red and use only a exisiting python script to push it to Venus OS' infrastructure, because I am not an experienced python programmer, of course you can gather data directly with python.
# Batrium Native CAN protocol support
I created a dbus python script to implement Batriums Native 1.0 (and 2.0 but there are mandatory items missing) protocol, to gather more informations in Victrons OS.
A forum user started some time ago the same approach but the script was outdated and lacking of some datapoints.
I try to integrate every datapoint from Batriums BMS to fill Victrons registers.
## What is working or improved against Victron default or Pylontech emulation
- faster update rate
- transfer of most alarms (instead of only voltage low alarm)
- number of cells balancing
- time to empty or full
- capacity used
- daily stats Ah and kWh charged, discharged (calculated)
- correct transmitting of CVL (fixed with Batrium version 2.17.40.0 or downgrade to 2.17.27)
## What is not working, needs improvement
- capacity to full or to empty is not transmitted by Batrium (transmission of 0x00111900 is missing against documentation)
- Ah used and 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
### 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 time to last full, where set timestamp or what mean average Ah discharged.
# dbus-node-red-XXX Service files
### Configuration
@ -44,6 +70,8 @@ In the Python file, you should put your data points you exported with Node-RED v
`chmod +x /data/rc.local`
> **_Note:_** If you install batrium dbus script, you must install python can module, you can do it with 'requirements.sh" inside batrium-dbus folder
### Debugging
You can check the status of the service with svstat: