<!-- Canonical page: https://reversedwithai.com/p/besten-sc-160a-c-ble-config-535898bb -->
Canonical page: https://reversedwithai.com/p/besten-sc-160a-c-ble-config-535898bb

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

> A read-only Home Assistant integration for BestEn 12V DC UPS units via Bluetooth LE.

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.

## Key facts

- Target: BestEn SC-160A-C (BLE config)
- Category: APIs and protocols
- Platform: Home Assistant
- Models: Claude
- Tools: pytest, bleak, bleak-retry-connector
- Outcome: Works
- Checks: Source available: not reported; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: kosherclerk
- Added: 2026-11-28
- Updated: 2026-11-28
- Sources reviewed: 2026-11-30 (automated reviewer)

## What was done

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.

## Human work and limitations

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.

## Reproduce it

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.

## AI use in the original source

- "Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>" ([source](https://github.com/kosherclerk/ha-besten-ble-ups/commits.atom))

Excerpts checked against the source on 2026-11-25.

## Sources

- [Repository](https://github.com/kosherclerk/ha-besten-ble-ups)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: kosherclerk (2026). Reverse-engineered the BestEn SC-160A-C BLE UPS protocol for Home Assistant. Reversed with AI. https://reversedwithai.com/p/besten-sc-160a-c-ble-config-535898bb
