<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Steve,<br>
<br>
that's probably the cause then. Persistence can only be granted to a
small set of metrics, as the RTC RAM is limited. More space could be
gained by changing the storage structure, but that's no short term
todo.<br>
<br>
Check if your reboots were due to OTA firmware updates (maybe you
didn't disable them and poll from the edge branch?).<br>
<br>
If not, check your crash debug history.<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<div class="moz-cite-prefix">Am 09.01.21 um 11:34 schrieb Steve
Davies:<br>
</div>
<blockquote type="cite"
cite="mid:CABFTEGXVfp=L8RpgwB3nAbhRutnL+wd5YOS1AqQfpk2qFeoYUw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi Michael,
<div><br>
</div>
<div>In respect to PR #516 and the pack voltage:</div>
<div><br>
</div>
<div>Thanks for clarifying about the staleness and on your
explanation I agree my PR is wrong.</div>
<div><br>
</div>
<div>I went through my logs and I can't find a case where we
read 0v from the car. (I will put a little sanity check in the
code though in case we do read something unreasonable).</div>
<div><br>
</div>
<div>But: my OVMS reboots sometimes. I didn't really look into
the details.</div>
<div><br>
</div>
<div>But I notice that the SOC is persistent, but the pack
voltage is not. Is it a credible guess that this is actually
what is happening? That the OVMS rebooted, and since the car
is asleep we can't get a new value and are left with no value.</div>
<div><br>
</div>
<div>Would also explain why my change seemed to fix the problem
- since seeing the issue depended on whether there was a
reboot or not.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Steve</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a>
<a class="moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26</pre>
</body>
</html>