- Fix #259 OverflowError
- pin paho version 2.1
- fix daly2 @patman15
- changed jk frame version detection
- Fix
NameError: name 'logger' is not defined
- Add JK Balance switch
- allow forward slash
/
in mqtt topic prefix
- fix HA install error (#175)
- fix meter expiry
- optimized sampling schedule
- add temperature noise filter
- Add Daly checksum verification (#158)
- Fix daly bms num_responses (#163)
- Ignore voltage fetch errors and continue (#163)
- Fix JK 11.x FW mos temp zero (#157)
- Copy meter states file before write
- JK fix bouncing switches
- Reduce log verbosity
- Reduce temp fetch and meter publish interval
- Cleanup error handling
- Continue on errors with pip in install_bleak
- InfluxDB add GZIP compression
this is a rather big update. I've set version num to 1.0, so it looks more tidy.
- add manufacturer to device info
- start scanner if device not discovered
- influxdb publish meters
- add additional watchdog thread (to detect event loop issues)
- incr meter integral recovery time to 10 minutes
- add unit tests
- futures pool add
acquire_timeout
- BmsSample rename
num
tonum_samples
(breaking change) - JK capture timestamps
- daly assert soc range (#158)
- import mqtt credentials from hassio service
- fix soc group bms (#155)
- sample expiry fix
- fix uptime (#157)
- fix temperature sensor discovery
- fix JK switches
- fix ANT switches
- victron fixes
- soc algo fix and assert thresholds
- Fix JK BLE characteristic handles
- Remove
influxdb
requirement and install if needed - Fix SoC for groups
- Implement down-sampler (mean)
- Initial device fetch in random order
- Fix victron sampling, add timestamp
- Add SOK Bms (initial work by @mdshw5)
- Fix battery groups with missing temperature values
- Daly enumerate services
- Add
influxdb
dependency - Implement calibration for Soc Algorithm
- fix
MQTT entity name starts with the device name
(#142)
- Fix Supvervolt voltages
- Add suppport for Supervolt BMS sending chunked strings
- Try to fetch BMS device info first (for debugging)
- Add restart loop to prevent batmon from stopping (#127)
- Fix ANT BMS cell voltages
- Add watchdog timer
- Add InfluxDB sink (undocumented)
- Fix
add_parallel
with empty temperatures
- Add ANT BMS switches (untested)
- Fix
current_calibration_factor
and energy dashboard meters - Fix mqtt names (#126)
- Add ANT BMS
- Add Supervolt BMS
- offset cell min_index max_index by +1
- MQTT: Hide empty / nan fields
- Allow nan SoC
- Minor fixes
- fix
JSON result was not a dictionary
(removejson_attributes_topic
) - Add
current_calibration
- Daly BMS: Fix bug on timeout
- 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