<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Nikki,<br>
<br>
that's no new error, it's due to the Twizy measuring metric vs. the
OVMS car model needing miles.<br>
<br>
The kilometer to miles conversion is optimized to avoid floating
point math (the OVMS has no FPU), and the conversion is already fine
tuned to produce the least mean error in the range 0..100 km.<br>
<br>
Conversion errors get bigger the bigger the numbers get, and there's
not much we can do about this (except enabling metric values in the
car model, which is on our list).<br>
<br>
Here's your current error explained:<br>
<br>
MP-0 c200,0,0040,0000,0000,4,0,0,169252,8430,8430,8774,65,65,41,37,0<br>
<br>
169252 is the Twizy internal odometer value meaning 1692.52 km.<br>
<br>
See utils.h for the conversion:<br>
<br>
// 1 mile = 1.609344 kilometers<br>
// smalles error approximation: mi = (km * 10 - 5) / 16 + 1<br>
<br>
So the integer conversion for 1692 results in 1058 while the real
value is 1051. That's your 7 mile offset.<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<div class="moz-cite-prefix">Am 12.05.2013 21:49, schrieb Nikki
Gordon-Bloomfield:<br>
</div>
<blockquote
cite="mid:038EB5DA-B39A-41B4-9468-2ACC58BC2FB8@littlecollie.com"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<div>I forgot to mention...</div>
<div><br>
</div>
<div>My Twizy is about 7 miles less on the odometer than the creek
OVMS build says. <br>
<br>
Sent from my iPhone</div>
<div><br>
On 12 May 2013, at 17:40, Michael Balzer <<a
moz-do-not-send="true" href="mailto:dexter@expeedo.de">dexter@expeedo.de</a>>
wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Nikki,<br>
<br>
I haven't had that special case, but it sounds like the RAM
corruption effect. I think you need to do a hard reboot, i.e.
switch the module off.<br>
<br>
Please read out the debug info (cmd 200) and send me all
history data if possible, maybe I can find something in there.<br>
<br>
Thanks,<br>
Michael<br>
<br>
<br>
<div class="moz-cite-prefix">Am 12.05.2013 13:26, schrieb
Nikki Gordon-Bloomfield:<br>
</div>
<blockquote
cite="mid:FF26C68D-3B10-4779-877B-BE630858FB75@littlecollie.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
HI folks,
<div><br>
</div>
<div>Just to let you know that my Twizy is still reporting 0
percent and 0 miles, even though it is now fully charged!
(At least, OVMS is!) I've rebooted it a few times, and
geolocation works fine. </div>
<div><br>
</div>
<div>Nikki. </div>
<div><br>
<div><br>
</div>
<div><br>
<div>
<div>On 12 May 2013, at 12:09, Michael Jochum <<a
moz-do-not-send="true"
href="mailto:mikeljo@mac.com">mikeljo@mac.com</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<base href="x-msg://273/">
<div style="word-wrap: break-word;
-webkit-nbsp-mode: space; -webkit-line-break:
after-white-space; ">Hi,
<div><br>
</div>
<div>i think yes.</div>
<div>We have the Voltage(s) and Amper(s) per Motor
and Battery. But currently not used in OVMS.</div>
<div>So we can calc the Power like DashDaq.</div>
<div><br>
</div>
<div>I think these are the IDs:</div>
<div><br>
</div>
<div>
<div>7EC 432D High Voltage Battery Voltage</div>
<div>7EC 4356 High Voltage Battery Current</div>
<div><br>
</div>
<div>7E9<span class="Apple-tab-span"
style="white-space:pre"> </span>432D High
Voltage Battery Voltage </div>
<div>7E9<span class="Apple-tab-span"
style="white-space:pre"> </span>4356 High
Voltage Battery Current</div>
<div><br>
</div>
<div>7E9<span class="Apple-tab-span"
style="white-space:pre"> </span>2883 Motor
A DC Current</div>
<div>7E9<span class="Apple-tab-span"
style="white-space:pre"> </span>2884 Motor
B DC Current</div>
<div>7E9<span class="Apple-tab-span"
style="white-space:pre"> </span>2885 Motor
A DC Voltage</div>
<div>7E9<span class="Apple-tab-span"
style="white-space:pre"> </span>2886 Motor
B DC Voltage</div>
<div><br>
</div>
<div>7E8<span class="Apple-tab-span"
style="white-space:pre"> </span>000D
Vehicle Speed Km/Hr</div>
</div>
<div><br>
</div>
<div>You can see the Data for the Battery are here
twice. For Filter reasons i think it is better
to use 7E9 instead 7EC.</div>
<div><br>
</div>
<div><br>
</div>
<div>Bye</div>
<div>Michael J.</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>
<div>Am 11.05.2013 um 21:05 schrieb Denis
KRAUTH <<a moz-do-not-send="true"
href="mailto:denis.krauth@wanadoo.fr">denis.krauth@wanadoo.fr</a>>:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div bgcolor="white" link="blue"
vlink="purple" style="font-family:
Helvetica; font-size: medium; font-style:
normal; font-variant: normal; font-weight:
normal; letter-spacing: normal;
line-height: normal; orphans: 2;
text-align: -webkit-auto; text-indent:
0px; text-transform: none; white-space:
normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; "
lang="FR">
<div class="Section1" style="page:
Section1; ">
<div style="margin: 0cm 0cm 0.0001pt;
font-size: 12pt; font-family: 'Times
New Roman', serif; "><span
style="font-size: 11pt; font-family:
Calibri, sans-serif; color: rgb(31,
73, 125); " lang="EN-US">Michael
(J),<o:p></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt;
font-size: 12pt; font-family: 'Times
New Roman', serif; "><span
style="font-size: 11pt; font-family:
Calibri, sans-serif; color: rgb(31,
73, 125); " lang="EN-US"> </span></div>
<div style="margin: 0cm 0cm 0.0001pt;
font-size: 12pt; font-family: 'Times
New Roman', serif; "><span
style="font-size: 11pt; font-family:
Calibri, sans-serif; color: rgb(31,
73, 125); " lang="EN-US">Is this
feasible for our Amperas ?<o:p></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt;
font-size: 12pt; font-family: 'Times
New Roman', serif; "><span
style="font-size: 11pt; font-family:
Calibri, sans-serif; color: rgb(31,
73, 125); " lang="EN-US"> </span></div>
<div>
<div style="margin: 0cm 0cm 0.0001pt;
font-size: 12pt; font-family: 'Times
New Roman', serif; "><span
style="font-size: 11pt;
font-family: Calibri, sans-serif;
color: rgb(31, 73, 125); ">Denis
(aka Kratus).<o:p></o:p></span></div>
</div>
<div style="margin: 0cm 0cm 0.0001pt;
font-size: 12pt; font-family: 'Times
New Roman', serif; "><span
style="font-size: 11pt; font-family:
Calibri, sans-serif; color: rgb(31,
73, 125); "> </span></div>
<div>
<div style="border-style: solid none
none; border-top-width: 1pt;
border-top-color: rgb(181, 196,
223); padding: 3pt 0cm 0cm; ">
<div style="margin: 0cm 0cm
0.0001pt; font-size: 12pt;
font-family: 'Times New Roman',
serif; "><b><span
style="font-size: 10pt;
font-family: Tahoma,
sans-serif; color: windowtext;
">De :</span></b><span
style="font-size: 10pt;
font-family: Tahoma, sans-serif;
color: windowtext; "><span
class="Apple-converted-space"> </span><a
moz-do-not-send="true"
href="mailto:ovmsdev-bounces@lists.teslaclub.hk"
style="color: purple;
text-decoration: underline; ">ovmsdev-bounces@lists.teslaclub.hk</a><span
class="Apple-converted-space"> </span>[<a
moz-do-not-send="true"
class="moz-txt-link-freetext"
href="mailto:ovmsdev">mailto:ovmsdev</a>-<a
moz-do-not-send="true"
href="mailto:bounces@lists.teslaclub.hk"
style="color: purple;
text-decoration: underline; ">bounces@lists.teslaclub.hk</a>]<span
class="Apple-converted-space"> </span><b>De
la part de</b><span
class="Apple-converted-space"> </span>Michael
Balzer<br>
<b>Envoyé :</b><span
class="Apple-converted-space"> </span>samedi
11 mai 2013 16:52<br>
<b>À :</b><span
class="Apple-converted-space"> </span><a
moz-do-not-send="true"
href="mailto:ovmsdev@lists.teslaclub.hk"
style="color: purple;
text-decoration: underline; ">ovmsdev@lists.teslaclub.hk</a><br>
<b>Objet :</b><span
class="Apple-converted-space"> </span>Re:
[Ovmsdev] Twizy firmware image
V2.3.6 / 2.6.5<o:p></o:p></span></div>
</div>
</div>
<div style="margin: 0cm 0cm 0.0001pt;
font-size: 12pt; font-family: 'Times
New Roman', serif; "><o:p> </o:p></div>
<p class="MsoNormal" style="margin: 0cm
0cm 12pt; font-size: 12pt;
font-family: 'Times New Roman', serif;
">Denis,<br>
<br>
thanks :-)<br>
<br>
The GPS logging feature and energy
usage stats are currently Twizy
specific.<br>
<br>
To move these into the framework, we
need to make the energy usage
variables part of the common car
model. And of course we need to know
how to get these values from other
cars like Ampera...?<br>
<br>
Regards,<br>
Michael<br>
<br>
<o:p></o:p></p>
<div>
<div style="margin: 0cm 0cm 0.0001pt;
font-size: 12pt; font-family: 'Times
New Roman', serif; ">Am 11.05.2013
10:17, schrieb Denis KRAUTH:<o:p></o:p></div>
</div>
<blockquote style="margin-top: 5pt;
margin-bottom: 5pt; ">
<div style="margin: 0cm 0cm 0.0001pt;
font-size: 12pt; font-family: 'Times
New Roman', serif; "><span
style="font-size: 11pt;
font-family: Calibri, sans-serif;
color: rgb(31, 73, 125); ">Wow,
great !</span><o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt;
font-size: 12pt; font-family: 'Times
New Roman', serif; "><span
style="font-size: 11pt;
font-family: Calibri, sans-serif;
color: rgb(31, 73, 125); "> </span><o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt;
font-size: 12pt; font-family: 'Times
New Roman', serif; "><span
style="font-size: 11pt;
font-family: Calibri, sans-serif;
color: rgb(31, 73, 125); "
lang="EN-US">Can this be done on
my Ampera too, or is it
Twizy-specific ?</span><o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt;
font-size: 12pt; font-family: 'Times
New Roman', serif; "><span
style="font-size: 11pt;
font-family: Calibri, sans-serif;
color: rgb(31, 73, 125); "
lang="EN-US">Can FEATURE 8 2 also
be applied on my 2.3.2 Ampera
firmware?</span><o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt;
font-size: 12pt; font-family: 'Times
New Roman', serif; "><span
style="font-size: 11pt;
font-family: Calibri, sans-serif;
color: rgb(31, 73, 125); "
lang="EN-US">There is a
Volt/Ampera ecodrive contest in a
few days (June 1<sup>st</sup>) and
this would be really great to
track the data.</span><o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt;
font-size: 12pt; font-family: 'Times
New Roman', serif; "><span
style="font-size: 11pt;
font-family: Calibri, sans-serif;
color: rgb(31, 73, 125); "
lang="EN-US">I just read your
german guide, and it seems really
not difficult.</span><o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt;
font-size: 12pt; font-family: 'Times
New Roman', serif; "><span
style="font-size: 11pt;
font-family: Calibri, sans-serif;
color: rgb(31, 73, 125); "
lang="EN-US"> </span><o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt;
font-size: 12pt; font-family: 'Times
New Roman', serif; "><span
style="font-size: 11pt;
font-family: Calibri, sans-serif;
color: rgb(31, 73, 125); "
lang="EN-US">Hut ab!</span><o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt;
font-size: 12pt; font-family: 'Times
New Roman', serif; "><span
style="font-size: 11pt;
font-family: Calibri, sans-serif;
color: rgb(31, 73, 125); "
lang="EN-US"> </span><o:p></o:p></div>
<div>
<div style="margin: 0cm 0cm
0.0001pt; font-size: 12pt;
font-family: 'Times New Roman',
serif; "><span style="font-size:
11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73,
125); ">Denis.</span><o:p></o:p></div>
</div>
<div style="margin: 0cm 0cm 0.0001pt;
font-size: 12pt; font-family: 'Times
New Roman', serif; "><span
style="font-size: 11pt;
font-family: Calibri, sans-serif;
color: rgb(31, 73, 125); "> </span><o:p></o:p></div>
<div>
<div style="border-style: solid none
none; border-top-width: 1pt;
border-top-color: rgb(181, 196,
223); padding: 3pt 0cm 0cm; ">
<div style="margin: 0cm 0cm
0.0001pt; font-size: 12pt;
font-family: 'Times New Roman',
serif; "><b><span
style="font-size: 10pt;
font-family: Tahoma,
sans-serif; color:
windowtext; ">De :</span></b><span
style="font-size: 10pt;
font-family: Tahoma,
sans-serif; color: windowtext;
"><span
class="Apple-converted-space"> </span><a
moz-do-not-send="true"
href="mailto:ovmsdev-bounces@lists.teslaclub.hk"
style="color: purple;
text-decoration: underline;
">ovmsdev-bounces@lists.teslaclub.hk</a><span
class="Apple-converted-space"> </span>[<a moz-do-not-send="true"
href="mailto:ovmsdev-bounces@lists.teslaclub.hk"
style="color: purple;
text-decoration: underline;
">mailto:ovmsdev-bounces@lists.teslaclub.hk</a>]<span
class="Apple-converted-space"> </span><b>De la part de</b><span
class="Apple-converted-space"> </span>Michael
Balzer<br>
<b>Envoyé :</b><span
class="Apple-converted-space"> </span>vendredi
10 mai 2013 20:26<br>
<b>À :</b><span
class="Apple-converted-space"> </span>'OVMS
Developers'<br>
<b>Objet :</b><span
class="Apple-converted-space"> </span>[Ovmsdev]
Twizy firmware image V2.3.6 /
2.6.5</span><o:p></o:p></div>
</div>
</div>
<div style="margin: 0cm 0cm 0.0001pt;
font-size: 12pt; font-family: 'Times
New Roman', serif; "> <o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt;
font-size: 12pt; font-family: 'Times
New Roman', serif; ">For those
avoiding self-compiling (Nikki et
al), here's the current firmware
image with Twizy extensions.<br>
<br>
It makes GPS logging (RT-GPS-Log) at
5 second intervals stable.<br>
<br>
To get max GPS precision be sure to
activate only the GPS logging (w/o
location streaming) by setting
feature #8 to 2.<br>
<br>
The ZIP also contains a guide and
spreadsheet template for creating
energy use heatmap-style GPS tracks
using <a moz-do-not-send="true"
href="http://gpsvisualizer.com/">gpsvisualizer.com</a>
-- the guide text is in german now,
I can make an english version and
add it to the repository if there is
demand.<br>
<br>
Here's an example result:<br>
<br>
<span><image001.png></span><br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<br>
<o:p></o:p></div>
<pre style="margin: 0cm 0cm 0.0001pt; font-size: 10pt; font-family: 'Courier New'; ">-- <o:p></o:p></pre>
<pre style="margin: 0cm 0cm 0.0001pt; font-size: 10pt; font-family: 'Courier New'; ">Michael Balzer * Paradestr. 8 * D-42107 Wuppertal<o:p></o:p></pre>
<pre style="margin: 0cm 0cm 0.0001pt; font-size: 10pt; font-family: 'Courier New'; ">Fon 0202 / 272 2201 * Handy 0176 / 206 989 26<o:p></o:p></pre>
<div style="margin: 0cm 0cm 0.0001pt;
font-size: 12pt; font-family: 'Times
New Roman', serif; "><br>
<br>
<br>
<o:p></o:p></div>
<pre style="margin: 0cm 0cm 0.0001pt; font-size: 10pt; font-family: 'Courier New'; ">_______________________________________________<o:p></o:p></pre>
<pre style="margin: 0cm 0cm 0.0001pt; font-size: 10pt; font-family: 'Courier New'; ">OvmsDev mailing list<o:p></o:p></pre>
<pre style="margin: 0cm 0cm 0.0001pt; font-size: 10pt; font-family: 'Courier New'; "><a moz-do-not-send="true" href="mailto:OvmsDev@lists.teslaclub.hk" style="color: purple; text-decoration: underline; ">OvmsDev@lists.teslaclub.hk</a><o:p></o:p></pre>
<pre style="margin: 0cm 0cm 0.0001pt; font-size: 10pt; font-family: 'Courier New'; "><a moz-do-not-send="true" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" style="color: purple; text-decoration: underline; ">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><o:p></o:p></pre>
</blockquote>
<div style="margin: 0cm 0cm 0.0001pt;
font-size: 12pt; font-family: 'Times
New Roman', serif; "><br>
<br>
<o:p></o:p></div>
<pre style="margin: 0cm 0cm 0.0001pt; font-size: 10pt; font-family: 'Courier New'; ">-- <o:p></o:p></pre>
<pre style="margin: 0cm 0cm 0.0001pt; font-size: 10pt; font-family: 'Courier New'; ">Michael Balzer * Paradestr. 8 * D-42107 Wuppertal<o:p></o:p></pre>
<pre style="margin: 0cm 0cm 0.0001pt; font-size: 10pt; font-family: 'Courier New'; ">Fon 0202 / 272 2201 * Handy 0176 / 206 989 26<o:p></o:p></pre>
</div>
_______________________________________________<br>
OvmsDev mailing list<br>
<a moz-do-not-send="true"
href="mailto:OvmsDev@lists.teslaclub.hk"
style="color: purple; text-decoration:
underline; ">OvmsDev@lists.teslaclub.hk</a><br>
<a moz-do-not-send="true"
href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev"
style="color: purple; text-decoration:
underline; ">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a></div>
</blockquote>
</div>
<br>
</div>
</div>
_______________________________________________<br>
OvmsDev mailing list<br>
<a moz-do-not-send="true"
href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br>
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
</blockquote>
</div>
<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OvmsDev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Michael Balzer * Paradestr. 8 * D-42107 Wuppertal
Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
</pre>
</div>
</blockquote>
<blockquote type="cite">
<div><dexter.vcf></div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>OvmsDev mailing list</span><br>
<span><a moz-do-not-send="true"
href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a></span><br>
<span><a moz-do-not-send="true"
href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a></span><br>
</div>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a>
<a class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Michael Balzer * Paradestr. 8 * D-42107 Wuppertal
Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
</pre>
</body>
</html>