python-daly-bms icon indicating copy to clipboard operation
python-daly-bms copied to clipboard

Bluetooth connection - which device ?

Open wimg opened this issue 2 years ago • 3 comments

I'm trying to set up a connection with the Daly BMS over Bluetooth. But I can't find any documentation regarding which -d parameter to use to do this. Does anyone know the simple steps ? I've seen some complex scripts from a different library, but those all require additional packages that pip can't seem to find...

wimg avatar Aug 10 '23 20:08 wimg

Hello! I am facing the same issue here. Does anyone have any relevant instruction to provide?

dimikout3 avatar Sep 08 '23 07:09 dimikout3

Hello, i have the same question, the BL connection is not possible. I tried to understand how the script is going from the "daly-bms-cli" to "daly_bms_bluetooth.py" but i haven't found any connection. The cli command doesnt accept the mac_address as device and also it doesn't accept if the device is binded via "sudo rfcomm bind 0 XX:XX:XX:XX:XX:XX" as "/dev/rfcomm0". So it's not possible to connect via bluetooth by typing:

  1. daly-bms-cli -d /dev/rfcomm0 --uart --soc
  2. daly-bms-cli -d XX:XX:XX:XX:XX:XX --uart --soc

Marv085 avatar Sep 23 '23 21:09 Marv085

The CLI tool doesn't have the functionality to connect via Bluetooth implemented yet, only the Python module does. If you're interested in using the Python module to create a small tool for your purpose, check out the other Bluetooth related issues.

dreadnought avatar Nov 16 '23 16:11 dreadnought