<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Derek,<br>
<br>
nice work! So the "first" once again goes to the Leaf :-)<br>
<br>
Of course you can extend the V2 message protocol. Maybe introduce a
new message type for that, as "S" and "D" already are quite loaded.<br>
<br>
The grid log already contains the generator metrics and should be
triggered by a change to the gen state metric as well. That's meant
to log sessions though, not to transport live data.<br>
<br>
Car support shouldn't be a parameter (= user config) though, it
should be a property of the car adaption. Car capabilities have been
on the rework todo list for some time.<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<div class="moz-cite-prefix">Am 24.05.21 um 08:58 schrieb Derek
Caudwell:<br>
</div>
<blockquote type="cite"
cite="mid:CAKUcfWFW4Bb9ov-TDJnanCUGaZ1G1Wmu1_eWj8pYDjbqRmuspQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto">Hi all,
<div dir="auto"><br>
</div>
<div dir="auto">In case it is helpful to others here is a sample
output of the V2G metrics populated for the Leaf from a recent
session. Note I've opted for presenting the Chademo voltage,
current and power output (as the grid voltage and inverter
efficiency is not known -external to car- but nominal grid
voltage could be set with a parameter and then calculated).</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div dir="auto">v.g.climit
19.8939A</div>
<div dir="auto">v.g.current
7.5A</div>
<div dir="auto">v.g.duration.empty
533Min</div>
<div dir="auto">v.g.duration.range</div>
<div dir="auto">v.g.duration.soc</div>
<div dir="auto">v.g.efficiency</div>
<div dir="auto">v.g.generating yes</div>
<div dir="auto">v.g.kwh
0.0562549kWh</div>
<div dir="auto">v.g.kwh.grid</div>
<div dir="auto">v.g.kwh.grid.total</div>
<div dir="auto">v.g.limit.range</div>
<div dir="auto">v.g.limit.soc</div>
<div dir="auto">v.g.mode
standard</div>
<div dir="auto">v.g.pilot
yes</div>
<div dir="auto">v.g.power
2.8275kW</div>
<div dir="auto">v.g.state
exporting</div>
<div dir="auto">v.g.substate
onrequest</div>
<div dir="auto">v.g.temp</div>
<div dir="auto">v.g.time
104Sec</div>
<div dir="auto">v.g.timermode</div>
<div dir="auto">v.g.timerstart</div>
<div dir="auto">v.g.type
chademo</div>
<div dir="auto">v.g.voltage
377V</div>
<div dir="auto"><br>
</div>
<div dir="auto">Michael, is it possible to have v.g metrics
added to the V2 server message format for incorporating into
the ovms app?</div>
<div dir="auto"><br>
</div>
<div dir="auto">Is it worth having a parameter to indicate car
support for V2G functionality?</div>
<div dir="auto"><br>
</div>
<div dir="auto">Cheers Derek </div>
</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>