<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Guys,</div><div><br></div><div>I just got these notifications this afternoon:</div><div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><font class="Apple-style-span" face="'Andale Mono'" size="1">2012-02-22 16:25:30.157145 +0800 info  main: #9 C EV915 rx msg P AStandard - Charging Done^MIdeal Range: 298 Km SOC: 96%</font></div><div><font class="Apple-style-span" face="'Andale Mono'" size="1">2012-02-22 16:25:48.572604 +0800 info  main: #9 C EV915 rx msg P AStandard - Charging Done^MIdeal Range: 298 Km SOC: 96%</font></div><div><font class="Apple-style-span" face="'Andale Mono'" size="1">2012-02-22 16:26:02.984595 +0800 info  main: #9 C EV915 rx msg P AStandard - Charging Done^MIdeal Range: 298 Km SOC: 96%</font></div><div><font class="Apple-style-span" face="'Andale Mono'" size="1">2012-02-22 16:26:12.055064 +0800 info  main: #9 C EV915 rx msg P AStandard - Charging Done^MIdeal Range: 298 Km SOC: 96%</font></div><div><font class="Apple-style-span" face="'Andale Mono'" size="1">2012-02-22 16:26:48.951721 +0800 info  main: #9 C EV915 rx msg P AStandard - Charging Done^MIdeal Range: 298 Km SOC: 96%</font></div></div></blockquote><div><br></div><div>Not good.</div><div><br></div><div>The only way that is happening is if the charge state of the car is flipping between done and stopped. The problem is that the reported states around the time of the problem are:</div><div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><font class="Apple-style-span" face="'Andale Mono'" size="1">2012-02-22 16:15:03.765201 +0800 info  main: #9 C EV915 rx msg S 96,K,-1,127,done,standard,298,262,70,65535,100,3,9,4,0</font></div><div><font class="Apple-style-span" face="'Andale Mono'" size="1">2012-02-22 16:25:02.540923 +0800 info  main: #9 C EV915 rx msg S 96,K,-1,127,done,standard,298,262,70,65535,100,3,9,4,0</font></div><div><font class="Apple-style-span" face="'Andale Mono'" size="1">2012-02-22 16:35:09.175980 +0800 info  main: #9 C EV915 rx msg S 96,K,-1,127,done,standard,298,262,70,65535,100,3,9,4,0</font></div><div><font class="Apple-style-span" face="'Andale Mono'" size="1">2012-02-22 16:45:30.941930 +0800 info  main: #9 C EV915 rx msg S 96,K,-1,127,done,standard,298,262,70,65535,100,3,9,4,0</font></div></div></blockquote><div><br></div><div>And, as the notification said 'Charging done', it is clear that between the alert being requested and raised (a split second), the charge state flipped from stopped to done.</div><div><br></div><div>The car has been sitting idle for a couple of days, without being driven, but has been plugged in continuously during this time.</div><div><br></div><div>I'm guessing that sometimes we get spurious messages on the can bus, perhaps when the car wakes up once a day to check its charge state, and that is causing the problem.</div><div><br></div><div>I looked through the logs for the past few days, for any similar alerts from other users, but can't find any. I did have one report of a user getting three or four sms messages in a row, a month or so ago, but suspected at the time the charging point was having problems and restarting the charging.</div><div><br></div><div>I don't think this is easy to solve. Trying to catch with a can log is going to be next to impossible.</div><div><br></div><div>One workaround I can think of is in net.c in the handling of net_msg_notify and net_sms_notify - add checks there that (((car_chargestate >= 0x15) || (car_chargestate == 0x0d))&&(car_chargesubstate != 0x03)) - in other words the conditions that we should be alerting on. This would have the affect of filtering out these spurious alerts.</div><div><br></div><div>Thoughts?</div><div><br></div><div>Mark.</div><div><br></div></body></html>