Hello everyone,
I am trying to integrate a Tianpower Battery Management System (BMS) with ESPHome using the external component from syssi/esphome-tianpower-bms.
Current configuration
substitutions:
external_components_source: github://syssi/esphome-tianpower-bms@main
name: esphome-web-568b34
mac_address: 2C:C6:82:77:40:5C
esphome:
name: ${name}
friendly_name: Esp32 Basen
min_version: 2025.10.3
project:
name: "syssi.esphome-tianpower-bms"
version: 2.0.0
esp32:
board: esp32dev
framework:
type: arduino
external_components:
- source: ${external_components_source}
refresh: 0s
logger:
level: VERY_VERBOSE
api:
reboot_timeout: 0s
ota:
platform: esphome
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
esp32_ble_tracker:
ble_client:
- mac_address: ${mac_address}
id: client0
tianpower_bms_ble:
- ble_client_id: client0
id: bms0
update_interval: 10s
- The ESP connects correctly to Wi‑Fi and responds via OTA.
- The api: section is enabled without encryption (reboot_timeout: 0s).
- Port 6053 does not respond: Home Assistant cannot connect via API.
- Serial logs show no obvious errors, but it seems the firmware enters safe mode or BLE prevents the API from starting.
- With a minimal firmware (Wi‑Fi + API + OTA only), port 6053 opens normally, so the issue appears related to the BLE/Tianpower component.