Skip to content

Repository files navigation

Battery Monitor BM6 Integration

GitHub LicenseGitHub ReleaseGitHub Release DateGitHub Issues or Pull Requestshacs_badgeGitHub Repo stars

This custom component for Home Assistant to reads BLE Car Battery Monitor BM6.

About

IconThis is an integration that allows you to observe BM6 parameters on the Home Assistant platform. BM6 is monitored via a Bluetooth gateway, and its parameters such as temperature, voltage, percent, state are saved as entities by the HA platform.

This integration allows you to add any number of such devices.
BM6

⚠️ Warning! The author is not responsible for any damages related to the use of this integration. You use this integration at your own risk and responsibility.

Installation

Before installing this integration, you must have HACS integration installed first. Select 'HACS' (usual on the left bar), add then choose from menu 'Custom repositories' (on top at right). Put the address https://github.com/Rafciq/BM6 at first and select repository type 'Integration' choose 'ADD'. Now you can add BM6 devices.

Configuration

Go to "Settings', next 'Devices & services', select 'Integration' and use 'ADD INTEGRATION'

In the configuration process, you need to provide some information. This includes the battery voltage, type, method of calculating its condition or percentage. You can also specify the intervals at which data should be downloaded from the BM6 device. You can also correct the temperature and voltage provided by the BM6 device by providing their offset. It is also possible to change the temperature unit.

Battery Voltage supported

  • 6 Volts
  • 12 Volts
  • Custom from device voltage 6-20V

Battery Types supported

  • Flooded Lead-Acid (FLA)
  • Absorbent Glass Mat (AGM)
  • Gel Cell (GEL)
  • Nickel-Cadmium (NiCd)
  • Nickel-Metal Hydride (NiMH)
  • Lithium-Ion (Li-Ion)
  • Lithium Iron Phosphate (LiFePO4)
  • Lithium Titanate (LTO)
  • Custom Battery - defined by user.

Battery States and Percentage

Algorithms of battery status

To calculate percentage of battery power and actual state, integration use algorithm configured by user.

  • Calculated by BM6 Device (integration get information from BM6 device)
  • Calculated using State of Charge/Discharge (SoC/SoD)
  • Calculated using Charge/Discharge Voltage Range (CVR/DVR)

States of battery

Each BM6 device have one calculated sensor presents actual battery state. It can take one of these values. Availability of this states is depending of used algorithms.

State nameFrom BM6CalculatedDescription
OkXBattery state Ok (1)
Low VoltageXLow voltage (1)
Under VoltageXVoltage is under minimum of SoD or DVR
DischargingXCharging process, voltage is between minimum and maximum of SoD or DVR
IdleXIdle state, voltage is between maximum SoD or DVR and minimum of SoC or CVR
ChargingXXCharging process, voltage is between minimum and maximum of SoC or CVR
Over VoltageXVoltage is over maximum of SoC or CVR
(1) - Only the BM6 manufacturer knows the details

Integration Sensors

  • Sensor 'Temperature' it presents temperature measure by BM6 device. Value can by calibrated at integration configuration time.
  • Sensor 'Voltage' it presents battery voltage measure by BM6 device. Value can by calibrated too.
  • Sensor 'State' calculates the hypothetical battery state from the actual device voltage. Calculation can use parameters of battery configuration or can be get directly from BM6 device.
  • Sensor 'Percent' calculates the hypothetical charge or discharge percentage of the battery using one of these algorithms

Diagnostic Sensors

  • Sensor 'Signal Strength (RSSI)' - signal strength reported by Bluetooth gateway.
  • Sensor 'Percentage by device' - percentage value reported directly from BM6 device.
  • Sensor 'State by device' - battery state reported directly from BM6 device. Only 'Ok', 'Low Voltage' and 'Charging'.
  • Sensor 'Bluetooth scanner' - name and address of Bluetooth scanner/gateway who interact with BM6 device

Triggers

Triggers availability is depending on choose algorithm at configuration time. Their behavior corresponds to the change of the value 'State' sensor.

NameFrom BM6Calculated
Started OK stateX
Started Low Voltage stateX
Under VoltageX
Started DischargingX
Started IdleX
Started ChargingXX
Over VoltageX
State ChangedXX

Known Issues:

  • BM6 device is unresponsive or not visible. It is likely that BM6 device cannot connect to multiple other devices at the same time. If you have a mobile app for BM6 running, your integration may not be able to connect to BM6 device at the same time.

Device Hardware BM6

The Battery Monitor BM6 is a device designed to help you keep track of your car battery's health and performance. Here are some key features:

  • Real-time Voltage Monitoring: It allows you to monitor the voltage of your car battery in real-time.
  • Battery Testing: You can test the starting and charging system voltage to ensure your battery is functioning properly.
  • Data Logging: The device can accurately record the time of car starting and stopping, and all data can be displayed on your mobile phone via Bluetooth.
  • Compatibility: The BM6 is compatible with most 12V car batteries and can be easily installed in your vehicle.
  • Bluetooth Connectivity: It connects to your smartphone via Bluetooth, allowing you to monitor your battery's health and performance in real-time.

Battery Monitor BM6 is also available under other names:

  • Sealey BT2020 Battery Monitor
  • ANCEL BM200 Car Battery Tester
  • QUICKLYNKS Battery Monitor BM6

Languages

The integration has been automatically translated into several languages:

Image Albanian, Image Croatian, Image Czech, Image Danish, Image Dutch, Image English, Image Finnish, Image French, Image German, Image Greek, Image Hungarian, Image Icelandic, Image Irish, Image Italian, Image Latvian, Image Lithuanian, Image Macedonian, Image Maltese, Image Norwegian, Image Polish, Image Portuguese, Image Romanian, Image Serbian, Image Slovak, Image Slovenian, Image Spanish, Image Swedish, Image Turkish, Image Ukrainian

If you would like to correct any of them, please create an issue.

Thanks

This project is inspired and based on the hard work of other people and their publications:

Batteries information

Types of batteries:

Lead-Acid Batteries:

Flooded Lead-Acid Battery: FLA

Battery TypeDVRCVRSoDSoC
6V5.8-6.3V6.8-7.2V5.8-6.0V6.0-6.3V
12V10.5-12.7V13.8-14.4V10.5-12.0V12.0-12.7V

Sealed Lead-Acid Battery (VRLA):

Absorbent Glass Mat: AGM
Battery TypeDVRCVRSoDSoC
6V5.8-6.3V6.8-7.2V5.8-6.0V6.0-6.3V
12V10.5-12.6V14.4-14.7V10.5-12.0V12.0-12.6V
Gel Cell: Gel
Battery TypeDVRCVRSoDSoC
6V5.8-6.3V6.8-7.2V5.8-6.0V6.0-6.3V
12V10.5-12.6V13.8-14.4V10.5-12.0V12.0-12.6V

Nickel-Based Batteries

Nickel-Cadmium: NiCd

Battery TypeDVRCVRSoDSoC
6V5.4-6.0V6.8-7.2V5.4-5.8V5.8-6.0V
12V10.8-12.0V13.6-14.4V10.8-11.5V11.5-12.0V

Nickel-Metal Hydride: NiMH

Battery TypeDVRCVRSoDSoC
6V5.4-6.0V6.8-7.2V5.4-5.8V5.8-6.0V
12V10.8-12.0V13.6-14.4V10.8-11.5V11.5-12.0V

Lithium-Based Batteries

Lithium-Ion: Li-Ion

Battery TypeDVRCVRSoDSoC
6V6.0-7.2V7.0-7.2V6.0-6.5V6.5-7.2V
12V10.0-13.5V14.4-14.6V10.0-12.0V12.0-13.5V

Lithium Iron Phosphate: LiFePO4

Battery TypeDVRCVRSoDSoC
12V12.0-13.5V14.6-15.0V12.0-13.0V13.0-13.5V

Lithium Titanate: LTO

Battery TypeDVRCVRSoDSoC
6V5.4-6.6V6.0-6.6V5.4-6.0V6.0-6.6V
12V10.8-13.2V12.0-13.2V10.8-12.0V12.0-13.2V

Shortcuts of battery process states:

  • DVR = Discharging Voltage Range
  • CVR = Charging Voltage Range
  • SoC = State of Charge
  • SoD = State of Discharge

Images of Device

ImageImageImage

About

Home Assistant integration for Battery Monitor BM6

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages