Comments (4)
Only saw this one now, oops. Without giving it too much thought, have you tried setting the force_pack_offset value to force a jump in the byte_index? Could also be a fix and is easier to manage across different firmware versions.
from bmspace.
You're probably right, setting a fixed pack offset would probably also mitigate the symptom. I haven't tested this as I suspect this would be harder for me to manage across firmware versions. I would suspect that it is more likely that additional data is appended or removed in future firmware versions (so that I would need to remember I set the force_pack_offset and correct it if the script fails after an firmware upgrade ). I suspect that it is much less likely that the start sequence will change in the future.
My understanding from manually dissecting the inc_data is that the start sequence is 6 byte long, but the script currently only matches the last two bytes out of this sequence to determine the start point to read the next packs values. I currently cannot see any drawback in the fix proposed here, but please feel free to close the issue if you disagree.
from bmspace.
This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 5 days.
from bmspace.
This issue was closed because it has been stalled for 5 days with no activity.
from bmspace.
Related Issues (20)
- Reading 2nd pack does not work HOT 4
- Enersol Pace based Battery not reading correctly on 2 pack HOT 8
- Allith 10kW LifePo4 runs too HOT 1
- No config file found (docker container) HOT 5
- Error parsing BMS analog data: Cannot read multiple packs HOT 2
- division by zero in BMS analog data HOT 9
- Every few days script stops with errors HOT 6
- Numberin of packs and cell with 2 digits would help sorting HOT 5
- Gobel P200 Pace BMS via Gobel Rs232-USB Adapter on Victron Cerbo? HOT 1
- Working with Joyvoit BW5KW HOT 1
- Hardware Info and more documentation HOT 9
- USB to Serial connection error HOT 2
- A bit description on the returned values HOT 2
- Not reading multiple packs , only the first one HOT 6
- paho.mqtt HOT 4
- The command '/bin/sh -c pip3 install -r requirements.txt' returned a non-zero code: 1 HOT 3
- Hubble AM5 HOT 2
- Confirm Sunsynk 10.65kWh HOT 2
- Error When Read Multiple Pack 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 bmspace.