Releases: syssi/esphome-ant-bms
Releases · syssi/esphome-ant-bms
2.2.0
What's Changed
- Split UART component (old vs. new protocol) by @syssi in #69
- Increase
accuracy_decimals
of the average cell voltage sensor by @syssi in #73 - Use default icon of the device class
battery
(Closes: #74) by @syssi in #75 - Add protocol test YAML to identify the supported protocol and baud rate by @syssi in #76
- Increase maximum response size to handle up to 32 cells by @syssi in #80
- Fix lint-clang-tidy job by @syssi in #82
- Fix lint-clang-format job by @syssi in #85
- Add some more supported models by @syssi in #86
- Fix constant definition limit by @syssi in #89
- Specify OTA platform by @syssi in #93
- Fix required password length (Closes: #91) by @syssi in #92
- Validate all YAML configurations by @syssi in #94
- Improve pre-commit hooks by @syssi in #95
Full Changelog: 2.1.0...2.2.0
2.1.0
New features of this release:
- Support negative temperatures
- Bluetooth support for models using the new protocol added (preamble:
0x7e 0xa1 0x51
) - Online status / availability of the BMS is tracked now
- Bluetooth support for models using the old protocol added (preamble:
0xAA, 0x55, 0xAA
,0xA5 0xA5
,0x5A 0x5A
) - Delta cell voltage sensor added
2.0.0
This release introduces a breaking change because the ant_modbus
component was removed to simplify the strucutre of the YAML configuration. To migrate from version 1 to version 2 to have to update your YAML from:
uart:
id: uart0
baud_rate: 19200
rx_buffer_size: 384
tx_pin: ${tx_pin}
rx_pin: ${rx_pin}
ant_modbus:
id: modbus0
uart_id: uart0
ant_bms:
id: bms0
ant_modbus_id: modbus0
password: "${password}"
update_interval: 10s
supports_new_commands: true
to
uart:
id: uart0
baud_rate: 19200
rx_buffer_size: 384
tx_pin: ${tx_pin}
rx_pin: ${rx_pin}
ant_bms:
id: bms0
uart_id: uart0
password: "${password}"
update_interval: 10s
supports_new_commands: true