<div dir="ltr">.. As to whether this is correct for my i5: it might actually be correct.<br><div>My i5 seems to have 180 of a possible 192 cells. It seems that it's likely there are 12 cell packs  in a module (<a href="https://insideevs.com/news/539940/hyundai-ioniq5-battery-pack-opened/">https://insideevs.com/news/539940/hyundai-ioniq5-battery-pack-opened/</a>)</div><div>Which possibly means they still have a temperature sensor for the unfilled module!? Which would make this correct!</div><div>I wonder if I should cap the temperature sensors based on the number of battery packs?</div><div>Anyway.</div><div>Should I try and reduce the height of that last module entry?</div><div><br></div><div>//.ichael</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 1 Nov 2022 at 07:19, Michael Geddes <<a href="mailto:frog@bunyip.wheelycreek.net">frog@bunyip.wheelycreek.net</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 dir="ltr">Hi all,<br><div><br></div><div>I'll create a PR soon, but just wanted to ask something first.</div><div><br></div><div>I've made the 'bms' command so that it will work with temperature OR voltages and only display that one column. For example:</div><div><font face="monospace">OVMS# bms<br>Temperature:<br>    Average:   3.6C [  3.6C -   3.6C]<br>  Deviation: SD   0.00C  [max 0.48C], 0 warnings, 0 alerts<br>Cells:<br>    +--------+<br>  1 |  14.0C |<br>    +--------+<br>  2 |  14.0C |<br>    +--------+<br>  3 |  14.0C |<br>    +--------+<br>  4 |  15.0C |<br>    +--------+<br>  5 |  14.0C |<br>    +--------+<br>  6 |   3.6C |<br>    +--------+<br>  7 |   3.6C |<br>    +--------+<br>  8 |   3.6C |<br>    +--------+<br>  9 |   3.6C |<br>    +--------+<br> 10 |   3.6C |<br>    +--------+<br> 11 |   3.6C |<br>    +--------+<br> 12 |   3.6C |<br>    +--------+<br> 13 |   3.6C |<br>    +--------+<br> 14 |   3.6C |<br>    +--------+<br> 15 |   3.6C |<br>    +--------+<br> 16 |   3.6C |<br>    +--------+</font><br></div><div>The other improvement I'm trying, and want some feedback on is when you have readings-per-module set > 4. Here I don't have it set quite right.. but you get the idea.  The setting is at 12, which ends up being quite wide (yes, there's one temperature sensor off on its own, so my setting is not quite right yet).</div><div>At the moment the column count is capped at 4 (and will cope with it not dividing properly), but the idea would be something along the lines of trying n % 3 and n % 5 first and then 4. So cap the column count at 3, 5 or 4 depending.  The idea is that this becomes readable in the APP! </div><div>Thoughts?</div><div><br></div><div><font face="monospace">OVMS# bms<br>Voltage:<br>    Average: 3.632V [3.620V - 3.640V]<br>  Deviation: SD   9.75mV [max 0.00mV], 0 warnings, 0 alerts<br>Temperature:<br>    Average:  14.0C [ 13.0C -  15.0C]<br>  Deviation: SD   0.35C  [max 0.48C], 0 warnings, 0 alerts<br>Cells:<br>    +-----------------------------+--------+<br>  1 | 3.640V 3.640V 3.640V 3.640V |  14.0C |<br>    | 3.640V 3.620V 3.640V 3.640V |        |<br>    | 3.640V 3.640V 3.640V 3.620V |        |<br>    +-----------------------------+--------+<br>  2 | 3.620V 3.620V 3.640V 3.640V |  14.0C |<br>    | 3.620V 3.620V 3.640V 3.640V |        |<br>    | 3.640V 3.640V 3.640V 3.620V |        |<br>    +-----------------------------+--------+<br>  3 | 3.620V 3.640V 3.640V 3.640V |  14.0C |<br>    | 3.640V 3.620V 3.640V 3.640V |        |<br>    | 3.640V 3.640V 3.640V 3.620V |        |<br>    +-----------------------------+--------+<br>  4 | 3.620V 3.640V 3.640V 3.640V |  14.0C |<br>    | 3.640V 3.620V 3.640V 3.640V |        |<br>    | 3.640V 3.640V 3.620V 3.620V |        |<br>    +-----------------------------+--------+<br>  5 | 3.620V 3.620V 3.640V 3.640V |  14.0C |<br>    | 3.640V 3.640V 3.640V 3.640V |        |<br>    | 3.640V 3.640V 3.620V 3.620V |        |<br>    +-----------------------------+--------+<br>  6 | 3.640V 3.640V 3.640V 3.640V |  15.0C |<br>    | 3.640V 3.620V 3.620V 3.640V |        |<br>    | 3.640V 3.620V 3.620V 3.620V |        |<br>    +-----------------------------+--------+<br>  7 | 3.640V 3.640V 3.640V 3.640V |  13.0C |<br>    | 3.620V 3.620V 3.620V 3.620V |        |<br>    | 3.640V 3.640V 3.620V 3.620V |        |<br>    +-----------------------------+--------+<br>  8 | 3.620V 3.640V 3.620V 3.640V |  14.0C |<br>    | 3.640V 3.620V 3.620V 3.620V |        |<br>    | 3.640V 3.640V 3.620V 3.620V |        |<br>    +-----------------------------+--------+<br>  9 | 3.640V 3.640V 3.640V 3.640V |  14.0C |<br>    | 3.620V 3.620V 3.620V 3.620V |        |<br>    | 3.640V 3.620V 3.640V 3.640V |        |<br>    +-----------------------------+--------+<br> 10 | 3.620V 3.640V 3.640V 3.620V |  14.0C |<br>    | 3.640V 3.620V 3.640V 3.640V |        |<br>    | 3.640V 3.640V 3.640V 3.640V |        |<br>    +-----------------------------+--------+<br> 11 | 3.620V 3.640V 3.640V 3.640V |  14.0C |<br>    | 3.640V 3.620V 3.640V 3.640V |        |<br>    | 3.620V 3.620V 3.640V 3.620V |        |<br>    +-----------------------------+--------+<br> 12 | 3.620V 3.620V 3.620V 3.620V |  14.0C |<br>    | 3.620V 3.620V 3.640V 3.640V |        |<br>    | 3.640V 3.640V 3.640V 3.620V |        |<br>    +-----------------------------+--------+<br> 13 | 3.620V 3.620V 3.640V 3.640V |  14.0C |<br>    | 3.640V 3.620V 3.620V 3.640V |        |<br>    | 3.640V 3.640V 3.640V 3.620V |        |<br>    +-----------------------------+--------+<br> 14 | 3.620V 3.620V 3.640V 3.640V |  14.0C |<br>    | 3.620V 3.620V 3.620V 3.620V |        |<br>    | 3.620V 3.620V 3.640V 3.620V |        |<br>    +-----------------------------+--------+<br> 15 | 3.620V 3.640V 3.640V 3.640V |  14.0C |<br>    | 3.640V 3.640V 3.640V 3.640V |        |<br>    | 3.640V 3.640V 3.640V 3.640V |        |<br>    +-----------------------------+--------+<br> 16 |                             |  14.0C |<br>    |                             |        |<br>    |                             |        |<br>    +-----------------------------+--------+<br>OVMS#</font><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>
</blockquote></div>