Closed endurance1968 closed 5 months ago
@wollew can you take a look?
@endurance1968 in the meanwhile did you read the config.default.ini
?
Hi,
thanks for quick reaction.
I have seen this section but honestly was not sure how to use it / if it is relevant for the above scenario. Venus reports min and max cell temp - config decsribes either mean or fixed assigned ONE batt. temp. It total the debug log shows 6 temperatures (cell 0-3 + env + power). For me it looks like min max cell reported to venus are taken from the env+power instead of cell 0-3
@mr-manuel: the Seplos driver fills in Cell[1..4].temp for the 4 known cell temperatures and Battery.temp1,2 for the other two measured temperatures. But quickly looking at the rest of the code it seems Cell.temp isn't really used (any more?). Should this be changed in the Seplos driver?
So the Seplos BMS has a total of 6 temperature sensors?
In this driver we always handled the temperatures like this
There where no self.cells[i].temp
values that I'm aware of like in the Seplos driver
My proposal would be to add the cell temperatures as temp1
to temp4
and maybe one of the remaining sensors as mosfet temperature, if it matches?
If you'd like we can also add temp5
and temp6
. But I think that would be a bit too much. Should be enough, if you get the min/max temperatures of the cells and the other two. So you have 4 in total.
From my point of view most important to get the cell temp min/max correct. Being able to see mosfet (I assume it is equal to power) and environment (ambient) would be great add on.
And yes according to BMS docu:
By detecting the temperature of cells (4 of the 16 cells), ambient temperature, and temperature of PCB board
it should be 6 sensors for temp.
Screenshot from BMS Software
Yes, I also assume that what is described as "Power" in the Seplos protocol is the mosfet temperature. So this should go into temp_mos. We can use temp1..4 for the cell temperatures. Adding temp5 for the ambient temperature would break the "calculation" for cell min/max temperature, so if we want to provide that sensor value to the driver, we'd need something else, temp_ambient or something along these lines.
@mr-manuel: do you want me to prepare a PR? This sh/would include removing "temp" from the Cell class, this where I got the initial idea from: https://github.com/Louisvdw/dbus-serialbattery/blob/59a6d00c096c3e708aaf9cd827275c6500450374/etc/dbus-serialbattery/battery.py#L39-L46
Ok, so in this case I would propose:
Yes, please make a PR for this in my repository.
power gets higher than ambient
Perfect, than this should be the mosfet temperature sensor.
Can you install v1.3.20240603dev
and see if all is working as expected?
Sorry, I hadn't seen that you wanted the PR against a different repo.
No problem :-)
looks good.
Describe the bug
Hello,
looks like cell temperatures are more the BMS and env temp. not the cells as such? Can it be configured, that BMS and env temp are maybe ignored here?
How to reproduce
Nothing specific to be done just compare values
Expected behavior
Venus is showing cell temperatures
Driver version
v1.2.20240408
Venus OS device type
Cerbo GX
Venus OS version
3.32
BMS type
Seplos
Cell count
16
Battery count
1
Connection type
Serial USB adapter to RS485
Config file
Relevant log output
Any other information that may be helpful
NA