syssi / esphome-jk-bms

ESPHome component to monitor and control a Jikong Battery Management System (JK-BMS) via UART-TTL or BLE
Apache License 2.0
474 stars 161 forks source link

Add a hybrid communication (BLE + UART) example #262

Closed syssi closed 1 year ago

syssi commented 1 year ago

...to get the best of both worlds

The UART interface (jk_bms component) is used to retrieve data periodically. The BLE client connection can be used to change settings or turn off charging/discharging. To disconnect/suspend the BLE connection the enable bluetooth connection can be turned off.

See https://github.com/syssi/esphome-jk-bms/discussions/261