- Add option
bt_power_cycle
to power cycle the Bluetooth hardware on start-up - Add info about bleak version and BMS device info on failures
- Fix
InvalidStateError
- Fix
adapter
setting being ignored - Strip spaces from BMS name for MQTT topics
- Parse port number from MQTT host
Due to a mistake with git branching, I pushed this update multiple times (v0.0.60, v0.0.61).
-
Add
num_cycles
-
Add cell voltage statistics
min
,max
,delta
,average
,median
,min_i
,max_i
-
Add Algorithms feature (experimental) doc
-
Add BMS Groups (experimental) doc
-
Increase JBD timeout
-
Fix mqtt topic names (remove whitespaces)
-
Fix initializing meter states
-
Fix JK charge/discharge switches
-
Fix JK
Multiple Characteristics with this UUID
error #83 -
Fix
bleak.exc.BleakError: Not connected
#85
- Fix JBD charge/discharge switch
- Change warning if meter states file not found
- Add apparmor.txt @MariusHerget
- Fix pin pairing (Victron SmartShunt)
- Fix circular import
- Fix main loop exception handling and possible watchdog issue
- Change Daly connecting code to use BT scanner
- Add HA Energy Dashboard support
- Add
adapter
option to choose the BT hardware adapter
- Victron SmartShunt GATT notify
- Add dummy JBD device for testing
- Timestamps in logs
- Total cycle meter
- Fix Daly bug
- Fix Victron SmartShunt pairing
- Fix meters
- Fix JK connection bug
- Device name now includes alias
- Add support for JK 11.x firmware
- Add dummy JBD device for testing
- Fix JBD unsigned values (negative capacity)
- Add dummy JK device for testing
- Add Daly num_cycles
- Fix debug log on error
- Fix BLE discovery with empty device names
- Fix JK soc issue (now using SoC the BMS provides instead of computing it)
- Option
expire_values_after
- Option
publish_period
- Log BMS debug data on failure
- Energy meters using trapezoidal power integrators
- Serially install apk packages for error tracking
- Switch states have now class
power
- fix
float division by zero
- Dummy BMS now reports AC current
- Fix spinning loop in
background_loop
causing high CPU usage
- Add charge/discharge switches for JK, JBD and Daly
- Add watchdog option (disable to prevent program exit on too many errors)
- Add dummy BMS for testing
- Add JK BMS uptime readout
- Sensor value now use availability status so status expires when BMS is not available
- Fix zero negative current
- Set Keep alive and invert_current default value to true
- Fix Daly zero SoC issue
- Fix JK current direction
- Add
fetch_device_info
- Add Icons for some sensors
- Fix MQTT connection timeout
- JK protocol fix
- Daly fix
Characteristic with UUID 17 could not be found
- Fix number rounding
- JK try simple connect before scanning
- Periodically send MQTT sensor discovery messages
- Add capacity sensor
- Added user option
invert_current
to change the direction of battery current
- Fixed
already waiting
error - Increase max_errors before exit to 40
- Support for multiple BMS
- Added cycle_capacity
- Changed options schema for MAC addresses. You need to re-enter all addresses after the update. The new schema allows adding multiple BMS of the same type.
- JK use nominal capacity instead of user-set capacity
- Support for JK-BMS (Jikong) using JK02 protocol