Acknowledgement: Many thanks to the original developer and author of the dbus-serialbattery project. This article is based on the official project structure and technical documentation.
Original project (GitHub): mr-manuel/venus-os_dbus-serialbattery
In RVs, on boats, and in off-grid systems, more and more users want to integrate Bluetooth-enabled LiFePO₄ batteries directly into Victron Venus OS in order to monitor all system data centrally on a GX device and in the VRM portal.
This guide shows step by step how to install the dbus-serialbattery driver on a Victron GX device and how to display battery data via Bluetooth in Venus OS. The steps described are based on real-world use cases with Lithink Bluetooth LiFePO₄ batteries.
Important note: Bluetooth connections may fluctuate depending on the environment, such as distance, metal shielding, electromagnetic interference, or BLE implementation. Short-term dropouts of individual values are usually caused by the wireless connection and do not indicate a defect in the battery or BMS.
1) What Is Venus OS and What Does dbus-serialbattery Do?
Venus OS is the operating system for Victron GX devices such as Cerbo GX, Ekrano GX, or a Raspberry Pi with Venus OS installed. It collects measurement and status data from the entire energy system, including battery, inverter, chargers, and PV controllers, and displays them centrally in the Remote Console and VRM portal.
dbus-serialbattery is an additional battery driver that enables BMS data from third-party batteries to be integrated into Venus OS. This includes battery voltage, charge and discharge current, state of charge (SoC), and — depending on the specific BMS — cell voltages and temperature values.
For Bluetooth-enabled batteries, this integration is wireless via BLE. This makes the solution especially suitable for retrofits in RVs, boats, and off-grid systems where no direct serial connection is available.
2) Requirements
- Victron GX device: Cerbo GX, Ekrano GX, or a Raspberry Pi with Venus OS installed.
- Network connection: GX device and computer are on the same local network, either LAN or Wi-Fi.
- SSH / root access: Root Access must be enabled according to Victron documentation.
- Bluetooth support: The GX device has integrated or compatible Bluetooth.
- Prepared battery: The battery is switched on, Bluetooth is active, and the battery is within range of the GX device.
Practical tip: For the initial configuration, it is recommended to place the battery and GX device as close together as possible. This simplifies Bluetooth detection and reduces troubleshooting.
3) Step 1: Enable SSH and Find the IP Address
- Enable SSH: Open the Remote Console of the GX device and enable SSH access. Depending on the version, you can find this option under Settings → Services → SSH on LAN.
-
Find the IP address: Under Settings → Ethernet / Wi-Fi, the current IP address is displayed, for example
192.168.1.55. - Check root access: Make sure Root Access is configured according to the Victron instructions.
4) Step 2: Connect to the GX Device via SSH
Windows
- Tool: Install PuTTY or use Windows Terminal.
-
Connection: Enter the IP address of the GX device as the host name, port
22, protocolSSH. - Login: Log in with the root user credentials.
macOS / Linux
- Open Terminal.
- Run the SSH command:
ssh root@192.168.1.55
Replace the IP address with the one for your GX device.
5) Step 3: Install dbus-serialbattery
- Download the installation script:
wget -O /tmp/install.sh https://raw.githubusercontent.com/mr-manuel/venus-os_dbus-serialbattery/master/dbus-serialbattery/install.sh
- Run the installation script:
bash /tmp/install.sh
- Select version: In most cases, Latest release is the recommended option.
- Restart the GX device:
reboot
Note: After the restart, it may take 1–3 minutes for all services to fully start.
6) Step 4: Read the Bluetooth MAC Address of the Battery
The MAC address of the battery is required for Bluetooth integration. It will be entered into the configuration file in the next step.
- Start the Bluetooth tool:
bluetoothctl
- Enable scanning:
scan on
- Display detected devices:
devices
Example output:
Device AA:BB:CC:11:22:33 Battery-BLE
-
Note the MAC address: for example
AA:BB:CC:11:22:33. - Stop scanning:
scan off
quit
Important: If the battery is connected to a smartphone app at the same time, detection on the GX device may be affected. For setup, it is recommended to temporarily disconnect the phone connection.
7) Step 5: Create config.ini and Configure Bluetooth
The driver uses the config.ini file. The first line must be exactly [DEFAULT]; otherwise, the configuration will not be loaded correctly.
7.1 Open config.ini
nano /data/apps/dbus-serialbattery/config.ini
7.2 Minimal Bluetooth Configuration
[DEFAULT]
BLUETOOTH_BMS = <DriverName> AA:BB:CC:11:22:33
The correct driver name can be found in the following file:
/data/apps/dbus-serialbattery/config.default.ini
7.3 Save and Close
- Save: Ctrl + O, then Enter.
- Exit: Ctrl + X.
Typical error: If the [DEFAULT] section is missing or misspelled, the driver will not start correctly.
8) Step 6: Enable Services and Restart the Driver
- Run the enable script:
bash /data/apps/dbus-serialbattery/enable.sh
- Restart the driver:
bash /data/apps/dbus-serialbattery/restart.sh
- Optional: When changing BLUETOOTH_BMS, a restart is recommended:
reboot
9) Step 7: Display the Battery in Venus OS
- Open Remote Console.
- Under Settings → System setup, select the Battery Monitor.
- After successful setup, an entry from dbus-serialbattery appears with the current battery values.
Which values are displayed depends on the data provided by the BMS.
10) Troubleshooting
Problem A: Battery Is Not Displayed
- Check the MAC address.
- Compare the driver name with config.default.ini.
- Reduce the distance between the battery and the GX device.
- Run enable.sh, restart.sh, and reboot again.
Problem B: Bluetooth Scan Finds No Devices
- Is the battery switched on and Bluetooth active?
- Disconnect smartphone Bluetooth.
- Start the scan again.
Problem C: Values Drop Out Sporadically
- Check the Bluetooth environment.
- Avoid parallel connections.
- Restart the GX device or driver.
11) Notes for Lithink Bluetooth Batteries
In practice, stable integration depends not only on the software but also on the BMS design of the battery.
Lithink Bluetooth LiFePO₄ batteries are designed to work with clear data structures and stable factory settings. In Victron Venus OS, they can usually be integrated without extensive adjustments.
- Factory-configured BMS parameters for RV and off-grid applications
- Bluetooth data structure compatible with dbus-serialbattery
- No repeated manual BMS adjustments required
- Stable data updates with a single connection
For initial setup, it is recommended to connect only the GX device to the battery and use smartphone apps only after successful integration.
Acknowledgement
Many thanks to the original developer of dbus-serialbattery for providing this open and expandable project.
GitHub project: mr-manuel/venus-os_dbus-serialbattery

Share:
LiFePO4 in Cold Weather: Safe RV Battery Charging & Discharging
Monitor Lithink Bluetooth LiFePO4 Batteries in Home Assistant