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@lists.openvehicles.com
http://lists.openvehicles.com/mailman/listinfo/ovmsdev