I'm happy to say that this should work out of the box now using my ZS EV PID list from:
https://github.com/peternixon/MG-EV-OBD-PID
The relevant thread on the ABRP forum is:
https://forum.abetterrouteplanner.com/topic/641-alpha-feedback-mg-zs-ev/?tab=comments#comment-9783
@JodyS21 I have been trying to figure out how to do exactly this and haven't yet been able to convince Torque to display ASCII values. I suspect that a "plugin" as opposed to Extended PIDs" may be required to make this work. Unfortunately the author of Torque has been MIA since circa 2016.
Hi @Vince31
In-fact the file you've used is a historical one that I received part-way through development from the Thai ZS EV user group. My PID list is called "MG ZS EV.csv" (as you can see in the instructions) and it does not have any leading dots. It also already contains a Virtual PID called...
@JodyS21 my understanding is that unless you have a PID on a gauge then it's not reading it. I also agree with you that both should be available and that's what I've done, however I'm not reading the PID a second time to run in though ABS, but rather using a "Virtual PID" to re-process the...
@JodyS21 I've had another look at the various temp readings on my car and they seem to all be in the correct ranges at present and Face Temp seems to adjust up and down within a range that's not unrealistic although I haven't checked it with a thermometer.
Can you please double check the temps...
@JodyS21 you will note that for RPM I have two counters, one which reports the values directly, and go negative if you are reversing, and the other ABS() value which is suitable for a Gauge display:
"001_Engine Speed Real","RPM Real","0x22b402","INT16(A:B) -...
Hi @JodyS21
On the contrary, I very much enjoyed reading your brain dump over my morning coffee as I'd very much had my "poke at it until it works, then test after the kids are asleep" hat on until now, and hadn't put my engineering hat on and asked myself "why would they be using formulas like...
@AbuG interestingly in the OVMS source code the formula for Battery Current is:
OVMS = (INT16(A:B) - 40000) * 0.25 / 10
As that derives to the same formula as the Thai file (given 0.25/10 = 1/40), I'll replace my formula with (exactly) what OVMS uses in order to be in sync with that codebase.
OK. Please make sure that you are using todays update to the pid file as I've fixed the hex conversions on quite a few counters. (It won't however change whether or not a counter reads, just the value that's displayed)
Hi @CDR
If you are getting speed, but laggy it implies to me that your OBD2 adaptor is not keeping up with the number of parallel request that my dashboard requires. Can you try creating a blank dashboard and add each of the other (broken) sensors to it one at a time to see if they work...
@AbuG your analysis was absolutely correct regarding my broken hex conversions. I've fixed it now simply by using the inbuilt INT16 and INT24 functions instead of doing it incorrectly by hand :)
Hi @AbuG
Thanks for your testing and analysis. The first time I've used OBD2 or Torque was a couple of days ago so I've been busy learning. I received the file ZS_EV 104PIDS_Fixed.csv from some of the OVMS developers who called it the "Thai file" so I don't know if they added any of the...
You are most welcome. A few minutes ago I managed to get a copy of the PID list used in the Thai video in the first post in this thread. As it contains a bunch of PIDs that I haven't had the time to add to my list yet I've checked it into the repository "as is" for now so that you guys can play...
You should only need the file which doesn't have "Test" in the name. In any case, as of right now, the Test file is empty as I managed to make all of the sensors which I was working on function correctly and therefore moved them to the main file :-)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.