Comments (10)
With the latest nightly you can set this in the config file.
from dbus-serialbattery.
This is not a bug. just read the complete error log. I copy the relevant part over for you:
2024-04-12 15:06:19.600923500 ERROR:SerialBattery:Change the battery capacities to be unique.
2024-04-12 15:06:19.601649500 ERROR:SerialBattery:Example for batteries with 280 Ah:
2024-04-12 15:06:19.602291500 ERROR:SerialBattery:- Battery 1: 279 Ah
2024-04-12 15:06:19.602859500 ERROR:SerialBattery:- Battery 2: 280 Ah
2024-04-12 15:06:19.603398500 ERROR:SerialBattery:- Battery 3: 281 Ah
2024-04-12 15:06:19.603923500 ERROR:SerialBattery:This little difference does not matter for the battery.
from dbus-serialbattery.
Fair enough - it's asking me to do something that I believe may be impossible.
from dbus-serialbattery.
On every BMS you need to be able to change the capacity. Is it custom build or did you buy it as it is?
a) Custom build: You already had to set the capacity. Just set it again
b) You bought it: Ask your dealer on how you can change the capacity or if you get the protocol documentation because you need to read the serial number via serial connection.
from dbus-serialbattery.
I bought them - they are EG4 Lifepower batteries. I am checking with them to confirm, but even their own software doesn't read the serial number nor give a way to change the capacity.
from dbus-serialbattery.
Let's wait what they answer. Maybe there is another unique parameter we can read.
from dbus-serialbattery.
Temporarely you could try to add
def unique_identifier(self) -> str:
return self.port
before
Keep attention at the indentation when copying the code.
Anyway this is only a possible temporary solution and not recommended.
from dbus-serialbattery.
Oh, that's genius. I'll give it a try. That would at least get me on the latest code while I figure out a better long-term solution.
from dbus-serialbattery.
No response from them - it's kind of expected since they don't have a published spec for reading from their batteries in this way.
Utilizing the port as a unique ID has been working perfectly. It allowed me to use the latest version and now I have clean logs.
from dbus-serialbattery.
Ok, only when changing ports it will also change custom names and VRM ID's.
from dbus-serialbattery.
Related Issues (20)
- JKBMS BLE - Connection to Liontron LiFePo4 not possible HOT 4
- LLT/JBD BLE - Connection to battery not stable HOT 5
- SOC reset voltage not reachable and SOC not resetting. HOT 9
- Unstable Cerbo after Update from 3.00 to 3.20/3.30/3.40 HOT 24
- Very high cpu usage with >1 instance running HOT 25
- CCL and DCL must go to 0a in the event of Fet soft Charge and/or Discharge goes to off HOT 11
- pylontech and daly smart bms different soc HOT 1
- LLT/JBD BMS - Force charging/discharging OFF button does not respond HOT 13
- 2 batteries with the same unique identifier HOT 4
- SOC Reset with 3 Battery Banks HOT 1
- (JK-BMS) Battery discharges alternatingly when SoC reaches 100 % and no discharge requested HOT 4
- Crash with LINEAR_LIMITATION_ENABLE = False HOT 4
- Calculation of CVL_ICONTROLLER has got corrupted. HOT 4
- Call frequency of CVL_ICONTROLLER HOT 10
- driver no longer works HOT 2
- New JK-BMS JK-B2A8S30P not yet supported? HOT 24
- Random min/max cell voltages go very high or very low in a single read. HOT 27
- Float Mode => Multiplus II HOT 5
- Dbus Serialbattery does not work with new JK Inverter BMS and VE Can post 500kbit/s HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbus-serialbattery.