Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

100balance BMS #264

Open
as4tik opened this issue Nov 22, 2024 · 2 comments
Open

100balance BMS #264

as4tik opened this issue Nov 22, 2024 · 2 comments

Comments

@as4tik
Copy link

as4tik commented Nov 22, 2024

Problem statement

There is a one more type similar to daly BMS, but sold as another brand.

Other points

  • Include exact BMS model name: "100balance" BMS 8-18s 200A with WiFi and Bluetooth
  • Query HW and SW numbers from the BMS app: not sure, where I could take it
  • Enable verbose_log: not sure, where I could take it
Paste log output between BEGIN and END:
BEGIN 

END
@argulp
Copy link

argulp commented Dec 7, 2024

Hello,
I'm not able to use batmon to monitor this BMS (in my case 100balance 80A 8-18s)

I have attached the logs, it seems the "protocol" have changed a little bit, but I can still using the daly android app to monitor this bms, thank you for your wonderfull jobs !

2af0a32d_batmon_2024-12-07T10-27-01.783Z.log

@KoroVaik
Copy link

I have the same question regarding 100balance BMS.

Daly 100balance 4-8s bt can wifi, 250A
Battery serial number: R24TS1A-8S250A
Software version: 60_240816_01T2
SN code: 227JJ120100084

20:47:03 INFO [sampling] connected bms DalyBt(50:18:11:01:A0:2E,battery1)! 20:47:15 ERROR [sampling] battery1 error (#1): timeout awaiting result 93, got 0/1 responses Traceback (most recent call last): File "/usr/lib/python3.12/asyncio/tasks.py", line 520, in wait_for return await fut ^^^^^^^^^ asyncio.exceptions.CancelledError The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/app/bmslib/__init__.py", line 81, in wait_for return await asyncio.wait_for(self._futures.get(name), timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/asyncio/tasks.py", line 519, in wait_for async with timeouts.timeout(timeout): ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/asyncio/timeouts.py", line 115, in __aexit__ raise TimeoutError from exc_val TimeoutError During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/bmslib/models/daly.py", line 166, in _q sample = await self._fetch_futures.wait_for(command, self.TIMEOUT) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/bmslib/__init__.py", line 84, in wait_for raise asyncio.TimeoutError("timeout waiting for %s" % name) TimeoutError: timeout waiting for 147 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/bmslib/sampling.py", line 155, in __call__ s = await self._sample_inner() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/bmslib/sampling.py", line 237, in _sample_inner sample = await bms.fetch() ^^^^^^^^^^^^^^^^^ File "/app/bmslib/models/daly.py", line 187, in fetch status = await self._fetch_status() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/bmslib/cache/mem.py", line 160, in _mem_cache_wrapper_async return await _inner_wrapper_async(cache_key_obj, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/bmslib/cache/mem.py", line 131, in _inner_wrapper_async ret = await target(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/bmslib/models/daly.py", line 224, in _fetch_status response_data = await self._q(0x93) ^^^^^^^^^^^^^^^^^^^ File "/app/bmslib/models/daly.py", line 169, in _q raise TimeoutError( TimeoutError: timeout awaiting result 93, got 0/1 responses 20:47:15 INFO [sampling] battery1 bms debug data: {'r': None, 'buf': {}, 'rx': '0000fff1-0000-1000-8000-00805f9b34fb', 'tx': '0000fff2-0000-1000-8000-00805f9b34fb'} 20:47:15 INFO [sampling] Bleak version 0.13.1a1 20:47:28 ERROR [sampling] battery1 error (#2): timeout awaiting result 93, got 0/1 responses Traceback (most recent call last): File "/usr/lib/python3.12/asyncio/tasks.py", line 520, in wait_for return await fut ^^^^^^^^^ asyncio.exceptions.CancelledError The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/app/bmslib/__init__.py", line 81, in wait_for return await asyncio.wait_for(self._futures.get(name), timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/asyncio/tasks.py", line 519, in wait_for async with timeouts.timeout(timeout): ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/asyncio/timeouts.py", line 115, in __aexit__ raise TimeoutError from exc_val TimeoutError During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/bmslib/models/daly.py", line 166, in _q sample = await self._fetch_futures.wait_for(command, self.TIMEOUT) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/bmslib/__init__.py", line 84, in wait_for raise asyncio.TimeoutError("timeout waiting for %s" % name) TimeoutError: timeout waiting for 147 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/bmslib/sampling.py", line 155, in __call__ s = await self._sample_inner() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/bmslib/sampling.py", line 237, in _sample_inner sample = await bms.fetch() ^^^^^^^^^^^^^^^^^ File "/app/bmslib/models/daly.py", line 187, in fetch status = await self._fetch_status() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/bmslib/cache/mem.py", line 160, in _mem_cache_wrapper_async return await _inner_wrapper_async(cache_key_obj, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/bmslib/cache/mem.py", line 131, in _inner_wrapper_async ret = await target(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/bmslib/models/daly.py", line 224, in _fetch_status response_data = await self._q(0x93) ^^^^^^^^^^^^^^^^^^^ File "/app/bmslib/models/daly.py", line 169, in _q raise TimeoutError( TimeoutError: timeout awaiting result 93, got 0/1 responses 20:47:28 INFO [sampling] battery1 bms debug data: {'r': None, 'buf': {}, 'rx': '0000fff1-0000-1000-8000-00805f9b34fb', 'tx': '0000fff2-0000-1000-8000-00805f9b34fb'} 20:47:28 INFO [sampling] Bleak version 0.13.1a1 20:47:28 ERROR [main] 1 exceptions occurred fetching BMSs 20:47:28 ERROR [main] Error (num 1, max 200) reading BMS: timeout awaiting result 93, got 0/1 responses 20:47:28 ERROR [main] Stack: Traceback (most recent call last): File "/usr/lib/python3.12/asyncio/tasks.py", line 520, in wait_for return await fut ^^^^^^^^^ asyncio.exceptions.CancelledError The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/app/bmslib/__init__.py", line 81, in wait_for return await asyncio.wait_for(self._futures.get(name), timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/asyncio/tasks.py", line 519, in wait_for async with timeouts.timeout(timeout): ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/asyncio/timeouts.py", line 115, in __aexit__ raise TimeoutError from exc_val TimeoutError During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/bmslib/models/daly.py", line 166, in _q sample = await self._fetch_futures.wait_for(command, self.TIMEOUT) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/bmslib/__init__.py", line 84, in wait_for raise asyncio.TimeoutError("timeout waiting for %s" % name) TimeoutError: timeout waiting for 147 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/main.py", line 37, in fetch_loop if await fn(): ^^^^^^^^^^ File "/app/main.py", line 320, in fn raise exceptions[0] File "/app/main.py", line 315, in fn await t() File "/app/bmslib/sampling.py", line 155, in __call__ s = await self._sample_inner() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/bmslib/sampling.py", line 237, in _sample_inner sample = await bms.fetch() ^^^^^^^^^^^^^^^^^ File "/app/bmslib/models/daly.py", line 187, in fetch status = await self._fetch_status() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/bmslib/cache/mem.py", line 160, in _mem_cache_wrapper_async return await _inner_wrapper_async(cache_key_obj, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/bmslib/cache/mem.py", line 131, in _inner_wrapper_async ret = await target(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/bmslib/models/daly.py", line 224, in _fetch_status response_data = await self._q(0x93) ^^^^^^^^^^^^^^^^^^^ File "/app/bmslib/models/daly.py", line 169, in _q raise TimeoutError( TimeoutError: timeout awaiting result 93, got 0/1 responses
2af0a32d_batmon_2024-12-19T18-48-19.435Z.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants