Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 2.33 KB

README.md

File metadata and controls

35 lines (29 loc) · 2.33 KB

esphome-smart-battery

Control DIY smart battery using JBD BMS, external balancer. Monitor it with environment sensors and display.

Project logo

Features

  • Grabs all BMS parameters by bluetooth and transfers it into Home Assistant
  • Auto balance with external balancer with flexible logic setup
  • Separate screen with button on battery case
  • Fancy card for lovelace
  • Adjusted SoC calculation

Hardware

Detailed hardware description

Software

  1. Create new project subdirectory within your ESPHome configuration directory (let it be smart-battery, for example)
  2. Copy the contents of the src repo folder to a newly created project directory.
  3. Now, the main.yaml file must be located under <esphome_config>/smart-battery
  4. Create file smart-battery.yaml in the esphome config directory root and copy contents of example config
  5. Edit substitutions & customize smart-battery.yaml. You can add contents of common_system & common_sensors to this file or include them separately following the example.
  6. Flash firmware to your ESP32

Battery card

For easy battery control in Home Assistant, you can use the following snippet. It compiles all the essential battery sensors and controls in a compact manner. The following custom plugins are used: bar-card, stack-in-card, tabbed-card, text-divider-row, canary.

Battery card tab1 screenshot Battery card tab2 screenshot Battery card tab3 screenshot

References & thanks