2x JBD BMS, connected via bluetooth, not working as I expected #832
Unanswered
apesfromspace
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have 2 JBD BMS with Bluetooth, installed in config.ini.
They work individually, but when both MACs are supplied on the BLUETOOTH_BMS line, nothing appears in Venus.
from /data/etc/dbus-serialbattery/reinstall-local.sh output:
Installing LltJbd_Ble 70:3E:97:EB:yy:yy as dbus-blebattery.0
Installing LltJbd_Ble 70:3E:97:EB:xx:xx as dbus-blebattery.1
Stopping bluetooth: bluetoothd.
Starting bluetooth: bluetoothd.
A bunch of errors in /data/log/dbus-blebattery.*/current
a snippit here: (I replaced the last 2 parts of the MAC with xx:xx for privacy, it is correct in the actual file)
2023-10-05 13:49:21.461442500 Missing device address argument
2023-10-05 13:49:22.534513500 INFO:SerialBattery:Starting dbus-serialbattery
2023-10-05 13:49:22.535657500 INFO:SerialBattery:dbus-serialbattery v1.0.20230531
2023-10-05 13:49:22.908011500 INFO:SerialBattery:Init of LltJbd_Ble at 70:3E:97:EB:xx:xx
2023-10-05 13:49:22.908641500 INFO:SerialBattery:Test of LltJbd_Ble at 70:3E:97:EB:xx:xx
2023-10-05 13:49:27.919572500 ERROR:SerialBattery:>>> ERROR: Unable to connect with BLE device
2023-10-05 13:49:27.921387500 ERROR:SerialBattery:No BMS found at 70:3E:97:EB:xx:xx
2023-10-05 13:49:27.921965500 ERROR:SerialBattery:ERROR >>> No battery connection at LltJbd_Ble
2023-10-05 13:49:27.922263500
2023-10-05 13:49:33.554871500 Missing device address argument
2023-10-05 13:49:34.632398500 INFO:SerialBattery:Starting dbus-serialbattery
2023-10-05 13:49:34.633539500 INFO:SerialBattery:dbus-serialbattery v1.0.20230531
2023-10-05 13:49:35.006730500 INFO:SerialBattery:Init of LltJbd_Ble at 70:3E:97:EB:xx:xx
2023-10-05 13:49:35.007454500 INFO:SerialBattery:Test of LltJbd_Ble at 70:3E:97:EB:xx:xx
2023-10-05 13:49:40.019289500 ERROR:SerialBattery:>>> ERROR: Unable to connect with BLE device
2023-10-05 13:49:40.021077500 ERROR:SerialBattery:No BMS found at 70:3E:97:EB:xx:xx
2023-10-05 13:49:40.021679500 ERROR:SerialBattery:ERROR >>> No battery connection at LltJbd_Ble
2023-10-05 13:49:40.021980500
2023-10-05 13:49:54.028022500 Exception in thread LltJbd_Ble_Loop:
2023-10-05 13:49:54.028028500 Traceback (most recent call last):
2023-10-05 13:49:54.028031500 File "/usr/lib/python3.8/site-packages/bleak/backends/bluezdbus/client.py", line 209, in connect
2023-10-05 13:49:54.028036500 reply = await self._bus.call(
2023-10-05 13:49:54.028039500 File "/usr/lib/python3.8/site-packages/dbus_fast/aio/message_bus.py", line 399, in call
2023-10-05 13:49:54.028044500 await future
2023-10-05 13:49:54.028046500 asyncio.exceptions.CancelledError
2023-10-05 13:49:54.028175500
2023-10-05 13:49:54.028176500 During handling of the above exception, another exception occurred:
any help much appreciated, and thanks for all your hard work making this driver happen :)
Beta Was this translation helpful? Give feedback.
All reactions