diyBMSv4Code icon indicating copy to clipboard operation
diyBMSv4Code copied to clipboard

InfluxDB: parallel banks are receiving first bank's voltages

Open jeronimo opened this issue 4 years ago • 10 comments

Screenshot 2021-10-18 at 15 45 09 Screenshot 2021-10-18 at 15 45 17

diyBMSv4Code Release-2021-03-29-15-35 InfluxDB shell version: 1.6.4

jeronimo avatar Oct 18 '21 20:10 jeronimo

Oh, that looks like an issue. I'm quite busy at the moment so may take a few days to investigate.

stuartpittaway avatar Oct 18 '21 22:10 stuartpittaway

Just wrote a quick script to send data from Victron Smartshunt via Ruby to InfluxDB and have started to look at diybms code as well. It seems that in https://github.com/stuartpittaway/diyBMSv4Code/blob/87f6de125b10ed8b0e9e4830e15a79ecb33127d8/ESPController/src/main.cpp#L725 array indexes should be i+bank though not sure if cmi array already has all the values. If it is not a quick fix I will make a PR at some point :)

jeronimo avatar Nov 15 '21 02:11 jeronimo

Hello @jeronimo just checking that you are reporting this issue against the ESP8266 version of the DIYBMS controller?

This issue was resolved in the ESP32 version.

stuartpittaway avatar Nov 15 '21 08:11 stuartpittaway

Yes, I am still using old controller with Wemos D1 Mini ESP8266.

jeronimo avatar Nov 15 '21 17:11 jeronimo

Just confirming that this issue still exists

rolfbartels avatar May 24 '22 07:05 rolfbartels

Although @rolfbartels is using the ESP32 version which has a different code base

stuartpittaway avatar May 24 '22 07:05 stuartpittaway

Sorry, just to calrify I am using the old controller with the Wemos D1 Mini ESP8266

rolfbartels avatar May 24 '22 08:05 rolfbartels

Ah, in which case that's a whole different ball game!

stuartpittaway avatar May 24 '22 08:05 stuartpittaway

@rolfbartels just updated the code, do you want to try that one out?

stuartpittaway avatar May 24 '22 08:05 stuartpittaway

@stuartpittaway I can confirm, this has fixed the error, thank you

rolfbartels avatar May 24 '22 09:05 rolfbartels