Skip to content

Monitor and control DYI smart battery using JBD BMS, external balancer & usb charger control, environment sensors and display.

License

Notifications You must be signed in to change notification settings

odya/esphome-smart-battery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Monitor and control DYI smart battery using JBD BMS, external balancer & usb charger control, environment sensors and display.

Topics

Resources

License

Stars

Watchers

Forks

Languages