<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Maybe OVMS_HW_EVENT_QUEUE_SIZE is just
too small now, with the added events during boot and async event
processing?<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
Am 30.01.20 um 13:00 schrieb Tamás Kovács:<br>
</div>
<blockquote type="cite"
cite="mid:CAGpaXUs3jU+Y5vBD-T3f3jjHN4y9FrmEisPJ-YJgnj3pEtZDnQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
Some time the m.version not set on Mitsubishi i-Miev .
<div><br>
2020. január 30., csütörtök dátummal Thomas Heuer <<a
href="mailto:egon@heuer-humfeld.de" moz-do-not-send="true">egon@heuer-humfeld.de</a>>
ezt írta:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="DE">
<div>
<p class="MsoNormal"><span>The issue was on boot, the
events: SignalEvent: queue overflow, event
'system.start' dropped in some case.</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>the problem was the egpio
settings in OvmsVehicleSmartED::<wbr>ConfigChanged(OvmsConfigParam*
param)</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span><a
href="https://github.com/Dimitrie78/Open-Vehicle-Monitoring-System-3/commit/21e1a0339c029adf5c746dfd6fecddbc9455a947#diff-9106f33dff1f6160884b2e78d145607fL155-L160"
target="_blank" moz-do-not-send="true">https://github.com/Dimitrie78/<wbr>Open-Vehicle-Monitoring-<wbr>System-3/commit/<wbr>21e1a0339c029adf5c746dfd6fecdd<wbr>bc9455a947#diff-<wbr>9106f33dff1f6160884b2e78d14560<wbr>7fL155-L160</a></span></p>
<p class="MsoNormal"><span>line 155 – 160</span></p>
<p class="MsoNormal"><span> </span></p>
<div>
<div style="border:none;border-top:solid #e1e1e1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>Von:</b> OvmsDev <<a
href="mailto:ovmsdev-bounces@lists.openvehicles.com"
target="_blank" moz-do-not-send="true">ovmsdev-bounces@lists.<wbr>openvehicles.com</a>>
<b>Im Auftrag von </b>Mark Webb-Johnson<br>
<b>Gesendet:</b> Donnerstag, 30. Januar 2020 11:35<br>
<b>An:</b> OVMS Developers <<a
href="mailto:ovmsdev@lists.openvehicles.com"
target="_blank" moz-do-not-send="true">ovmsdev@lists.openvehicles.<wbr>com</a>><br>
<b>Betreff:</b> Re: [Ovmsdev] Double updates -
Normal?</p>
</div>
</div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Just had a thought.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Events used to be synchronous, but
we switched to deliver in a different task. Maybe the
startup sequence relies on that in some way.</p>
</div>
<div>
<p class="MsoNormal"><br>
<br>
</p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-bottom:12.0pt">On
30 Jan 2020, at 6:32 PM, Mark Webb-Johnson <<a
href="mailto:mark@webb-johnson.net"
target="_blank" moz-do-not-send="true">mark@webb-johnson.net</a>>
wrote:</p>
</blockquote>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"></p>
<div>
<p class="MsoNormal">Seems identical. The changes
don’t seem to affect the dispatch of the
system.start event.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">I think it must be a race
condition.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Mark</p>
</div>
<div>
<p class="MsoNormal"><br>
<br>
</p>
<blockquote
style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-bottom:12.0pt">On
30 Jan 2020, at 5:56 PM, Michael Balzer <<a
href="mailto:dexter@expeedo.de"
target="_blank" moz-do-not-send="true">dexter@expeedo.de</a>>
wrote:</p>
</blockquote>
</div>
<blockquote
style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Mark,<br>
<br>
a similar issue was happening on some Smart ED
and fixed by Dimitrie later on:<br>
<br>
<a
href="https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/issues/293"
target="_blank" moz-do-not-send="true">https://github.com/<wbr>openvehicles/Open-Vehicle-<wbr>Monitoring-System-3/issues/293</a><br>
<br>
I thought that was a Smart specific issue,
maybe I was wrong.<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
Am 30.01.20 um 06:17 schrieb Mark
Webb-Johnson:</p>
</div>
<blockquote
style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Still stumped… </p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">The OTA code doesn’t
call GetOVMSVersion(), but instead just
looks at StandardMetrics.ms_m_<wbr>version
(which we know is blank). That is why this
is happening.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">But why
is StandardMetrics.ms_m_<wbr>version empty
(as is the hardware value as well).</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">The ovms_version code
hooks into ’system.start’ event, and sets
the version and hardware metrics. So,
obviously that is not being called. That
event is raised just after ’Starting USB
console…”. The event is also listened to
be ovms_time, ovms_mdns, and swcan.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">MDNS outputs “Starting
MDNS” when it sees that. The ovms_time sets
the environment variable TZ. Your car is
showing:</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<blockquote
style="margin-left:30.0pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal">ovms> time status</p>
</div>
<div>
<p class="MsoNormal">...</p>
</div>
<div>
<p class="MsoNormal">Vehicle Response:</p>
</div>
<div>
<p class="MsoNormal"> Time Zone: Not
defined</p>
</div>
<div>
<p class="MsoNormal"> UTC Time:
2020-01-30 05:00:53 UTC</p>
</div>
<div>
<p class="MsoNormal"> Local Time:
2020-01-30 05:00:53 GMT</p>
</div>
<div>
<p class="MsoNormal"> Provider: None</p>
</div>
</div>
</blockquote>
<div>
<div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">So looks like TZ is
not being set. Presumably that means the
call is not happening. I had a look at
the ovms_events code, but can’t find
anything obvious.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">So, tried a hacky
test:</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
<blockquote
style="margin-left:30.0pt;margin-right:0cm">
<div>
<div>
<div>
<div>
<p class="MsoNormal">ovms> metric
list version</p>
</div>
<div>
<p class="MsoNormal">...</p>
</div>
<div>
<p class="MsoNormal">Vehicle Response:</p>
</div>
<div>
<p class="MsoNormal"> m.version</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<div>
<p class="MsoNormal">ovms> event
raise system.start</p>
</div>
<div>
<p class="MsoNormal">...</p>
</div>
<div>
<p class="MsoNormal">Vehicle
Response:</p>
</div>
<div>
<p class="MsoNormal"> Raising
event: system.start</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<div>
<p class="MsoNormal">ovms>
metric list version</p>
</div>
<div>
<p class="MsoNormal">...</p>
</div>
<div>
<p class="MsoNormal">Vehicle
Response:</p>
</div>
<div>
<p class="MsoNormal"> m.version
3.2.008-121-g4c6c9fe/ota_0/<wbr>edge
(build idf
v3.3-beta3-775-gdc1ca69 Jan 29
2020 00:00:52)</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<div>
<p class="MsoNormal">ovms>
ota status</p>
</div>
<div>
<p class="MsoNormal">...</p>
</div>
<div>
<p class="MsoNormal">Vehicle
Response:</p>
</div>
<div>
<p class="MsoNormal"> Firmware:
3.2.008-121-g4c6c9fe/ota_0/<wbr>edge
(build idf
v3.3-beta3-775-gdc1ca69 Jan 29
2020 00:00:52)</p>
</div>
<div>
<p class="MsoNormal"> Running
partition: ota_0</p>
</div>
<div>
<p class="MsoNormal"> Boot
partition: ota_0</p>
</div>
<div>
<p class="MsoNormal"> Factory
image: 3.1.001</p>
</div>
<div>
<p class="MsoNormal"> OTA_O
image:
3.2.008-121-g4c6c9fe</p>
</div>
<div>
<p class="MsoNormal"> OTA_1
image:
3.2.008-121-g4c6c9fe</p>
</div>
<div>
<p class="MsoNormal"> Server
Available:
3.2.008-121-g4c6c9fe (no
update required)</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<div>
<div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"><span
style="font-family:"Segoe UI
Emoji",sans-serif">🤢</span></p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Can you try to boot
from USB (module reset) and provide the
serial boot log? Particularly around the
lines ’Starting USB console’.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Maybe a race
condition at startup, or some other
issue delivering events early on?</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Only other thing I
see are some scripts on /store/events
regarding vehicle on/off - perhaps you
can try disabling those to see if they
trigger the issue? I tried recreating
them on my box, but couldn’t repeat your
problem.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Regards, Mark.</p>
</div>
<div>
<p class="MsoNormal"><br>
<br>
</p>
<blockquote
style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">On 30 Jan 2020,
at 11:55 AM, Mark Webb-Johnson <<a
href="mailto:mark@webb-johnson.net" target="_blank"
moz-do-not-send="true">mark@webb-johnson.net</a>>
wrote:</p>
</div>
<p class="MsoNormal"> </p>
<div>
<div>
<p class="MsoNormal">Greg, </p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">It seems your
car can’t pickup currently
running firmware version:</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<blockquote
style="margin-left:30.0pt;margin-right:0cm">
<div>
<p class="MsoNormal">ovms>
open ROADSTER834B</p>
</div>
<div>
<p class="MsoNormal">Connected
and logged in to ROADSTER834B</p>
</div>
<div>
<div>
<p class="MsoNormal">ovms>
metric list version</p>
</div>
<div>
<p class="MsoNormal">...</p>
</div>
<div>
<p class="MsoNormal">Vehicle
Response:</p>
</div>
<div>
<p class="MsoNormal">
m.version</p>
</div>
</div>
</blockquote>
<div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">By
comparison, here’s mine:</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
</div>
<blockquote
style="margin-left:30.0pt;margin-right:0cm">
<div>
<div>
<div>
<p class="MsoNormal">ovms>
metric list version</p>
</div>
<div>
<p class="MsoNormal">...</p>
</div>
<div>
<p class="MsoNormal">Vehicle
Response:</p>
</div>
<div>
<p class="MsoNormal">
m.version
3.2.008-121-g4c6c9fe/ota_1/<wbr>edge
(build idf
v3.3-beta3-775-gdc1ca69
Jan 29 2020 00:00:52)</p>
</div>
<div>
<p class="MsoNormal">ovms>
ota status</p>
</div>
<div>
<p class="MsoNormal">...</p>
</div>
<div>
<p class="MsoNormal">Vehicle
Response:</p>
</div>
<div>
<p class="MsoNormal">
Firmware:
3.2.008-121-g4c6c9fe/ota_1/<wbr>edge
(build idf
v3.3-beta3-775-gdc1ca69
Jan 29 2020 00:00:52)</p>
</div>
<div>
<p class="MsoNormal">
Running partition: ota_1</p>
</div>
<div>
<p class="MsoNormal"> Boot
partition: ota_1</p>
</div>
<div>
<p class="MsoNormal">
Factory image: 3.2.002</p>
</div>
<div>
<p class="MsoNormal"> OTA_O
image:
3.2.008-120-gcfb7864</p>
</div>
<div>
<p class="MsoNormal"> OTA_1
image:
3.2.008-121-g4c6c9fe</p>
</div>
</div>
</div>
</blockquote>
<div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Your
m.hardware metric is also
blank.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">I’ll keep
looking, but at the moment
this seems bizarre.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Regards,
Mark.</p>
</div>
<div>
<p class="MsoNormal"><br>
<br>
</p>
<blockquote
style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">On 30
Jan 2020, at 11:21 AM,
Greg D. <<a
href="mailto:gregd2350@gmail.com"
target="_blank"
moz-do-not-send="true">gregd2350@gmail.com</a>>
wrote:</p>
</div>
<p class="MsoNormal"> </p>
<div>
<div>
<p class="MsoNormal">Hi
Mark, Michael,<br>
<br>
Seems like what is
happening is that the
module keeps thinking a
new<br>
update is available.
Today was especially
active for some reason.
<br>
Screenshot of the
Android application's
log screen, attached.
All<br>
versions appear to be
the same. The car has
simply been sitting in
the<br>
garage on WiFi; no
transitions of network
access.<br>
<br>
Output of 'ota status'
attached as well.<br>
<br>
Sorry, but I don't
appear to have logging
enabled. What
specifically<br>
would you like logged?<br>
<br>
Greg<br>
<br>
<br>
Mark Webb-Johnson wrote:<br>
<br>
</p>
<blockquote
style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Not
normal. Can you send
us the logs. Also the
output of ‘ota status’
would be helpful.<br>
<br>
Are you sure this
isn't just a
notification of the
update, and is the
update itself? Perhaps
a screenshot of the
double notifications
you receive?<br>
<br>
Regards, Mark.<br>
<br>
<br>
</p>
<blockquote
style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">On
25 Jan 2020, at
11:35 AM, Greg D.
<<a
href="mailto:gregd2350@gmail.com"
target="_blank"
moz-do-not-send="true">gregd2350@gmail.com</a>>
wrote:<br>
<br>
Hi folks,<br>
<br>
I moved my car's
OVMSv3 to the Edge
firmware a bit ago,
and notice that<br>
every update seems
to be doubled.
Besides being a bit
annoying, it ends<br>
up without a
previous version to
fall back to since
both partitions end<br>
up being the same.<br>
<br>
Is this behavior
normal? Can it be
prevented?<br>
<br>
I'm only on Edge
because of the bug
in obd2ecu, and will
probably move<br>
to EAP after we get
an EAP build with
the fix in it. Is
the behavior<br>
the same there?<br>
<br>
I used to be on
Main, and all seemed
fine there.<br>
<br>
Thanks,<br>
<br>
Greg<br>
<br>
______________________________<wbr>_________________<br>
OvmsDev mailing list<br>
<a
href="mailto:OvmsDev@lists.openvehicles.com"
target="_blank"
moz-do-not-send="true">OvmsDev@lists.openvehicles.com</a><br>
<a
href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev"
target="_blank"
moz-do-not-send="true">http://lists.openvehicles.com/<wbr>mailman/listinfo/ovmsdev</a></p>
</blockquote>
<p class="MsoNormal">______________________________<wbr>_________________<br>
OvmsDev mailing list<br>
<a
href="mailto:OvmsDev@lists.openvehicles.com"
target="_blank"
moz-do-not-send="true">OvmsDev@lists.openvehicles.com</a><br>
<a
href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev"
target="_blank"
moz-do-not-send="true">http://lists.openvehicles.com/<wbr>mailman/listinfo/ovmsdev</a></p>
</blockquote>
<p class="MsoNormal"><br>
<Repeated
updates.png><Repeated
updates ota status
output.txt>___________________<wbr>____________________________<br>
OvmsDev mailing list<br>
<a
href="mailto:OvmsDev@lists.openvehicles.com"
target="_blank"
moz-do-not-send="true">OvmsDev@lists.openvehicles.com</a><br>
<a
href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev"
target="_blank"
moz-do-not-send="true">http://lists.openvehicles.com/<wbr>mailman/listinfo/ovmsdev</a></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"> </p>
</div>
</div>
<p class="MsoNormal"><br>
<br>
</p>
<pre>______________________________<wbr>_________________</pre>
<pre>OvmsDev mailing list</pre>
<pre><a href="mailto:OvmsDev@lists.openvehicles.com" target="_blank" moz-do-not-send="true">OvmsDev@lists.openvehicles.com</a></pre>
<pre><a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" target="_blank" moz-do-not-send="true">http://lists.openvehicles.com/<wbr>mailman/listinfo/ovmsdev</a></pre>
</blockquote>
<p class="MsoNormal"><br>
<br>
<br>
</p>
<pre>-- </pre>
<pre>Michael Balzer * <a href="https://www.google.com/maps/search/Helkenberger+Weg+9+*+D-58256+Ennepetal?entry=gmail&source=g" moz-do-not-send="true">Helkenberger Weg 9 * D-58256 Ennepetal</a></pre>
<pre>Fon 02333 / 833 5735 * Handy 0176 / 206 989 26</pre>
<p class="MsoNormal">______________________________<wbr>_________________<br>
OvmsDev mailing list<br>
<a href="mailto:OvmsDev@lists.openvehicles.com"
target="_blank" moz-do-not-send="true">OvmsDev@lists.openvehicles.com</a><br>
<a
href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev"
target="_blank" moz-do-not-send="true">http://lists.openvehicles.com/<wbr>mailman/listinfo/ovmsdev</a></p>
</div>
</blockquote>
<p class="MsoNormal">______________________________<wbr>_________________<br>
OvmsDev mailing list<br>
<a href="mailto:OvmsDev@lists.openvehicles.com"
target="_blank" moz-do-not-send="true">OvmsDev@lists.openvehicles.com</a><br>
<a
href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev"
target="_blank" moz-do-not-send="true">http://lists.openvehicles.com/<wbr>mailman/listinfo/ovmsdev</a></p>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
<br>
-- <br>
Üdvözlettel:<br>
Kovács Tamás<br>
<br>
<br>
<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>
<br>
<pre class="moz-signature" cols="144">--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
</body>
</html>