<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<div style="font-size: 10pt; font-family: Verdana,Geneva,sans-serif;">
<div style="font-size: 10pt; font-family: Verdana,Geneva,sans-serif;">
<div style="font-size: 10pt; font-family: Verdana,Geneva,sans-serif;">
<div style="font-size: 10pt; font-family: Verdana,Geneva,sans-serif;">
<div style="font-size: 10pt; font-family: Verdana,Geneva,sans-serif;">
<div style="font-size: 10pt; font-family: Verdana,Geneva,sans-serif;">
<div>
<p id="v1v1reply-intro">On 2025-02-08 22:22, Dan Edwards wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="v1v1replybody1" dir="auto">
<div>If you google I-key system error , you'll find posts on issues with the BCM, which have been resolved with cleaning contacts on bcm (if there's been moisture issues), and others replacing 12v acc battery.</div>
</div>
</blockquote>
<div id="v1v1replybody1" dir="auto">
<div> </div>
<div>Thanks for the pointer. <span>I drove the car for a year without OVMS and didn't have an i-key error then.  Did you experience switching to neutral while driving? </span></div>
<div> </div>
</div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="v1v1replybody1" dir="auto">
<div>Check your DTCs with leafspy, if it shows a bunch of DTCs including a B2604 BCM Shift PN diag, then likely low 12v, try a 24 hr charge or replace it.</div>
</div>
</blockquote>
<div id="v1v1replybody1" dir="auto">
<div> </div>
<div><span style="font-size: 10pt;">I've now ordered a dongle to work with Leaf Spy.</span></div>
<div> </div>
</div>
</div>
<p id="v1v1v1v1v1v1reply-intro">On 2025-02-09 09:23, Michael Balzer via OvmsDev wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="v1v1v1v1v1v1replybody1">IOW, Chris, you should look for "dip" log entries well within a parking / driving / charging phase, when the 12V level should be more or less constant.</div>
</blockquote>
<div> </div>
<div>I've checked the logs for the 7th, and below is the one such dip I can see. It occurs towards the end of the drive home.</div>
<div> </div>
<div><span style="font-family: 'courier new', courier, monospace; font-size: 9pt;">2025-02-07 13:51:03.584 GMT D (468184) events: Signal(vehicle.awake)</span><br /><span style="font-family: 'courier new', courier, monospace; font-size: 9pt;">2025-02-07 13:51:05.424 GMT D (470024) vehicle-poll: Pollers: Queue SetState()</span><br /><span style="font-family: 'courier new', courier, monospace; font-size: 9pt;">2025-02-07 13:51:05.424 GMT D (470024) vehicle-poll: Pollers: PollState(1)</span><br /><span style="font-family: 'courier new', courier, monospace; font-size: 9pt;">2025-02-07 13:51:05.424 GMT D (470024) events: Signal(vehicle.on)</span><br /><span style="font-family: 'courier new', courier, monospace; font-size: 9pt;">2025-02-07 13:51:06.464 GMT D (471064) events: Signal(vehicle.charge.12v.start)</span><br /><span style="font-family: 'courier new', courier, monospace; font-size: 9pt;">2025-02-07 13:51:08.384 GMT D (472984) events: Signal(vehicle.aux.12v.blip)</span><br /><span style="font-family: 'courier new', courier, monospace; font-size: 9pt;">2025-02-07 13:51:11.114 GMT D (475714) vehicle-poll: Pollers: Queue SetState()</span><br /><span style="font-family: 'courier new', courier, monospace; font-size: 9pt;">2025-02-07 13:51:11.124 GMT D (475724) vehicle-poll: Pollers: PollState(2)</span><br /><span style="font-family: 'courier new', courier, monospace; font-size: 9pt;">2025-02-07 13:51:11.124 GMT D (475724) events: Signal(vehicle.gear.forward)</span><br /><span style="font-family: 'courier new', courier, monospace; font-size: 9pt;">2025-02-07 13:51:16.394 GMT D (480994) events: Signal(vehicle.aux.12v.charging.blip)</span><br /><span style="font-family: 'courier new', courier, monospace; font-size: 9pt;">2025-02-07 13:51:56.394 GMT D (520994) events: Signal(vehicle.aux.12v.charging)</span><br /><span style="font-family: 'courier new', courier, monospace; font-size: 9pt;">2025-02-07 13:56:50.754 GMT D (815354) events: Signal(vehicle.headlights.on)</span><br /><span style="font-family: 'courier new', courier, monospace; font-size: 9pt;">2025-02-07 13:56:56.904 GMT D (821504) events: Signal(vehicle.headlights.off)</span><br /><span style="font-family: 'courier new', courier, monospace; font-size: 9pt;">2025-02-07 13:56:58.964 GMT D (823564) events: Signal(vehicle.headlights.on)</span><br /><span style="font-family: 'courier new', courier, monospace; font-size: 9pt;">2025-02-07 13:57:05.164 GMT D (829764) events: Signal(vehicle.headlights.off)</span><br /><strong><span style="font-family: 'courier new', courier, monospace; font-size: 9pt;">2025-02-07 14:01:54.384 GMT D (1118984) events: Signal(vehicle.aux.12v.charging.dip)</span></strong><br /><strong><span style="font-family: 'courier new', courier, monospace; font-size: 9pt;">2025-02-07 14:02:00.384 GMT D (1124984) events: Signal(vehicle.aux.12v.dip)</span></strong><br /><span style="font-family: 'courier new', courier, monospace; font-size: 9pt;">2025-02-07 14:02:30.384 GMT D (1154984) events: Signal(vehicle.aux.12v.normal)</span><br /><span style="font-family: 'courier new', courier, monospace; font-size: 9pt;">2025-02-07 14:03:36.394 GMT D (1220994) events: Signal(vehicle.charge.12v.stop)</span><br /><span style="font-family: 'courier new', courier, monospace; font-size: 9pt;">2025-02-07 14:03:46.394 GMT D (1230994) events: Signal(vehicle.charge.12v.start)</span><br /><span style="font-family: 'courier new', courier, monospace; font-size: 9pt;">2025-02-07 14:04:06.394 GMT D (1250994) events: Signal(vehicle.charge.12v.stop)</span><br /><span style="font-family: 'courier new', courier, monospace; font-size: 9pt;">2025-02-07 14:04:09.954 GMT D (1254554) events: Signal(vehicle.gear.reverse)</span><br /><span style="font-family: 'courier new', courier, monospace; font-size: 9pt;">2025-02-07 14:04:16.394 GMT D (1260994) events: Signal(vehicle.charge.12v.start)</span><br /><span style="font-family: 'courier new', courier, monospace; font-size: 9pt;">2025-02-07 14:04:28.064 GMT D (1272664) events: Signal(vehicle.gear.forward)</span></div>
<div> </div>
<div>At 14:04:29 I connected to home wifi.</div>
<div> </div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div>You should also have a look at the general 12V level behaviour, e.g. using the 12V chart plugin or creating a chart from the MQTT metric.</div>
</blockquote>
<div> </div>
<div><span>I recorded the attached 12v profile on the 7th via MQTT. </span><span style="font-size: 10pt;">It was 12.2 at 13:17, and briefly 11.4 at 13:43. The 14:02 dip is not visible. <span>My battery was new in November 2023.</span></span></div>
<div> </div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div><span style="font-size: 10pt;">When using V2/MQTT, consider raising the update interval to get a higher time resolution.</span></div>
</blockquote>
<div> </div>
<div><span style="font-size: 10pt;">What interval is sufficiently frequent? This is what I have set.</span></div>
<div> </div>
<div><span style="font-size: 10pt;">  updatetime.charging: 60<br />  updatetime.connected: 300<br />  updatetime.idle: 600<br />  updatetime.keepalive: 1780<br />  updatetime.on: 120</span></div>
<div> </div>
<div> </div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div>Btw, also consider shortening the file logging sync period, 30 seconds is rather high.</div>
<div>
<div> </div>
</div>
</blockquote>
<div>
<div><span style="font-size: 10pt;">I've now set log flush to 1 second.</span></div>
<div> </div>
</div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div><span style="font-size: 10pt;">On the 12V shutdown: even with 30 seconds log flushing, you would have seen the log entries for a shutdown condition, unless you configured the shutdown delay to 0 (default is 2 minutes).</span></div>
</blockquote>
<div>
<div> </div>
<div>
<div><span>I have no specific values set in vehicle.12v.*, so I'm using default behaviour. Which I think disables auto-shutdown.</span><span></span></div>
<div><span style="font-size: 10pt;"> </span></div>
</div>
</div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div>
<div><span style="font-size: 10pt;">That is, if the 12V level wasn't suddenly getting drastically low, i.e. too low within seconds to keep the ESP32 in operation. That could explain the freeze. Not sure how low that would need to have been. I'd check for another potential source of such a sudden voltage drop: a mechanical/electrical issue with the OBD connector or cable.</span></div>
</div>
</blockquote>
<div>
<div> </div>
<div>How would the V3.3 hardware react when power is completely removed (12V goes to zero) and then restored (back to 12V)? I would hope it treats it as a cold start, and begins to boot up. But I didn't see that in the log. This also raises the question of capacitance to ride out brief interruptions. It appears there is 470uF between 12V/5V and GND, if I'm reading it right. I'm not sure what time period that could supply power for.</div>
<div> </div>
</div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div>If for example there is a lose wire in the connection, that occasionally causes a short circuit, that would both explain the module freeze and the car fault.</div>
</blockquote>
<div> </div>
<div>It would. In the Leaf the OBD port is plastic mounted on plastic, and not particularly robust. I haven't seen inside the cable.<br /><br />Chris</div>
<div id="v1v1v1v1v1v1_rc_sig"></div>
</div>
</div>
</div>
</div>
</div>
</div>

</body></html>