Skip to content
This repository was archived by the owner on Jan 25, 2026. It is now read-only.
This repository was archived by the owner on Jan 25, 2026. It is now read-only.

Empty JSON String #54

Description

@FrankM70

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions