-
Notifications
You must be signed in to change notification settings - Fork 51
Description
I have a daly BSM 4s with sinowealth and it works fine on Windows with MonitorV2.4.5.
After installing all software on linux I get an ampty JSON string as response:
root@localhost:# daly-bms-cli -d /dev/ttyUSB0 --soc --sinowealth
{}
root@localhost:# daly-bms-cli -d /dev/ttyUSB0 --sinowealth --soc
{}
With --all I get the following Error:
root@localhost# daly-bms-cli -d /dev/ttyUSB0 --sinowealth --all
Traceback (most recent call last):
File "/usr/local/bin/daly-bms-cli", line 190, in
result = bms.get_all()
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/dalybms/daly_sinowealth.py", line 240, in get_all
"errors": self.get_errors()
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/dalybms/daly_sinowealth.py", line 215, in get_errors
if response[key] == "1":
~~~~~~~~^^^^^
TypeError: 'bool' object is not subscriptable
How can I solve the problems?