<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Steve,<br>
<br>
side note: according to the "received" headers it seems you're
sending all messages twice, please check your mail client/setup.<br>
<br>
Most cars have some live status frames (called "process data
objects" in CANopen), some need polling. Nearly all car adaptions
use OBD polling to retreive extended info. Polling is necessary on
the OBD2 variant of the VW e-Up, and IIRC also on the newer Nissan
Leaf models.<br>
<br>
I suggest looking at the e-Up OBD for reference first, as it uses
only polling and is simple & clean.<br>
<br>
Having no status frames means you may also need to poll to detect
the vehicle power status, but that may keep the car alive and drain
the 12V battery. The e-Up OBD variant uses the 12V level as a hint,
maybe that's an option for you as well.<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<div class="moz-cite-prefix">Am 05.12.20 um 14:07 schrieb Steve
Davies:<br>
</div>
<blockquote type="cite"
cite="mid:CABFTEGU2CNzcyY20vn4xRYXC__rmYXu31=PA9pvzMrDdVLXSZw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr"><img
src="https://api2.activeinboxhq.com/1.0/anon/rr/f9378c7c8e1c6a2a39c20f825aebdfe1"
style="display:none !important" moz-do-not-send="true"
width="1" height="1">Hi Michael,
<div><br>
</div>
<div>Thanks for the reply. I was able to flash my build OTA
using the web server on my laptop and it's running with no
trouble.</div>
<div><br>
</div>
<div>So far I have added a "stub" for the i3 as per the docs.
It is selectable on the OVMS but of course doesn't produce any
data.</div>
<div><br>
</div>
<div>On the i3 you have to send in obd2 requests in order to get
data - I think other cars just chatter away unprompted.</div>
<div><br>
</div>
<div>Is there another vehicle type that works similarly so I can
look at the code to see how it should be done?</div>
<div><br>
</div>
<div>I'm hoping that I can poll the rapidly changing stuff
frequently and then the more static pids maybe once a minute
or something.</div>
<div><br>
</div>
<div>Steve</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, 5 Dec 2020 at 13:52,
Michael Balzer <<a href="mailto:dexter@expeedo.de"
moz-do-not-send="true">dexter@expeedo.de</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> Steve,<br>
<br>
I know of no case of bricking by flashing the firmware.<br>
<br>
Using the developing environment, a simple "make app-flash"
will do the esptool call for you.<br>
<br>
Of course you can also flash OTA. I usually flash my
desk/development module by USB and the one in my car via
Wifi from my local server. It's up to you. Flashing OTA can
only update the firmware, but that's normally sufficient.<br>
<br>
The "-dirty" tag is appended when building from a "dirty"
working tree, i.e. one with uncommitted changes.<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<div>Am 05.12.20 um 11:40 schrieb Steve Davies:<br>
</div>
<blockquote type="cite">
<div dir="ltr"><img
src="https://ci6.googleusercontent.com/proxy/KmmgLchuLMc_XQYS1E1mJvv7xhHbiU7RMSAAcGEsnXGYxVXXdxNHIaOLnXxVw5FUivHDX6a_Y445Twp_vZxtePm7Ijrbw656rIz-KrR1lupgWKqJA1Ikg4B6P_sJMw=s0-d-e1-ft#https://api2.activeinboxhq.com/1.0/anon/rr/82bdc39965be8549977abb67e85a12df"
style="display: none;" moz-do-not-send="true"
width="1" height="1">Hi Mark et-al,
<div><br>
</div>
<div>I've installed the esp32 and the esp-idf
environments on my Mac and successfully build the OVMS
firmware.</div>
<div><br>
</div>
<div>
<div>
<div>In the developer guide it then covers how to
flash the box with esptool.</div>
</div>
</div>
<div><br>
</div>
<div>But: do I need to do that? - my OVMS box is up and
running already - </div>
<div><br>
</div>
<div>I'm guessing I can use OTA update to update with </div>
<div><br>
</div>
<div><font face="monospace">steve@maximus OVMS.V3 % ls
-l build/ovms3.bin<br>
-rw-r--r-- 1 steve staff 2986336 Dec 5 12:24
build/ovms3.bin</font><br>
</div>
<div><font face="monospace"><br>
</font></div>
<div><font face="arial, sans-serif">?</font></div>
<div><font face="arial, sans-serif"><br>
</font></div>
<div><font face="arial, sans-serif">Since the "flash
from web" and and "flash from file" are looking for
an ovms.bin.</font></div>
<div><font face="arial, sans-serif"><br>
</font></div>
<div><font face="arial, sans-serif">Nervous to brick my
box since it was expensive to get it to Cape Town.</font></div>
<div><font face="arial, sans-serif"><br>
</font></div>
<div><font face="arial, sans-serif">By the way, my build
prints 'App "ovms3" version:
3.2.015-162-g10232c58-dirty'</font></div>
<div><br>
</div>
<div><font face="arial, sans-serif">I recognise the git
commit hash, but what is the "-dirty"?</font></div>
<div><font face="arial, sans-serif"><br>
</font></div>
<div><font face="arial, sans-serif">(I build a "bmwi3"
branch of a fork of the original project - maybe
that answers my own question?)</font></div>
<div><font face="arial, sans-serif"><br>
</font></div>
<div>My OVMS box currently says it's running "<span>3.2.015/ota_0/main
(build idf v3.3.2-881-g22d636b7b Sep 2 2020
08:32:35)"</span></div>
<div><font face="arial, sans-serif"><br>
</font></div>
<div><font face="arial, sans-serif">Thanks,</font></div>
<div><font face="arial, sans-serif">Steve</font></div>
<div><font face="arial, sans-serif"><br>
</font></div>
<div><font face="arial, sans-serif"><br>
</font></div>
<div><font face="arial, sans-serif"><br>
</font></div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
OvmsDev mailing list
<a href="mailto:OvmsDev@lists.openvehicles.com" target="_blank" moz-do-not-send="true">OvmsDev@lists.openvehicles.com</a>
<a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" target="_blank" moz-do-not-send="true">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br>
<pre cols="72">--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26</pre>
</div>
_______________________________________________<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"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br>
</blockquote>
</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>