victronenergy / gui-v2

Other
20 stars 9 forks source link

Parallel Lynx BMS: Show that Lynx BMS is waiting to connect to a parallel system #1269

Open ReinvdZee opened 3 weeks ago

ReinvdZee commented 3 weeks ago

See this issue, we'd like to show that a Lynx BMS is waiting to connect to the system. Currently, the BMS summary just shows its Soc, voltage and current (0A, because its not connected).

Instead, the following should be displayed:

Paths ~~When the BMS is in the waiting state, the path /State will be 18, which is a new state dedicated for this situation. The voltage delta can be calculated from the physical BMS voltage and the parallel BMS voltage: Voltage delta = com.victronenergy.battery.lynxparallelx/Dc/0/Voltage - com.victronenergy.battery.socketcan_.../Dc/0/Voltage~~

And since its a delta, should we take the absolute value of it? @mpvader ?

The voltage threshold will be reported in the path /ParallelConnectThreshold, but this must be added to vecan, so the issue is currently blocked.

UPDATE

We've changed "Waiting" into "Pending" and made some more changes. See https://github.com/victronenergy/venus/issues/1283 and slack for the discussions.

A new state with value 18 is added to the BMS to represent this state. The implementation must be as follows:

When the path /State is 18:

Gui-v1 screenshots:

image image

mpvader commented 3 weeks ago

A delta? I thought we were going to show the absolute values.

ReinvdZee commented 3 weeks ago

A delta? I thought we were going to show the absolute values.

In the meeting of 04-06, we decided to show the voltage delta + threshold on Gui-v2. On V1 we show the system voltage.

ReinvdZee commented 2 weeks ago

I've updated the original issue description and removed the blocked label.

@blammit @chriadam @DanielMcInnes

DanielMcInnes commented 3 days ago

Hi @ReinvdZee , I'm having trouble debugging my issue with the replay files you sent me. The 2 BMSes don't show up for me in gui-v2, the data for them is not published over mqtt. I think it will be easier to debug this issue on the 'Lynx smart BMS parallel - test setup' we were using last week, with a BMS in 'Pending' state. (On that cerbo, the 2 BMSes do show up for me via mqtt).