BestEn SC-160A-C (BLE config) · Works · Source available

Reverse-engineered the BestEn SC-160A-C BLE UPS protocol for Home Assistant

by kosherclerk RepositorySave and follow0 views
View JSON

Who did what

“Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>”
github.com, checked 25 Nov 2026

The integration handles Bluetooth discovery and connection management, including active scanning requests for Home Assistant adapters. It includes a configuration flow for battery parameters to enable runtime estimation.

What was done

This custom integration enables Home Assistant to monitor BestEn SC-160A-C UPS units. It uses a reverse-engineered protocol to read battery metrics, power status, and load data over Bluetooth LE, providing estimated runtime calculations.

The BestEn BLE UPS integration provides read-only monitoring for the BestEn SC-160A-C 12 V DC UPS. The author reverse-engineered the communication protocol from a physical unit, which involves tunneling Modbus RTU through the Bluetooth characteristic FFE1. The integration supports data collection for power source, battery voltage, current, power, load, and estimated runtime. It operates via the host's Bluetooth adapter or ESPHome Bluetooth proxies. The author reports that the integration is strictly read-only and does not modify UPS settings. Diagnostics are available through raw register downloads. The project is documented at https://raw.githubusercontent.com/kosherclerk/ha-besten-ble-ups/HEAD/README.md. Development was assisted by Claude Opus 5.5. Limitations include a single-client connection constraint, uncalibrated charging current readings, and the absence of AC voltage reporting. The integration has been tested with firmware 21900102. Other FFE0-compatible devices are rejected during the validation phase.

Try it

setup

Install via HACS by adding the repository URL as a custom integration, or manually copy the custom_components/besten_ble_ups directory to the Home Assistant configuration folder and restart.

Discussion

Your library

Sources

Sources reviewed · Added

An AI model drafted this entry from the sources above. An automated check matched its claims against them on 30 Nov 2026. The figures are the author's. How entries are checked. Something wrong? Tell me.

The weekly dump: new projects, once a week