14 Apr
2013
14 Apr
'13
2:06 p.m.
Patrick,
There shouldn't be any 'charge complete' notifications - only 'charge interrupted':
Current logic is:
case 0x63: // Charge done/failed (depending where we came from)
car_doors1 &= ~0x0c; // Clear charge and pilot bits
car_chargemode = 0; // Standard charge mode
car_charge_b4 = 0; // Not required
if (car_chargestate == 4)
{ // Charge done
}
else if (car_chargestate != 21)
{ // Charge interrupted
car_chargestate = 21; // Charge STOPPED
car_chargesubstate = 14; // Charge INTERRUPTED
net_req_notification(NET_NOTIFY_CHARGE);
}
break;
PID 0xFDE0 shows 8bit value 0x63 and car_chargestate != 4 and car_chargestate != 21, then we treat that as a charge interrupted and alert appropriately.
Does that seem correct? I'll have to check through the logs you made to double-check.
Regards, Mark.
On 14 Apr, 2013, at 5:53 AM, Patrick Kapsch <patrick.kapsch@mac.com> wrote:
Mark, Since you fixed push notifications, fully charged notification works for the Tazzari. Charge interrupt notification doesn't.
Regards, Patrick
OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev