<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Nikolay,<br>
<br>
<div class="moz-cite-prefix">Am 06.08.2018 um 21:59 schrieb Nikolay
Shishkov:<br>
</div>
<blockquote type="cite"
cite="mid:1150938657.3350315.1533585546469@mail.yahoo.com">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div style="font-family:Helvetica Neue, Helvetica, Arial,
sans-serif;font-size:13px;">
<div style="font-family:Helvetica Neue, Helvetica, Arial,
sans-serif;font-size:13px;">
<div style="font-family:Helvetica Neue, Helvetica, Arial,
sans-serif;font-size:13px;">
<div>I am looking at ways to communicated some status data
that would be helpful to the driver of the Think.</div>
<div>Stuff like:</div>
<div> - estimated time to charge to 100%</div>
<div> - average kwh/km for a trip (or maybe even lifetime?)</div>
<div> - min, avg, max cell values for cars with lithium
packs</div>
<div> - maybe even a bar graphs that show all cell voltages
and temperatures</div>
<div> - possibility to run simple diagnostics - like show
error codes, send error codes to e-mail, reset error codes</div>
<div> - producing/sharing a log of trips with essential data
(distance, kwh used, and some stats - speed, kW,
temperatures)</div>
<div><br>
</div>
<div>I can see some very interesting stuff in the dashboard,
and some of the pages for Twizy and Kia... and would
appreciate some ideas on how to implement some of these. </div>
<div>For example estimated time to end of charge is
something I would like to be visible in the app, while
diagnostics could be enough to be a web page. </div>
<div>What is the easiest or the best way to extend the
information shown in the app? In the simplest possible way
- no graphics, just a list a name and value?</div>
<div><br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
The web UI is easy to extend, as it's all in the module and common
for all clients. All metrics are in the websocket stream and
mirrored in the browser in the javascript object "metrics". I yet
need to write some documentation on the web framework, but I think
it's pretty easy to understand and use by looking at the existing
pages.<br>
<br>
Adding some hook for simple dashboard extensions is on my list
(issue #89). Charge time estimations and trip average consumption
are general candidates for the dashboard.<br>
<br>
Regarding the trip log, have a look at
OvmsVehicleRenaultTwizy::SendTripLog(), that's my implementation of
this feature. It logs all trips and charges (including charge
phases) on the server with 365 days hold time.<br>
<br>
Adding to the Apps needs a bit more effort, especially as Android
and iOS are separate developments. The Android App has a shell, so
you can access all shell commands and provide textual info easily by
implementing custom commands. It also displays charge time
estimations and has some extended charts for battery cell
diagnostics and trip power/energy. Those are currently tailored to
the Twizy record structures, but can be the base for general
functions.<br>
<br>
Regards,<br>
Michael<br>
<br>
<pre class="moz-signature" cols="160">--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
</body>
</html>