[Ovmsdev] Leaf 2016 30Kwh flapping SOC

ovms ovms at topphemmelig.no
Thu May 3 05:01:08 HKT 2018


Hi

>Can you try to see if adding this code also works for you? >After "case 0x1db:" > // state of charge percentage, as shown on dash info panel > uint8_t soc = d[4] & 0x7f; > if(soc != 0x7f) > { > StandardMetrics.ms_v_bat_soc->SetValue(soc); > }

I tried the change you suggested. SOC is stable now. Nice!

-Stein Arne Sordal-

On 2018-05-02 15:55, Robin O'Leary <ovmsdev at caederus.org> wrote:
> On Wed, May 02, 2018 at 03:43:33PM +0200, ovms wrote: > Tom, you are right. I used a standard cable, not a Leaf-specific cable. And the 0x50d is on the car-bus. > I have now swapped to a Leaf-specific cable, and tried to change the code to look for 0x50d on the car bus, but I apparently did something wrong. No data from the car-bus is received now. Can you try to see if adding this code also works for you? After "case 0x1db:" // state of charge percentage, as shown on dash info panel uint8_t soc = d[4] & 0x7f; if(soc != 0x7f) { StandardMetrics.ms_v_bat_soc->SetValue(soc); } _______________________________________________ OvmsDev mailing list OvmsDev at lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20180502/80ab18b4/attachment.html>


More information about the OvmsDev mailing list