-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Changed: Default FLOAT_CELL_VOLTAGE from 3.350 V to 3.375 V by @mr-manuel * Changed: Default LINEAR_LIMITATION_ENABLE from False to True by @mr-manuel * Changed: Moved Bluetooth part to `reinstall-local.sh` by @mr-manuel * Changed: Renamed scripts for better reading #532 by @mr-manuel * Changed: Reworked and optimized installation scripts by @mr-manuel
- Loading branch information
Showing
26 changed files
with
810 additions
and
726 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,66 @@ | ||
# dbus-serialbattery | ||
This is a driver for VenusOS devices (any GX device sold by Victron or a Raspberry Pi running the VenusOS image). | ||
This is a driver for Venus OS devices (any GX device sold by Victron or a Raspberry Pi running the Venus OS image). | ||
|
||
The driver will communicate with a Battery Management System (BMS) that support serial communication (RS232, RS485 or TTL UART) and publish this data to the VenusOS system. The main purpose is to act as a Battery Monitor in your GX and supply State of Charge (SoC) and other values to the inverter. | ||
The driver will communicate with a Battery Management System (BMS) that support serial communication (RS232, RS485 or TTL UART) and publish this data to the Venus OS system. The main purpose is to act as a Battery Monitor in your GX and supply State Of Charge (SOC) and other values to the inverter. | ||
|
||
## Documentation | ||
Check the documenation for more informations. | ||
* [Introduction](https://louisvdw.github.io/dbus-serialbattery/) | ||
* [Features](https://louisvdw.github.io/dbus-serialbattery/general/features) | ||
* [Supported BMS](https://louisvdw.github.io/dbus-serialbattery/general/supported-bms) | ||
* [How to install](https://louisvdw.github.io/dbus-serialbattery/general/install) | ||
* [Troubleshoot](https://louisvdw.github.io/dbus-serialbattery/troubleshoot/) | ||
* [FAQ (Frequently Asked Questions)](https://louisvdw.github.io/dbus-serialbattery/troubleshoot/faq) | ||
* [BMS Types supported](https://github.com/Louisvdw/dbus-serialbattery/wiki/BMS-types-supported) | ||
* [FAQ](https://github.com/Louisvdw/dbus-serialbattery/wiki/FAQ) | ||
* [Features](https://github.com/Louisvdw/dbus-serialbattery/wiki/Features) | ||
* [How to install](https://github.com/Louisvdw/dbus-serialbattery/wiki/How-to-install) | ||
* [Troubleshoot](https://github.com/Louisvdw/dbus-serialbattery/wiki/Troubleshoot) | ||
|
||
## Supporting this project: | ||
### Supporting this project: | ||
If you find this driver helpful please considder supporting this project. You can buy me a Ko-Fi or get in contact if you would like to donate hardware. | ||
|
||
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/Z8Z73LCW1) or using [Paypal.me](https://paypal.me/innernet) | ||
|
||
## Developer Remarks | ||
### Developer Remarks | ||
To develop this project, install the requirements. This project makes use of velib_python which is pre-installed on | ||
Venus OS Devices under `/opt/victronenergy/dbus-systemcalc-py/ext/velib_python`. To use the python files locally, | ||
Venus-OS Devices under `/opt/victronenergy/dbus-systemcalc-py/ext/velib_python`. To use the python files locally, | ||
`git clone` the [velib_python](https://github.com/victronenergy/velib_python) project to velib_python and add | ||
velib_python to the `PYTHONPATH` environment variable. | ||
|
||
## How it works | ||
#### How it works | ||
* Each supported BMS needs to implement the abstract base class `Battery` from `battery.py`. | ||
* `dbus-serialbattery.py` tries to figure out the correct connected BMS by looping through all known implementations of | ||
`Battery` and executing its `test_connection()`. If this returns true, `dbus-serialbattery.py` sticks with this battery | ||
and then periodically executes `dbushelper.publish_battery()`. `publish_battery()` executes `Battery.refresh_data()` which | ||
and then periodically executes `dbushelpert.publish_battery()`. `publish_battery()` executes `Battery.refresh_data()` which | ||
updates the fields of Battery. It then publishes those fields to dbus using `dbushelper.publish_dbus()` | ||
* The Victron Device will be "controlled" by the values published on `/Info/` - namely: | ||
* `/Info/MaxChargeCurrent ` | ||
* `/Info/MaxDischargeCurrent` | ||
* `/Info/MaxChargeVoltage` | ||
* `/Info/BatteryLowVoltage` (note that Low Voltage is ignored by the system) | ||
* `/Info/BatteryLowVoltage` | ||
* `/Info/ChargeRequest` (not implemented in dbus-serialbattery) | ||
|
||
For more details on the Victron dbus interface see [the official Victron dbus documentation](https://github.com/victronenergy/venus/wiki/dbus). | ||
For more details on the victron dbus interface see [the official victron dbus documentation](https://github.com/victronenergy/venus/wiki/dbus) | ||
|
||
## Screenshots | ||
|
||
### Venus OS | ||
|
||
![VenusOS](docs/screenshots/venus-os_001.png) | ||
![VenusOS](docs/screenshots/venus-os_002.png) | ||
![VenusOS](docs/screenshots/venus-os_003.png) | ||
![VenusOS](docs/screenshots/venus-os_004.png) | ||
![VenusOS](docs/screenshots/venus-os_005.png) | ||
![VenusOS](docs/screenshots/venus-os_006.png) | ||
![VenusOS](docs/screenshots/venus-os_007.png) | ||
![VenusOS](docs/screenshots/venus-os_008.png) | ||
![VenusOS](docs/screenshots/venus-os_009.png) | ||
![VenusOS](docs/screenshots/venus-os_010.png) | ||
![VenusOS](docs/screenshots/venus-os_011.png) | ||
![VenusOS](docs/screenshots/venus-os_012.png) | ||
![VenusOS](docs/screenshots/venus-os_013.png) | ||
|
||
### VRM Portal | ||
|
||
![VenusOS](docs/screenshots/vrm-portal_001.png) | ||
![VenusOS](docs/screenshots/vrm-portal_002.png) | ||
![VenusOS](docs/screenshots/vrm-portal_003.png) | ||
![VenusOS](docs/screenshots/vrm-portal_004.png) | ||
![VenusOS](docs/screenshots/vrm-portal_005.png) | ||
![VenusOS](docs/screenshots/vrm-portal_006.png) | ||
![VenusOS](docs/screenshots/vrm-portal_007.png) | ||
![VenusOS](docs/screenshots/vrm-portal_008.png) | ||
![VenusOS](docs/screenshots/vrm-portal_009.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.