- Added handling exceptions
- Added new fields to response:
error_code
- different from zero means errorerror_message
- human readable error message error_code
added as exit code of script- Added variable
dischargeSwitchState
- state of internal bluetooth controlled discharge switch
- Fixed rounding of the calculated
watt
variable to two digits - Fixed detection of cells amount and voltage
- Fixed issue with negative temperature of sensors (thanks @nopeee535)
SOC
andSOH
variables changed to integer, without percentage string- Changed parsing
heat
variable to hex - Updated minor version of
dbus-fast
library
- Added
--timeout
option for setting timeout in seconds for bluetooth device communication
- Updated minor versions of
bleak
anddbus-fast
libraries
- Added calculated signed
watt
variable - Added human readable battery status variables:
battery_status
,balance_status
,cell_status
- Variables
heat
,protectState
,failureState
changed to type list
- Variable
remianAh
changed toremainAh
(typo fix) - Fixed parsing
current
value, with output in ampere - Minor typo fixes
- Added
--pair
option for pairing \ unpairing with devices
Initial version.