[Ovmsdev] Can.c logic
michael at stegen.com
Tue Feb 14 19:01:51 HKT 2012
I can confirm that the charging bit is not set when pre-heating the battery.
It's only set when it goes from pre-heating to charging.
Maybe we should just look at the State (0x95) instead of charging bit
(0x96) and state.
I have uploaded my logfiles fom when i did the test here:
Inside the rar archive are two logfiles, one pre-heats till 49% then i
press stop from the VDS.
The otherone pre-heats till 100%, and then the charging begins.
Note that the "preparing to charge" state is also entered after the
pre-heating ended and before the actual charging starts.
Op 14-2-2012 4:01, Mark Webb-Johnson schreef:
> I think we really need to get a good trace of what you are seeing.
> Is it possible for you to run the 1.2.0-rc3 code in the car, using 188.8.131.52 server, do a full charge (including pre-heat), then let me know UTC time it started? If possible, check up on it with an App during the charge (when an App is connected, the car reports in once every minute - otherwise only once every ten minutes). I have a full log running on the development server at the moment, and 1.2.0 code sends the detailed charging bytes as well as the summary status text.
> Regards, Mark.
> On 14 Feb 2012, at 2:22 AM, Jack West wrote:
>> One possibility that might explain what I saw:
>> In heating substate the car does not turn on b4 of B2 in 0x96. Therefore logic does not see the car as charging when in the heating state so flags are not set, etc.
>> I'll look into this in more detail tonight.
>> OvmsDev mailing list
>> OvmsDev at lists.teslaclub.hk
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
3162 RD Rhoon
Tel: +31 10-5016960
More information about the OvmsDev