dreadnought / python-daly-bms

Python module for Daly BMS devices
MIT License
82 stars 37 forks source link

Incorrect cell count and volts #6

Closed MrG8N closed 2 years ago

MrG8N commented 2 years ago

Now I have the problem that with my 4S, it tries to read 10 cells and displays wrong values. First it worked correctly, I have not made any changes and I do not know what the problem is. Until about 2 hours ago it was working without any problems. I added an Influxdb client to the script yesterday and have all the data logged every minute and suddenly since two hours I get wrong values, even with your original script. Thanks for your work a really helpful tool.

 pi@womopi:~ $ daly-bms-cli -d /dev/ttyUSB1 --sinowealth --cell-voltage
{
  "1": 10.636,
  "2": 14.984,
  "3": 3.088,
  "4": -21.43,
  "5": -17.351,
  "6": 3.286,
  "7": -26.467,
  "8": 3.088,
  "9": -21.43,
  "10": -17.351
}

at my 16s all works well

hab2:~$ daly-bms-cli -d /dev/ttyUSB1 --cell-voltage
{
  "1": 3.375,
  "2": 3.376,
  "3": 3.375,
  "4": 3.39,
  "5": 3.375,
  "6": 3.383,
  "7": 3.387,
  "8": 3.392,
  "9": 3.401,
  "10": 3.378,
  "11": 3.387,
  "12": 3.394,
  "13": 3.431,
  "14": 3.452,
  "15": 3.447,
  "16": 3.44
}

I have now changed the USB port several times and now it works again. Sorry

pi@womopi:~/python-daly-bms $ daly-bms-cli -d /dev/ttyUSB1 --sinowealth --cell-voltage
{
  "1": 3.168,
  "2": 3.171,
  "3": 3.173,
  "4": 3.17
}