BLUETTI Modbus
The BLUETTI Modbus integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] connects Home Assistant to your BLUETTI power station over your own network, using the Modbus TCP interface built into the device. There is no account, no API key, and no cloud service involved, so your readings keep arriving in Home Assistant even when your internet connection or the BLUETTI cloud service is down.
Supported devices
This integration has been tested with, or reported to work on, the following power stations:
- Balco 260
During setup, the integration checks the model the device reports and refuses any other.
Modbus TCP is available on devices that have a network connection. If you cannot find the setting on your device, updating its firmware usually adds it.
Prerequisites
Modbus TCP is turned off by default, so you need to enable it on the device itself first, through its built-in local web server. Depending on the device’s firmware and local network security requirements, you may need to activate the web server first.
Modbus TCP support is only available on some device models and firmware versions. If you cannot find these settings, your device does not support this yet.
- Make sure the computer you are using is on the same network as the device.
- Find the device’s IP address on the network configuration page of the BLUETTI app.
- Open that IP address in a browser to reach the device’s local web page.
- Sign in. The username is
admin; the password is the device’s Bluetooth password set in the BLUETTI app, or blank if you never set one. It is not your BLUETTI account password. - Go to Settings > Modbus TCP, turn on Enable, set Port to
502, and select Settings to save.
You also need the hostname or IP address of the device on your network. Giving the device a fixed address in your router keeps Home Assistant pointed at the right one.
Configuration
To add the BLUETTI Modbus device to your Home Assistant instance, use this My button:
Manual configuration steps
If the above My button doesn’t work, you can also perform the following steps manually:
-
Browse to your Home Assistant instance.
-
In the bottom right corner, select the
Add Integration button. -
From the list, select BLUETTI Modbus.
-
Follow the instructions on screen to complete the setup.
You change the host, port, or device ID later, for example after your power station gets a new IP address. Go to Settings > Devices & services. From the listed integrations, select BLUETTI Modbus, select Menu
Supported functionality
Your power station is added as a single device.
Sensors
- Battery voltage: The battery’s voltage.
- Battery current: The battery’s current. The device only reports its magnitude, so it reads the same whether the battery is charging or discharging.
- Battery SoC: The battery’s present charge level.
- Total battery charged energy, Total battery discharged energy: Lifetime battery energy counters, in Wh.
- AC output power, AC output voltage, AC output current, Total AC output energy: What the device is feeding to AC loads.
- PV 1 input voltage, PV 1 input current, PV 1 input power, and the same for PV 2 to PV 4: Each of the four solar inputs (MPPT trackers). An input with no panel connected reads 0.
- PV AC power, PV AC energy, Total PV input power, Total PV input energy: Combined solar production.
- Grid frequency, Grid voltage, Grid current, Grid input power: What the device reads from the grid.
- Total grid import energy, Total grid export energy: Lifetime grid energy counters, where the device reports them.
- Inverter status: The inverter’s current status.
- Inverter voltage, Inverter current, Total inverter power: The inverter’s output. The power is negative while the inverter charges the battery.
The following are added as diagnostic entities: Battery SoH, Battery cycle count, Cell count, Temperature sensor count, Inverter count, PV 1 input type to PV 4 input type, DC PV input count.
The device’s charge limits (max charge / min discharge SoC) and its AC output, grid charging, and grid feed-in switches are not exposed by this integration yet, not even as read-only entities. See Known limitations for the full list.
The device page links to the power station’s own web interface. The serial number appears on the device’s info page too, alongside the ARM, DSP, and IoT module firmware versions (Settings > Devices & services, select the integration entry, then the device) - neither is a sensor.
Data updates
The BLUETTI Modbus integration pollsData polling is the process of querying a device or service at regular intervals to check for updates or retrieve data. By defining a custom polling interval, you can control how frequently your system checks for new data, which can help optimize performance and reduce unnecessary network traffic. [Learn more] the device every 15 seconds. This device’s Modbus TCP interface has been found to become unresponsive when polled more often, so the interval is not configurable.
Home Assistant keeps one Modbus connection per address and shares it between the integrations that use it. If the device does not answer a poll, its entitiesAn entity represents a sensor, actor, or function in Home Assistant. Entities are used to monitor physical properties or to control other entities. An entity is usually part of a device or a service. [Learn more] become unavailable. Home Assistant does not keep showing the last known reading as if it were current.
Known limitations
Controls and sensors
- Only sensors are provided by this integration today. The writable settings (AC output, grid charging, grid feed-in), the charge limit values, and the fault/warning bits as proper binary sensors are not available yet.
Battery packs
- The battery pack summary (charge level and state of health across all packs, the pack count, the battery status, and the time to full or empty) is not available yet, and neither are BC260 expansion packs.
Phase measurements
- Grid, AC output, and inverter voltage and current are only provided for the first phase.
Connection management
- The device is not discovered automatically yet; add it by its address.
- Home Assistant identifies the device by its serial number: if the address ends up reassigned to a different physical unit, entities go unavailable instead of silently showing the wrong device’s data, and the Home Assistant log says why.
- A device accepts a limited number of Modbus TCP connections at the same time. If another system on your network already polls the device, Home Assistant may not be able to connect.
Troubleshooting
The device cannot be reached
If setup or a later poll cannot reach the device, work through the following steps:
- Make sure the device is powered on and reachable on your network, for example by looking it up in your router.
- Check that Modbus TCP is still enabled on the device.
- Check the port. BLUETTI uses
502by default. - Check whether another system is already polling the device, and stop it while you test.
Entities are unavailable for a short time
About once an hour, the device drops its Modbus connection or answers a request with a damaged reply. The integration retries at once and reconnects if needed. If that still fails, the entities show as unavailable until the next poll, 15 seconds later. No action is needed.
The device is not a supported model
Setup stops with this error when the device at that address does not report itself as a Balco 260. Check the address and device ID, and see Supported devices.
The device reports no serial number
Setup stops with this error when the device answers but reports no serial number, which Home Assistant needs to tell your power station apart from any other. Restart the power station and try again.
A different device answers at the address
Symptom: The entities are unavailable and the log mentions a different device
The entities of this entry are unavailable, and the Home Assistant log says a different device answers at the address.
Description
Home Assistant recognizes your power station by its serial number, not by its address. The power station this entry was set up for has moved or been replaced, and another device now answers at its address. The entities stay unavailable until the power station answers at that address again.
Resolution
- Find the new address of your power station, for example by looking it up in your router.
- Go to Settings > Devices & services.
- From the listed integrations, select BLUETTI Modbus, select Menu
and then Reconfigure. - Enter the new address, and select Submit.
Reconfiguring reports a different serial number
Symptom: “The power station at this address has a different serial number than expected. Make sure you enter the address for the correct power station.”
When you reconfigure the entry, the flow stops with this error.
Description
Home Assistant recognizes your power station by its serial number, not by its address. The power station answering at the new address is not the one this entry was set up for.
Resolution
- Check that you entered the address and device ID of the right power station.
- To add a different power station, set it up as a new entry instead.
Removing the integration
This integration follows standard integration removal. No extra steps are required.
To remove an integration instance from Home Assistant
- Go to Settings > Devices & services and select the integration card.
- Next to the entry you want to remove, select the three dots
menu. Then, select Delete. - Depending on the integration, the entries are listed under one of the following headings:
- Devices
- Hubs
- Services
- Integration entries
- Depending on the integration, the entries are listed under one of the following headings:
- To confirm, select Delete.
- Home Assistant also deletes the devices and entities of the entry.
- If Home Assistant asks you to restart, restart Home Assistant.
- If Home Assistant asks whether to also delete the application credentials, select Remove or Keep.
- If you keep them, Home Assistant uses them automatically when you add the integration again.
- To delete them later, refer to Deleting application credentials.
The Modbus TCP setting stays enabled on the device. You can turn it off in the device’s own settings if nothing else uses it.