[23_BYDBox] - Modul für BYD Box Battery

Begonnen von MiniBlister, 14 Juni 2021, 18:37:02

Vorheriges Thema - Nächstes Thema

MadMax

Zitat von: Prof. Dr. Peter Henning am 12 August 2024, 09:57:44
ZitatBattery_1_ChargeE      7214156
Battery_1_DischargeE   5811093
Zunächst einmal muss klar sein, dass der Speicher verlustbehaftet ist: Es kommt immer weniger heraus, als hineingeladen wurde.
Das einerseits mit der Umwandlung der an den Speicher gelieferten Spannung durch das BMS zu tun, und andererseits damit, dass die Bewegung der Ionen natürlich mit Reibung verbunden ist (merkt man daran, das sowohl beim Laden, als auch beim Entladen die Temperatur des Speichers ansteigt).

Das kann sollte in der Regel nur bei ca. 10% liegen, während diese Zahlen beinahe doppelt so groß sind. Sollte man mal überwachen.

Ich habe das gerade bei mir implementiert, vergleiche sowohl die aus der Leistung integrierten Energiewerte (rein und raus separat) als auch die vom Speicher gemeldeten Daten.

LG

pah

Hast du schon Werte für uns?
Lenovo M910Q Tiny Debian 12, FHEM 6.3, 2x Siemens Logo 0BA7, Homematic CCU3, Philips HUE, 5x SMA Wechselrichter, BYD HVM, SMA EVCharger, Daikin Wärmepumpe über CAN

Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/MadMax

MadMax

Gestern war wieder so ein Tag, der Speicher war nachs leer und wurde bis 80% geladen.

Du darfst diesen Dateianhang nicht ansehen.

Die Differenz zwischen Wechselrichter und BYD ist beim Laden schon extrem.
Lenovo M910Q Tiny Debian 12, FHEM 6.3, 2x Siemens Logo 0BA7, Homematic CCU3, Philips HUE, 5x SMA Wechselrichter, BYD HVM, SMA EVCharger, Daikin Wärmepumpe über CAN

Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/MadMax

Prof. Dr. Peter Henning

Klar hab ich Daten:

https://forum.fhem.de/index.php?msg=1318226

Einfach mal die Energiedaten von der BYDBox mit 1.2 multiplizieren und sehen, was rauskommt.

LG

pah

FhemPiUser

Vielen Dank nochmal an den Entwickler für das Modul, nutze es jetzt auch erfolgreich.

FhemPiUser

#259
Vielen Dank MadMax für das Modul und die uiTable-Templates, ich habe noch zusätzlich die Max/Min-Werte (attr statistics 1) als cylinderBars ausgewertet für Spannung und Temperatur. Dann sieht man ganz gut, ob die Zellen ausgeglichen geladen werden.

Code und Screenshots siehe unten.

{package ui_Table;

sub col_min {
  return 90;
}

sub col_max {
  return 180;
}

}

cylinder_bars("BYD Modul 1",2700,3700,"mV",700,undef,undef,0,
[myBYDBox:Battery_1_VoltsperCell_000_min],col_min(),"0",
[myBYDBox:Battery_1_VoltsperCell_000_max],col_max(),"0",
[myBYDBox:Battery_1_VoltsperCell_001_min],col_min(),"1",
[myBYDBox:Battery_1_VoltsperCell_001_max],col_max(),"1",
[myBYDBox:Battery_1_VoltsperCell_002_min],col_min(),"2",
[myBYDBox:Battery_1_VoltsperCell_002_max],col_max(),"2",
[myBYDBox:Battery_1_VoltsperCell_003_min],col_min(),"3",
[myBYDBox:Battery_1_VoltsperCell_003_max],col_max(),"3",
[myBYDBox:Battery_1_VoltsperCell_004_min],col_min(),"4",
[myBYDBox:Battery_1_VoltsperCell_004_max],col_max(),"4",
[myBYDBox:Battery_1_VoltsperCell_005_min],col_min(),"5",
[myBYDBox:Battery_1_VoltsperCell_005_max],col_max(),"5",
[myBYDBox:Battery_1_VoltsperCell_006_min],col_min(),"6",
[myBYDBox:Battery_1_VoltsperCell_006_max],col_max(),"6",
[myBYDBox:Battery_1_VoltsperCell_007_min],col_min(),"7",
[myBYDBox:Battery_1_VoltsperCell_007_max],col_max(),"7",
[myBYDBox:Battery_1_VoltsperCell_008_min],col_min(),"8",
[myBYDBox:Battery_1_VoltsperCell_008_max],col_max(),"8",
[myBYDBox:Battery_1_VoltsperCell_009_min],col_min(),"9",
[myBYDBox:Battery_1_VoltsperCell_009_max],col_max(),"9",
[myBYDBox:Battery_1_VoltsperCell_010_min],col_min(),"10",
[myBYDBox:Battery_1_VoltsperCell_010_max],col_max(),"10",
[myBYDBox:Battery_1_VoltsperCell_011_min],col_min(),"11",
[myBYDBox:Battery_1_VoltsperCell_011_max],col_max(),"11",
[myBYDBox:Battery_1_VoltsperCell_012_min],col_min(),"12",
[myBYDBox:Battery_1_VoltsperCell_012_max],col_max(),"12",
[myBYDBox:Battery_1_VoltsperCell_013_min],col_min(),"13",
[myBYDBox:Battery_1_VoltsperCell_013_max],col_max(),"13",
[myBYDBox:Battery_1_VoltsperCell_014_min],col_min(),"14",
[myBYDBox:Battery_1_VoltsperCell_014_max],col_max(),"14",
[myBYDBox:Battery_1_VoltsperCell_015_min],col_min(),"15",
[myBYDBox:Battery_1_VoltsperCell_015_max],col_max(),"15",
[myBYDBox:Battery_1_VoltsperCell_016_min],col_min(),"16",
[myBYDBox:Battery_1_VoltsperCell_016_max],col_max(),"16",
[myBYDBox:Battery_1_VoltsperCell_017_min],col_min(),"17",
[myBYDBox:Battery_1_VoltsperCell_017_max],col_max(),"17",
[myBYDBox:Battery_1_VoltsperCell_018_min],col_min(),"18",
[myBYDBox:Battery_1_VoltsperCell_018_max],col_max(),"18",
[myBYDBox:Battery_1_VoltsperCell_019_min],col_min(),"19",
[myBYDBox:Battery_1_VoltsperCell_019_max],col_max(),"19",
[myBYDBox:Battery_1_VoltsperCell_020_min],col_min(),"20",
[myBYDBox:Battery_1_VoltsperCell_020_max],col_max(),"20",
[myBYDBox:Battery_1_VoltsperCell_021_min],col_min(),"21",
[myBYDBox:Battery_1_VoltsperCell_021_max],col_max(),"21",
[myBYDBox:Battery_1_VoltsperCell_022_min],col_min(),"22",
[myBYDBox:Battery_1_VoltsperCell_022_max],col_max(),"22",
[myBYDBox:Battery_1_VoltsperCell_023_min],col_min(),"23",
[myBYDBox:Battery_1_VoltsperCell_023_max],col_max(),"23",
[myBYDBox:Battery_1_VoltsperCell_024_min],col_min(),"24",
[myBYDBox:Battery_1_VoltsperCell_024_max],col_max(),"24",
[myBYDBox:Battery_1_VoltsperCell_025_min],col_min(),"25",
[myBYDBox:Battery_1_VoltsperCell_025_max],col_max(),"25",
[myBYDBox:Battery_1_VoltsperCell_026_min],col_min(),"26",
[myBYDBox:Battery_1_VoltsperCell_026_max],col_max(),"26",
[myBYDBox:Battery_1_VoltsperCell_027_min],col_min(),"27",
[myBYDBox:Battery_1_VoltsperCell_027_max],col_max(),"27",
[myBYDBox:Battery_1_VoltsperCell_028_min],col_min(),"28",
[myBYDBox:Battery_1_VoltsperCell_028_max],col_max(),"28",
[myBYDBox:Battery_1_VoltsperCell_029_min],col_min(),"29",
[myBYDBox:Battery_1_VoltsperCell_029_max],col_max(),"29",
[myBYDBox:Battery_1_VoltsperCell_030_min],col_min(),"30",
[myBYDBox:Battery_1_VoltsperCell_030_max],col_max(),"30",
[myBYDBox:Battery_1_VoltsperCell_031_min],col_min(),"31",
[myBYDBox:Battery_1_VoltsperCell_031_max],col_max(),"31") |


cylinder_bars("BYD Modul 2",2700,3700,"mV",700,undef,undef,0,
[myBYDBox:Battery_1_VoltsperCell_032_min],col_min(),"0",
[myBYDBox:Battery_1_VoltsperCell_032_max],col_max(),"0",
[myBYDBox:Battery_1_VoltsperCell_033_min],col_min(),"1",
[myBYDBox:Battery_1_VoltsperCell_033_max],col_max(),"1",
[myBYDBox:Battery_1_VoltsperCell_034_min],col_min(),"2",
[myBYDBox:Battery_1_VoltsperCell_034_max],col_max(),"2",
[myBYDBox:Battery_1_VoltsperCell_035_min],col_min(),"3",
[myBYDBox:Battery_1_VoltsperCell_035_max],col_max(),"3",
[myBYDBox:Battery_1_VoltsperCell_036_min],col_min(),"4",
[myBYDBox:Battery_1_VoltsperCell_036_max],col_max(),"4",
[myBYDBox:Battery_1_VoltsperCell_037_min],col_min(),"5",
[myBYDBox:Battery_1_VoltsperCell_037_max],col_max(),"5",
[myBYDBox:Battery_1_VoltsperCell_038_min],col_min(),"6",
[myBYDBox:Battery_1_VoltsperCell_038_max],col_max(),"6",
[myBYDBox:Battery_1_VoltsperCell_039_min],col_min(),"7",
[myBYDBox:Battery_1_VoltsperCell_039_max],col_max(),"7",
[myBYDBox:Battery_1_VoltsperCell_040_min],col_min(),"8",
[myBYDBox:Battery_1_VoltsperCell_040_max],col_max(),"8",
[myBYDBox:Battery_1_VoltsperCell_041_min],col_min(),"9",
[myBYDBox:Battery_1_VoltsperCell_041_max],col_max(),"9",
[myBYDBox:Battery_1_VoltsperCell_042_min],col_min(),"10",
[myBYDBox:Battery_1_VoltsperCell_042_max],col_max(),"10",
[myBYDBox:Battery_1_VoltsperCell_043_min],col_min(),"11",
[myBYDBox:Battery_1_VoltsperCell_043_max],col_max(),"11",
[myBYDBox:Battery_1_VoltsperCell_044_min],col_min(),"12",
[myBYDBox:Battery_1_VoltsperCell_044_max],col_max(),"12",
[myBYDBox:Battery_1_VoltsperCell_045_min],col_min(),"13",
[myBYDBox:Battery_1_VoltsperCell_045_max],col_max(),"13",
[myBYDBox:Battery_1_VoltsperCell_046_min],col_min(),"14",
[myBYDBox:Battery_1_VoltsperCell_046_max],col_max(),"14",
[myBYDBox:Battery_1_VoltsperCell_047_min],col_min(),"15",
[myBYDBox:Battery_1_VoltsperCell_047_max],col_max(),"15",
[myBYDBox:Battery_1_VoltsperCell_048_min],col_min(),"16",
[myBYDBox:Battery_1_VoltsperCell_048_max],col_max(),"16",
[myBYDBox:Battery_1_VoltsperCell_049_min],col_min(),"17",
[myBYDBox:Battery_1_VoltsperCell_049_max],col_max(),"17",
[myBYDBox:Battery_1_VoltsperCell_050_min],col_min(),"18",
[myBYDBox:Battery_1_VoltsperCell_050_max],col_max(),"18",
[myBYDBox:Battery_1_VoltsperCell_051_min],col_min(),"19",
[myBYDBox:Battery_1_VoltsperCell_051_max],col_max(),"19",
[myBYDBox:Battery_1_VoltsperCell_052_min],col_min(),"20",
[myBYDBox:Battery_1_VoltsperCell_052_max],col_max(),"20",
[myBYDBox:Battery_1_VoltsperCell_053_min],col_min(),"21",
[myBYDBox:Battery_1_VoltsperCell_053_max],col_max(),"21",
[myBYDBox:Battery_1_VoltsperCell_054_min],col_min(),"22",
[myBYDBox:Battery_1_VoltsperCell_054_max],col_max(),"22",
[myBYDBox:Battery_1_VoltsperCell_055_min],col_min(),"23",
[myBYDBox:Battery_1_VoltsperCell_055_max],col_max(),"23",
[myBYDBox:Battery_1_VoltsperCell_056_min],col_min(),"24",
[myBYDBox:Battery_1_VoltsperCell_056_max],col_max(),"24",
[myBYDBox:Battery_1_VoltsperCell_057_min],col_min(),"25",
[myBYDBox:Battery_1_VoltsperCell_057_max],col_max(),"25",
[myBYDBox:Battery_1_VoltsperCell_058_min],col_min(),"26",
[myBYDBox:Battery_1_VoltsperCell_058_max],col_max(),"26",
[myBYDBox:Battery_1_VoltsperCell_059_min],col_min(),"27",
[myBYDBox:Battery_1_VoltsperCell_059_max],col_max(),"27",
[myBYDBox:Battery_1_VoltsperCell_060_min],col_min(),"28",
[myBYDBox:Battery_1_VoltsperCell_060_max],col_max(),"28",
[myBYDBox:Battery_1_VoltsperCell_061_min],col_min(),"29",
[myBYDBox:Battery_1_VoltsperCell_061_max],col_max(),"29",
[myBYDBox:Battery_1_VoltsperCell_062_min],col_min(),"30",
[myBYDBox:Battery_1_VoltsperCell_062_max],col_max(),"30",
[myBYDBox:Battery_1_VoltsperCell_063_min],col_min(),"31",
[myBYDBox:Battery_1_VoltsperCell_063_max],col_max(),"31") |

cylinder_bars("BYD Modul 3",2700,3700,"mV",700,undef,undef,0,
[myBYDBox:Battery_1_VoltsperCell_064_min],col_min(),"0",
[myBYDBox:Battery_1_VoltsperCell_064_max],col_max(),"0",
[myBYDBox:Battery_1_VoltsperCell_065_min],col_min(),"1",
[myBYDBox:Battery_1_VoltsperCell_065_max],col_max(),"1",
[myBYDBox:Battery_1_VoltsperCell_066_min],col_min(),"2",
[myBYDBox:Battery_1_VoltsperCell_066_max],col_max(),"2",
[myBYDBox:Battery_1_VoltsperCell_067_min],col_min(),"3",
[myBYDBox:Battery_1_VoltsperCell_067_max],col_max(),"3",
[myBYDBox:Battery_1_VoltsperCell_068_min],col_min(),"4",
[myBYDBox:Battery_1_VoltsperCell_068_max],col_max(),"4",
[myBYDBox:Battery_1_VoltsperCell_069_min],col_min(),"5",
[myBYDBox:Battery_1_VoltsperCell_069_max],col_max(),"5",
[myBYDBox:Battery_1_VoltsperCell_070_min],col_min(),"6",
[myBYDBox:Battery_1_VoltsperCell_070_max],col_max(),"6",
[myBYDBox:Battery_1_VoltsperCell_071_min],col_min(),"7",
[myBYDBox:Battery_1_VoltsperCell_071_max],col_max(),"7",
[myBYDBox:Battery_1_VoltsperCell_072_min],col_min(),"8",
[myBYDBox:Battery_1_VoltsperCell_072_max],col_max(),"8",
[myBYDBox:Battery_1_VoltsperCell_073_min],col_min(),"9",
[myBYDBox:Battery_1_VoltsperCell_073_max],col_max(),"9",
[myBYDBox:Battery_1_VoltsperCell_074_min],col_min(),"10",
[myBYDBox:Battery_1_VoltsperCell_074_max],col_max(),"10",
[myBYDBox:Battery_1_VoltsperCell_075_min],col_min(),"11",
[myBYDBox:Battery_1_VoltsperCell_075_max],col_max(),"11",
[myBYDBox:Battery_1_VoltsperCell_076_min],col_min(),"12",
[myBYDBox:Battery_1_VoltsperCell_076_max],col_max(),"12",
[myBYDBox:Battery_1_VoltsperCell_077_min],col_min(),"13",
[myBYDBox:Battery_1_VoltsperCell_077_max],col_max(),"13",
[myBYDBox:Battery_1_VoltsperCell_078_min],col_min(),"14",
[myBYDBox:Battery_1_VoltsperCell_078_max],col_max(),"14",
[myBYDBox:Battery_1_VoltsperCell_079_min],col_min(),"15",
[myBYDBox:Battery_1_VoltsperCell_079_max],col_max(),"15",
[myBYDBox:Battery_1_VoltsperCell_080_min],col_min(),"16",
[myBYDBox:Battery_1_VoltsperCell_080_max],col_max(),"16",
[myBYDBox:Battery_1_VoltsperCell_081_min],col_min(),"17",
[myBYDBox:Battery_1_VoltsperCell_081_max],col_max(),"17",
[myBYDBox:Battery_1_VoltsperCell_082_min],col_min(),"18",
[myBYDBox:Battery_1_VoltsperCell_082_max],col_max(),"18",
[myBYDBox:Battery_1_VoltsperCell_083_min],col_min(),"19",
[myBYDBox:Battery_1_VoltsperCell_083_max],col_max(),"19",
[myBYDBox:Battery_1_VoltsperCell_084_min],col_min(),"20",
[myBYDBox:Battery_1_VoltsperCell_084_max],col_max(),"20",
[myBYDBox:Battery_1_VoltsperCell_085_min],col_min(),"21",
[myBYDBox:Battery_1_VoltsperCell_085_max],col_max(),"21",
[myBYDBox:Battery_1_VoltsperCell_086_min],col_min(),"22",
[myBYDBox:Battery_1_VoltsperCell_086_max],col_max(),"22",
[myBYDBox:Battery_1_VoltsperCell_087_min],col_min(),"23",
[myBYDBox:Battery_1_VoltsperCell_087_max],col_max(),"23",
[myBYDBox:Battery_1_VoltsperCell_088_min],col_min(),"24",
[myBYDBox:Battery_1_VoltsperCell_088_max],col_max(),"24",
[myBYDBox:Battery_1_VoltsperCell_089_min],col_min(),"25",
[myBYDBox:Battery_1_VoltsperCell_089_max],col_max(),"25",
[myBYDBox:Battery_1_VoltsperCell_090_min],col_min(),"26",
[myBYDBox:Battery_1_VoltsperCell_090_max],col_max(),"26",
[myBYDBox:Battery_1_VoltsperCell_091_min],col_min(),"27",
[myBYDBox:Battery_1_VoltsperCell_091_max],col_max(),"27",
[myBYDBox:Battery_1_VoltsperCell_092_min],col_min(),"28",
[myBYDBox:Battery_1_VoltsperCell_092_max],col_max(),"28",
[myBYDBox:Battery_1_VoltsperCell_093_min],col_min(),"29",
[myBYDBox:Battery_1_VoltsperCell_093_max],col_max(),"29",
[myBYDBox:Battery_1_VoltsperCell_094_min],col_min(),"30",
[myBYDBox:Battery_1_VoltsperCell_094_max],col_max(),"30",
[myBYDBox:Battery_1_VoltsperCell_095_min],col_min(),"31",
[myBYDBox:Battery_1_VoltsperCell_095_max],col_max(),"31") |


cylinder_bars("BYD Modul 4",2700,3700,"mV",700,undef,undef,0,
[myBYDBox:Battery_1_VoltsperCell_096_min],col_min(),"0",
[myBYDBox:Battery_1_VoltsperCell_096_max],col_max(),"0",
[myBYDBox:Battery_1_VoltsperCell_097_min],col_min(),"1",
[myBYDBox:Battery_1_VoltsperCell_097_max],col_max(),"1",
[myBYDBox:Battery_1_VoltsperCell_098_min],col_min(),"2",
[myBYDBox:Battery_1_VoltsperCell_098_max],col_max(),"2",
[myBYDBox:Battery_1_VoltsperCell_099_min],col_min(),"3",
[myBYDBox:Battery_1_VoltsperCell_099_max],col_max(),"3",
[myBYDBox:Battery_1_VoltsperCell_100_min],col_min(),"4",
[myBYDBox:Battery_1_VoltsperCell_100_max],col_max(),"4",
[myBYDBox:Battery_1_VoltsperCell_101_min],col_min(),"5",
[myBYDBox:Battery_1_VoltsperCell_101_max],col_max(),"5",
[myBYDBox:Battery_1_VoltsperCell_102_min],col_min(),"6",
[myBYDBox:Battery_1_VoltsperCell_102_max],col_max(),"6",
[myBYDBox:Battery_1_VoltsperCell_103_min],col_min(),"7",
[myBYDBox:Battery_1_VoltsperCell_103_max],col_max(),"7",
[myBYDBox:Battery_1_VoltsperCell_104_min],col_min(),"8",
[myBYDBox:Battery_1_VoltsperCell_104_max],col_max(),"8",
[myBYDBox:Battery_1_VoltsperCell_105_min],col_min(),"9",
[myBYDBox:Battery_1_VoltsperCell_105_max],col_max(),"9",
[myBYDBox:Battery_1_VoltsperCell_106_min],col_min(),"10",
[myBYDBox:Battery_1_VoltsperCell_106_max],col_max(),"10",
[myBYDBox:Battery_1_VoltsperCell_107_min],col_min(),"11",
[myBYDBox:Battery_1_VoltsperCell_107_max],col_max(),"11",
[myBYDBox:Battery_1_VoltsperCell_108_min],col_min(),"12",
[myBYDBox:Battery_1_VoltsperCell_108_max],col_max(),"12",
[myBYDBox:Battery_1_VoltsperCell_109_min],col_min(),"13",
[myBYDBox:Battery_1_VoltsperCell_109_max],col_max(),"13",
[myBYDBox:Battery_1_VoltsperCell_110_min],col_min(),"14",
[myBYDBox:Battery_1_VoltsperCell_110_max],col_max(),"14",
[myBYDBox:Battery_1_VoltsperCell_111_min],col_min(),"15",
[myBYDBox:Battery_1_VoltsperCell_111_max],col_max(),"15",
[myBYDBox:Battery_1_VoltsperCell_112_min],col_min(),"16",
[myBYDBox:Battery_1_VoltsperCell_112_max],col_max(),"16",
[myBYDBox:Battery_1_VoltsperCell_113_min],col_min(),"17",
[myBYDBox:Battery_1_VoltsperCell_113_max],col_max(),"17",
[myBYDBox:Battery_1_VoltsperCell_114_min],col_min(),"18",
[myBYDBox:Battery_1_VoltsperCell_114_max],col_max(),"18",
[myBYDBox:Battery_1_VoltsperCell_115_min],col_min(),"19",
[myBYDBox:Battery_1_VoltsperCell_115_max],col_max(),"19",
[myBYDBox:Battery_1_VoltsperCell_116_min],col_min(),"20",
[myBYDBox:Battery_1_VoltsperCell_116_max],col_max(),"20",
[myBYDBox:Battery_1_VoltsperCell_117_min],col_min(),"21",
[myBYDBox:Battery_1_VoltsperCell_117_max],col_max(),"21",
[myBYDBox:Battery_1_VoltsperCell_118_min],col_min(),"22",
[myBYDBox:Battery_1_VoltsperCell_118_max],col_max(),"22",
[myBYDBox:Battery_1_VoltsperCell_119_min],col_min(),"23",
[myBYDBox:Battery_1_VoltsperCell_119_max],col_max(),"23",
[myBYDBox:Battery_1_VoltsperCell_120_min],col_min(),"24",
[myBYDBox:Battery_1_VoltsperCell_120_max],col_max(),"24",
[myBYDBox:Battery_1_VoltsperCell_121_min],col_min(),"25",
[myBYDBox:Battery_1_VoltsperCell_121_max],col_max(),"25",
[myBYDBox:Battery_1_VoltsperCell_122_min],col_min(),"26",
[myBYDBox:Battery_1_VoltsperCell_122_max],col_max(),"26",
[myBYDBox:Battery_1_VoltsperCell_123_min],col_min(),"27",
[myBYDBox:Battery_1_VoltsperCell_123_max],col_max(),"27",
[myBYDBox:Battery_1_VoltsperCell_124_min],col_min(),"28",
[myBYDBox:Battery_1_VoltsperCell_124_max],col_max(),"28",
[myBYDBox:Battery_1_VoltsperCell_125_min],col_min(),"29",
[myBYDBox:Battery_1_VoltsperCell_125_max],col_max(),"29",
[myBYDBox:Battery_1_VoltsperCell_126_min],col_min(),"30",
[myBYDBox:Battery_1_VoltsperCell_126_max],col_max(),"30",
[myBYDBox:Battery_1_VoltsperCell_127_min],col_min(),"31",
[myBYDBox:Battery_1_VoltsperCell_127_max],col_max(),"31")

{package ui_Table;

sub col_min {
  return 90;
}

sub col_max {
  return 180;
}

}

cylinder_bars("BYD Modul 1",21,31,"°C",300,undef,undef,0,
[myBYDBox:Battery_1_TempCell_00_min],col_min(),"0",
[myBYDBox:Battery_1_TempCell_00_max],col_max(),"0",
[myBYDBox:Battery_1_TempCell_01_min],col_min(),"1",
[myBYDBox:Battery_1_TempCell_01_max],col_max(),"1",
[myBYDBox:Battery_1_TempCell_02_min],col_min(),"2",
[myBYDBox:Battery_1_TempCell_02_max],col_max(),"2",
[myBYDBox:Battery_1_TempCell_03_min],col_min(),"3",
[myBYDBox:Battery_1_TempCell_03_max],col_max(),"3",
[myBYDBox:Battery_1_TempCell_04_min],col_min(),"4",
[myBYDBox:Battery_1_TempCell_04_max],col_max(),"4",
[myBYDBox:Battery_1_TempCell_05_min],col_min(),"5",
[myBYDBox:Battery_1_TempCell_05_max],col_max(),"5",
[myBYDBox:Battery_1_TempCell_06_min],col_min(),"6",
[myBYDBox:Battery_1_TempCell_06_max],col_max(),"6",
[myBYDBox:Battery_1_TempCell_07_min],col_min(),"7",
[myBYDBox:Battery_1_TempCell_07_max],col_max(),"7",
[myBYDBox:Battery_1_TempCell_08_min],col_min(),"8",
[myBYDBox:Battery_1_TempCell_08_max],col_max(),"8",
[myBYDBox:Battery_1_TempCell_09_min],col_min(),"9",
[myBYDBox:Battery_1_TempCell_09_max],col_max(),"9",
[myBYDBox:Battery_1_TempCell_10_min],col_min(),"10",
[myBYDBox:Battery_1_TempCell_10_max],col_max(),"10",
[myBYDBox:Battery_1_TempCell_11_min],col_min(),"11",
[myBYDBox:Battery_1_TempCell_11_max],col_max(),"11") |

cylinder_bars("BYD Modul 2",21,31,"°C",300,undef,undef,0,
[myBYDBox:Battery_1_TempCell_12_min],col_min(),"0",
[myBYDBox:Battery_1_TempCell_12_max],col_max(),"0",
[myBYDBox:Battery_1_TempCell_13_min],col_min(),"1",
[myBYDBox:Battery_1_TempCell_13_max],col_max(),"1",
[myBYDBox:Battery_1_TempCell_14_min],col_min(),"2",
[myBYDBox:Battery_1_TempCell_14_max],col_max(),"2",
[myBYDBox:Battery_1_TempCell_15_min],col_min(),"3",
[myBYDBox:Battery_1_TempCell_15_max],col_max(),"3",
[myBYDBox:Battery_1_TempCell_16_min],col_min(),"4",
[myBYDBox:Battery_1_TempCell_16_max],col_max(),"4",
[myBYDBox:Battery_1_TempCell_17_min],col_min(),"5",
[myBYDBox:Battery_1_TempCell_17_max],col_max(),"5",
[myBYDBox:Battery_1_TempCell_18_min],col_min(),"6",
[myBYDBox:Battery_1_TempCell_18_max],col_max(),"6",
[myBYDBox:Battery_1_TempCell_19_min],col_min(),"7",
[myBYDBox:Battery_1_TempCell_19_max],col_max(),"7",
[myBYDBox:Battery_1_TempCell_20_min],col_min(),"8",
[myBYDBox:Battery_1_TempCell_20_max],col_max(),"8",
[myBYDBox:Battery_1_TempCell_21_min],col_min(),"9",
[myBYDBox:Battery_1_TempCell_21_max],col_max(),"9",
[myBYDBox:Battery_1_TempCell_22_min],col_min(),"10",
[myBYDBox:Battery_1_TempCell_22_max],col_max(),"10",
[myBYDBox:Battery_1_TempCell_23_min],col_min(),"11",
[myBYDBox:Battery_1_TempCell_23_max],col_max(),"11") |

cylinder_bars("BYD Modul 3",21,31,"°C",300,undef,undef,0,
[myBYDBox:Battery_1_TempCell_24_min],col_min(),"0",
[myBYDBox:Battery_1_TempCell_24_max],col_max(),"0",
[myBYDBox:Battery_1_TempCell_25_min],col_min(),"1",
[myBYDBox:Battery_1_TempCell_25_max],col_max(),"1",
[myBYDBox:Battery_1_TempCell_26_min],col_min(),"2",
[myBYDBox:Battery_1_TempCell_26_max],col_max(),"2",
[myBYDBox:Battery_1_TempCell_27_min],col_min(),"3",
[myBYDBox:Battery_1_TempCell_27_max],col_max(),"3",
[myBYDBox:Battery_1_TempCell_28_min],col_min(),"4",
[myBYDBox:Battery_1_TempCell_28_max],col_max(),"4",
[myBYDBox:Battery_1_TempCell_29_min],col_min(),"5",
[myBYDBox:Battery_1_TempCell_29_max],col_max(),"5",
[myBYDBox:Battery_1_TempCell_30_min],col_min(),"6",
[myBYDBox:Battery_1_TempCell_30_max],col_max(),"6",
[myBYDBox:Battery_1_TempCell_31_min],col_min(),"7",
[myBYDBox:Battery_1_TempCell_31_max],col_max(),"7",
[myBYDBox:Battery_1_TempCell_32_min],col_min(),"8",
[myBYDBox:Battery_1_TempCell_32_max],col_max(),"8",
[myBYDBox:Battery_1_TempCell_33_min],col_min(),"9",
[myBYDBox:Battery_1_TempCell_33_max],col_max(),"9",
[myBYDBox:Battery_1_TempCell_34_min],col_min(),"10",
[myBYDBox:Battery_1_TempCell_34_max],col_max(),"10",
[myBYDBox:Battery_1_TempCell_35_min],col_min(),"11",
[myBYDBox:Battery_1_TempCell_35_max],col_max(),"11") |

cylinder_bars("BYD Modul 4",21,31,"°C",300,undef,undef,0,
[myBYDBox:Battery_1_TempCell_36_min],col_min(),"0",
[myBYDBox:Battery_1_TempCell_36_max],col_max(),"0",
[myBYDBox:Battery_1_TempCell_37_min],col_min(),"1",
[myBYDBox:Battery_1_TempCell_37_max],col_max(),"1",
[myBYDBox:Battery_1_TempCell_38_min],col_min(),"2",
[myBYDBox:Battery_1_TempCell_38_max],col_max(),"2",
[myBYDBox:Battery_1_TempCell_39_min],col_min(),"3",
[myBYDBox:Battery_1_TempCell_39_max],col_max(),"3",
[myBYDBox:Battery_1_TempCell_40_min],col_min(),"4",
[myBYDBox:Battery_1_TempCell_40_max],col_max(),"4",
[myBYDBox:Battery_1_TempCell_41_min],col_min(),"5",
[myBYDBox:Battery_1_TempCell_41_max],col_max(),"5",
[myBYDBox:Battery_1_TempCell_42_min],col_min(),"6",
[myBYDBox:Battery_1_TempCell_42_max],col_max(),"6",
[myBYDBox:Battery_1_TempCell_43_min],col_min(),"7",
[myBYDBox:Battery_1_TempCell_43_max],col_max(),"7",
[myBYDBox:Battery_1_TempCell_44_min],col_min(),"8",
[myBYDBox:Battery_1_TempCell_44_max],col_max(),"8",
[myBYDBox:Battery_1_TempCell_45_min],col_min(),"9",
[myBYDBox:Battery_1_TempCell_45_max],col_max(),"9",
[myBYDBox:Battery_1_TempCell_46_min],col_min(),"10",
[myBYDBox:Battery_1_TempCell_46_max],col_max(),"10",
[myBYDBox:Battery_1_TempCell_47_min],col_min(),"11",
[myBYDBox:Battery_1_TempCell_47_max],col_max(),"11")


MadMax

Du musst keine Route für dieses Modul einrichten. Das geht mit der direkten IP des BYD.
Funktioniert es jetzt bei dir oder nicht?
Lenovo M910Q Tiny Debian 12, FHEM 6.3, 2x Siemens Logo 0BA7, Homematic CCU3, Philips HUE, 5x SMA Wechselrichter, BYD HVM, SMA EVCharger, Daikin Wärmepumpe über CAN

Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/MadMax

Parallix

Auch meinerseits einen großen Dank für das "BYD Box"-Modul und für die netten UI-Templates zu denen ich indirekt eine Frage hätte:

Lässt sich die Stapelfunktion von cylinder bzw. cylinder_s irgendwie auch auf cylinder_bars übertragen?

Wenn ja, dann könnte man für jede Zelle die Balancing-Info sowie den Min-, Current- und Max-Wert platzsparend in einer Bar unterbringen (ähnlich so, wie in Olis Tool). Wenn nein, so bliebe ja nur noch der umständliche Umweg über den Plot einer diskreten Funktion.

MadMax

Zitat von: Parallix am 16 September 2024, 23:18:57Auch meinerseits einen großen Dank für das "BYD Box"-Modul und für die netten UI-Templates zu denen ich indirekt eine Frage hätte:

Lässt sich die Stapelfunktion von cylinder bzw. cylinder_s irgendwie auch auf cylinder_bars übertragen?

Wenn ja, dann könnte man für jede Zelle die Balancing-Info sowie den Min-, Current- und Max-Wert platzsparend in einer Bar unterbringen (ähnlich so, wie in Olis Tool). Wenn nein, so bliebe ja nur noch der umständliche Umweg über den Plot einer diskreten Funktion.

Das habe ich mir gebaut, dazu musste ich die 98_DOIF.pm anpassen, bisher ist das eher Experimentell, dies habe ich mal angehängt.


{package ui_Table;

sub floor_round {
my ($zahl)=@_;
return(POSIX::floor($zahl / 10) * 10) - 10;
}

sub ceil_round {
my ($zahl)=@_;
return(POSIX::ceil($zahl / 10) * 10) + 10;
}

sub colorBYD {
my ($zahl,$balance)=@_;
my $min = 2800;
my $max = 3600;
my $mid = 3000;
my $mid2 = 3400;
my $color_green = 120;

my $num = 0;

if($balance == 1)
{
$num = 200;
}
elsif($zahl >= $mid2 && $zahl < $max)
{
$num = $color_green - (($zahl-$mid2)/($max-$mid2) * $color_green);
}
elsif($zahl < $mid)
{
$num = (($zahl-$min)/($mid-$min) * $color_green);
}
elsif($zahl >= $mid && $zahl < $max)
{
$num = $color_green;
}

return(POSIX::ceil($num));
}

sub BYD_CollorMax {
return(350);
}

sub BYD_CollorMin {
return(320);
}

}

cylinder_bars_MT("BYD HVM",floor_round([myBYDBox:Battery_1_MinmVolt_min]),ceil_round([myBYDBox:Battery_1_MaxmVolt_max]),"mV",1625,1810,undef,0,
[myBYDBox:Battery_1_VoltsperCell_000_max],BYD_CollorMax(),"000_Max",
[myBYDBox:Battery_1_VoltsperCell_000],colorBYD([myBYDBox:Battery_1_VoltsperCell_000],[myBYDBox:Battery_1_BalancingCell_000]),"000_Akt",
[myBYDBox:Battery_1_VoltsperCell_000_min],BYD_CollorMin(),"000_Min",
[myBYDBox:Battery_1_VoltsperCell_001_max],BYD_CollorMax(),"001_Max",
[myBYDBox:Battery_1_VoltsperCell_001],colorBYD([myBYDBox:Battery_1_VoltsperCell_001],[myBYDBox:Battery_1_BalancingCell_001]),"001_Akt",
[myBYDBox:Battery_1_VoltsperCell_001_min],BYD_CollorMin(),"001_Min",
[myBYDBox:Battery_1_VoltsperCell_002_max],BYD_CollorMax(),"002_Max",
[myBYDBox:Battery_1_VoltsperCell_002],colorBYD([myBYDBox:Battery_1_VoltsperCell_002],[myBYDBox:Battery_1_BalancingCell_002]),"002_Akt",
[myBYDBox:Battery_1_VoltsperCell_002_min],BYD_CollorMin(),"002_Min",
[myBYDBox:Battery_1_VoltsperCell_003_max],BYD_CollorMax(),"003_Max",
[myBYDBox:Battery_1_VoltsperCell_003],colorBYD([myBYDBox:Battery_1_VoltsperCell_003],[myBYDBox:Battery_1_BalancingCell_003]),"003_Akt",
[myBYDBox:Battery_1_VoltsperCell_003_min],BYD_CollorMin(),"003_Min",
[myBYDBox:Battery_1_VoltsperCell_004_max],BYD_CollorMax(),"004_Max",
[myBYDBox:Battery_1_VoltsperCell_004],colorBYD([myBYDBox:Battery_1_VoltsperCell_004],[myBYDBox:Battery_1_BalancingCell_004]),"004_Akt",
[myBYDBox:Battery_1_VoltsperCell_004_min],BYD_CollorMin(),"004_Min",
[myBYDBox:Battery_1_VoltsperCell_005_max],BYD_CollorMax(),"005_Max",
[myBYDBox:Battery_1_VoltsperCell_005],colorBYD([myBYDBox:Battery_1_VoltsperCell_005],[myBYDBox:Battery_1_BalancingCell_005]),"005_Akt",
[myBYDBox:Battery_1_VoltsperCell_005_min],BYD_CollorMin(),"005_Min",
[myBYDBox:Battery_1_VoltsperCell_006_max],BYD_CollorMax(),"006_Max",
[myBYDBox:Battery_1_VoltsperCell_006],colorBYD([myBYDBox:Battery_1_VoltsperCell_006],[myBYDBox:Battery_1_BalancingCell_006]),"006_Akt",
[myBYDBox:Battery_1_VoltsperCell_006_min],BYD_CollorMin(),"006_Min",
[myBYDBox:Battery_1_VoltsperCell_007_max],BYD_CollorMax(),"007_Max",
[myBYDBox:Battery_1_VoltsperCell_007],colorBYD([myBYDBox:Battery_1_VoltsperCell_007],[myBYDBox:Battery_1_BalancingCell_007]),"007_Akt",
[myBYDBox:Battery_1_VoltsperCell_007_min],BYD_CollorMin(),"007_Min",
[myBYDBox:Battery_1_VoltsperCell_008_max],BYD_CollorMax(),"008_Max",
[myBYDBox:Battery_1_VoltsperCell_008],colorBYD([myBYDBox:Battery_1_VoltsperCell_008],[myBYDBox:Battery_1_BalancingCell_008]),"008_Akt",
[myBYDBox:Battery_1_VoltsperCell_008_min],BYD_CollorMin(),"008_Min",
[myBYDBox:Battery_1_VoltsperCell_009_max],BYD_CollorMax(),"009_Max",
[myBYDBox:Battery_1_VoltsperCell_009],colorBYD([myBYDBox:Battery_1_VoltsperCell_009],[myBYDBox:Battery_1_BalancingCell_009]),"009_Akt",
[myBYDBox:Battery_1_VoltsperCell_009_min],BYD_CollorMin(),"009_Min",
[myBYDBox:Battery_1_VoltsperCell_010_max],BYD_CollorMax(),"010_Max",
[myBYDBox:Battery_1_VoltsperCell_010],colorBYD([myBYDBox:Battery_1_VoltsperCell_010],[myBYDBox:Battery_1_BalancingCell_010]),"010_Akt",
[myBYDBox:Battery_1_VoltsperCell_010_min],BYD_CollorMin(),"010_Min",
[myBYDBox:Battery_1_VoltsperCell_011_max],BYD_CollorMax(),"011_Max",
[myBYDBox:Battery_1_VoltsperCell_011],colorBYD([myBYDBox:Battery_1_VoltsperCell_011],[myBYDBox:Battery_1_BalancingCell_011]),"011_Akt",
[myBYDBox:Battery_1_VoltsperCell_011_min],BYD_CollorMin(),"011_Min",
[myBYDBox:Battery_1_VoltsperCell_012_max],BYD_CollorMax(),"012_Max",
[myBYDBox:Battery_1_VoltsperCell_012],colorBYD([myBYDBox:Battery_1_VoltsperCell_012],[myBYDBox:Battery_1_BalancingCell_012]),"012_Akt",
[myBYDBox:Battery_1_VoltsperCell_012_min],BYD_CollorMin(),"012_Min",
[myBYDBox:Battery_1_VoltsperCell_013_max],BYD_CollorMax(),"013_Max",
[myBYDBox:Battery_1_VoltsperCell_013],colorBYD([myBYDBox:Battery_1_VoltsperCell_013],[myBYDBox:Battery_1_BalancingCell_013]),"013_Akt",
[myBYDBox:Battery_1_VoltsperCell_013_min],BYD_CollorMin(),"013_Min",
[myBYDBox:Battery_1_VoltsperCell_014_max],BYD_CollorMax(),"014_Max",
[myBYDBox:Battery_1_VoltsperCell_014],colorBYD([myBYDBox:Battery_1_VoltsperCell_014],[myBYDBox:Battery_1_BalancingCell_014]),"014_Akt",
[myBYDBox:Battery_1_VoltsperCell_014_min],BYD_CollorMin(),"014_Min",
[myBYDBox:Battery_1_VoltsperCell_015_max],BYD_CollorMax(),"015_Max",
[myBYDBox:Battery_1_VoltsperCell_015],colorBYD([myBYDBox:Battery_1_VoltsperCell_015],[myBYDBox:Battery_1_BalancingCell_015]),"015_Akt",
[myBYDBox:Battery_1_VoltsperCell_015_min],BYD_CollorMin(),"015_Min",

0,0,"",
0,0,"",
0,0,"",

[myBYDBox:Battery_1_VoltsperCell_016_max],BYD_CollorMax(),"016_Max",
[myBYDBox:Battery_1_VoltsperCell_016],colorBYD([myBYDBox:Battery_1_VoltsperCell_016],[myBYDBox:Battery_1_BalancingCell_016]),"016_Akt",
[myBYDBox:Battery_1_VoltsperCell_016_min],BYD_CollorMin(),"016_Min",
[myBYDBox:Battery_1_VoltsperCell_017_max],BYD_CollorMax(),"017_Max",
[myBYDBox:Battery_1_VoltsperCell_017],colorBYD([myBYDBox:Battery_1_VoltsperCell_017],[myBYDBox:Battery_1_BalancingCell_017]),"017_Akt",
[myBYDBox:Battery_1_VoltsperCell_017_min],BYD_CollorMin(),"017_Min",
[myBYDBox:Battery_1_VoltsperCell_018_max],BYD_CollorMax(),"018_Max",
[myBYDBox:Battery_1_VoltsperCell_018],colorBYD([myBYDBox:Battery_1_VoltsperCell_018],[myBYDBox:Battery_1_BalancingCell_018]),"018_Akt",
[myBYDBox:Battery_1_VoltsperCell_018_min],BYD_CollorMin(),"018_Min",
[myBYDBox:Battery_1_VoltsperCell_019_max],BYD_CollorMax(),"019_Max",
[myBYDBox:Battery_1_VoltsperCell_019],colorBYD([myBYDBox:Battery_1_VoltsperCell_019],[myBYDBox:Battery_1_BalancingCell_019]),"019_Akt",
[myBYDBox:Battery_1_VoltsperCell_019_min],BYD_CollorMin(),"019_Min",
[myBYDBox:Battery_1_VoltsperCell_020_max],BYD_CollorMax(),"020_Max",
[myBYDBox:Battery_1_VoltsperCell_020],colorBYD([myBYDBox:Battery_1_VoltsperCell_020],[myBYDBox:Battery_1_BalancingCell_020]),"020_Akt",
[myBYDBox:Battery_1_VoltsperCell_020_min],BYD_CollorMin(),"020_Min",
[myBYDBox:Battery_1_VoltsperCell_021_max],BYD_CollorMax(),"021_Max",
[myBYDBox:Battery_1_VoltsperCell_021],colorBYD([myBYDBox:Battery_1_VoltsperCell_021],[myBYDBox:Battery_1_BalancingCell_021]),"021_Akt",
[myBYDBox:Battery_1_VoltsperCell_021_min],BYD_CollorMin(),"021_Min",
[myBYDBox:Battery_1_VoltsperCell_022_max],BYD_CollorMax(),"022_Max",
[myBYDBox:Battery_1_VoltsperCell_022],colorBYD([myBYDBox:Battery_1_VoltsperCell_022],[myBYDBox:Battery_1_BalancingCell_022]),"022_Akt",
[myBYDBox:Battery_1_VoltsperCell_022_min],BYD_CollorMin(),"022_Min",
[myBYDBox:Battery_1_VoltsperCell_023_max],BYD_CollorMax(),"023_Max",
[myBYDBox:Battery_1_VoltsperCell_023],colorBYD([myBYDBox:Battery_1_VoltsperCell_023],[myBYDBox:Battery_1_BalancingCell_023]),"023_Akt",
[myBYDBox:Battery_1_VoltsperCell_023_min],BYD_CollorMin(),"023_Min",
[myBYDBox:Battery_1_VoltsperCell_024_max],BYD_CollorMax(),"024_Max",
[myBYDBox:Battery_1_VoltsperCell_024],colorBYD([myBYDBox:Battery_1_VoltsperCell_024],[myBYDBox:Battery_1_BalancingCell_024]),"024_Akt",
[myBYDBox:Battery_1_VoltsperCell_024_min],BYD_CollorMin(),"024_Min",
[myBYDBox:Battery_1_VoltsperCell_025_max],BYD_CollorMax(),"025_Max",
[myBYDBox:Battery_1_VoltsperCell_025],colorBYD([myBYDBox:Battery_1_VoltsperCell_025],[myBYDBox:Battery_1_BalancingCell_025]),"025_Akt",
[myBYDBox:Battery_1_VoltsperCell_025_min],BYD_CollorMin(),"025_Min",
[myBYDBox:Battery_1_VoltsperCell_026_max],BYD_CollorMax(),"026_Max",
[myBYDBox:Battery_1_VoltsperCell_026],colorBYD([myBYDBox:Battery_1_VoltsperCell_026],[myBYDBox:Battery_1_BalancingCell_026]),"026_Akt",
[myBYDBox:Battery_1_VoltsperCell_026_min],BYD_CollorMin(),"026_Min",
[myBYDBox:Battery_1_VoltsperCell_027_max],BYD_CollorMax(),"027_Max",
[myBYDBox:Battery_1_VoltsperCell_027],colorBYD([myBYDBox:Battery_1_VoltsperCell_027],[myBYDBox:Battery_1_BalancingCell_027]),"027_Akt",
[myBYDBox:Battery_1_VoltsperCell_027_min],BYD_CollorMin(),"027_Min",
[myBYDBox:Battery_1_VoltsperCell_028_max],BYD_CollorMax(),"028_Max",
[myBYDBox:Battery_1_VoltsperCell_028],colorBYD([myBYDBox:Battery_1_VoltsperCell_028],[myBYDBox:Battery_1_BalancingCell_028]),"028_Akt",
[myBYDBox:Battery_1_VoltsperCell_028_min],BYD_CollorMin(),"028_Min",
[myBYDBox:Battery_1_VoltsperCell_029_max],BYD_CollorMax(),"029_Max",
[myBYDBox:Battery_1_VoltsperCell_029],colorBYD([myBYDBox:Battery_1_VoltsperCell_029],[myBYDBox:Battery_1_BalancingCell_029]),"029_Akt",
[myBYDBox:Battery_1_VoltsperCell_029_min],BYD_CollorMin(),"029_Min",
[myBYDBox:Battery_1_VoltsperCell_030_max],BYD_CollorMax(),"030_Max",
[myBYDBox:Battery_1_VoltsperCell_030],colorBYD([myBYDBox:Battery_1_VoltsperCell_030],[myBYDBox:Battery_1_BalancingCell_030]),"030_Akt",
[myBYDBox:Battery_1_VoltsperCell_030_min],BYD_CollorMin(),"030_Min",
[myBYDBox:Battery_1_VoltsperCell_031_max],BYD_CollorMax(),"031_Max",
[myBYDBox:Battery_1_VoltsperCell_031],colorBYD([myBYDBox:Battery_1_VoltsperCell_031],[myBYDBox:Battery_1_BalancingCell_031]),"031_Akt",
[myBYDBox:Battery_1_VoltsperCell_031_min],BYD_CollorMin(),"031_Min",

0,0,"",
0,0,"",
0,0,"",

[myBYDBox:Battery_1_VoltsperCell_032_max],BYD_CollorMax(),"032_Max",
[myBYDBox:Battery_1_VoltsperCell_032],colorBYD([myBYDBox:Battery_1_VoltsperCell_032],[myBYDBox:Battery_1_BalancingCell_032]),"032_Akt",
[myBYDBox:Battery_1_VoltsperCell_032_min],BYD_CollorMin(),"032_Min",
[myBYDBox:Battery_1_VoltsperCell_033_max],BYD_CollorMax(),"033_Max",
[myBYDBox:Battery_1_VoltsperCell_033],colorBYD([myBYDBox:Battery_1_VoltsperCell_033],[myBYDBox:Battery_1_BalancingCell_033]),"033_Akt",
[myBYDBox:Battery_1_VoltsperCell_033_min],BYD_CollorMin(),"033_Min",
[myBYDBox:Battery_1_VoltsperCell_034_max],BYD_CollorMax(),"034_Max",
[myBYDBox:Battery_1_VoltsperCell_034],colorBYD([myBYDBox:Battery_1_VoltsperCell_034],[myBYDBox:Battery_1_BalancingCell_034]),"034_Akt",
[myBYDBox:Battery_1_VoltsperCell_034_min],BYD_CollorMin(),"034_Min",
[myBYDBox:Battery_1_VoltsperCell_035_max],BYD_CollorMax(),"035_Max",
[myBYDBox:Battery_1_VoltsperCell_035],colorBYD([myBYDBox:Battery_1_VoltsperCell_035],[myBYDBox:Battery_1_BalancingCell_035]),"035_Akt",
[myBYDBox:Battery_1_VoltsperCell_035_min],BYD_CollorMin(),"035_Min",
[myBYDBox:Battery_1_VoltsperCell_036_max],BYD_CollorMax(),"036_Max",
[myBYDBox:Battery_1_VoltsperCell_036],colorBYD([myBYDBox:Battery_1_VoltsperCell_036],[myBYDBox:Battery_1_BalancingCell_036]),"036_Akt",
[myBYDBox:Battery_1_VoltsperCell_036_min],BYD_CollorMin(),"036_Min",
[myBYDBox:Battery_1_VoltsperCell_037_max],BYD_CollorMax(),"037_Max",
[myBYDBox:Battery_1_VoltsperCell_037],colorBYD([myBYDBox:Battery_1_VoltsperCell_037],[myBYDBox:Battery_1_BalancingCell_037]),"037_Akt",
[myBYDBox:Battery_1_VoltsperCell_037_min],BYD_CollorMin(),"037_Min",
[myBYDBox:Battery_1_VoltsperCell_038_max],BYD_CollorMax(),"038_Max",
[myBYDBox:Battery_1_VoltsperCell_038],colorBYD([myBYDBox:Battery_1_VoltsperCell_038],[myBYDBox:Battery_1_BalancingCell_038]),"038_Akt",
[myBYDBox:Battery_1_VoltsperCell_038_min],BYD_CollorMin(),"038_Min",
[myBYDBox:Battery_1_VoltsperCell_039_max],BYD_CollorMax(),"039_Max",
[myBYDBox:Battery_1_VoltsperCell_039],colorBYD([myBYDBox:Battery_1_VoltsperCell_039],[myBYDBox:Battery_1_BalancingCell_039]),"039_Akt",
[myBYDBox:Battery_1_VoltsperCell_039_min],BYD_CollorMin(),"039_Min",
[myBYDBox:Battery_1_VoltsperCell_040_max],BYD_CollorMax(),"040_Max",
[myBYDBox:Battery_1_VoltsperCell_040],colorBYD([myBYDBox:Battery_1_VoltsperCell_040],[myBYDBox:Battery_1_BalancingCell_040]),"040_Akt",
[myBYDBox:Battery_1_VoltsperCell_040_min],BYD_CollorMin(),"040_Min",
[myBYDBox:Battery_1_VoltsperCell_041_max],BYD_CollorMax(),"041_Max",
[myBYDBox:Battery_1_VoltsperCell_041],colorBYD([myBYDBox:Battery_1_VoltsperCell_041],[myBYDBox:Battery_1_BalancingCell_041]),"041_Akt",
[myBYDBox:Battery_1_VoltsperCell_041_min],BYD_CollorMin(),"041_Min",
[myBYDBox:Battery_1_VoltsperCell_042_max],BYD_CollorMax(),"042_Max",
[myBYDBox:Battery_1_VoltsperCell_042],colorBYD([myBYDBox:Battery_1_VoltsperCell_042],[myBYDBox:Battery_1_BalancingCell_042]),"042_Akt",
[myBYDBox:Battery_1_VoltsperCell_042_min],BYD_CollorMin(),"042_Min",
[myBYDBox:Battery_1_VoltsperCell_043_max],BYD_CollorMax(),"043_Max",
[myBYDBox:Battery_1_VoltsperCell_043],colorBYD([myBYDBox:Battery_1_VoltsperCell_043],[myBYDBox:Battery_1_BalancingCell_043]),"043_Akt",
[myBYDBox:Battery_1_VoltsperCell_043_min],BYD_CollorMin(),"043_Min",
[myBYDBox:Battery_1_VoltsperCell_044_max],BYD_CollorMax(),"044_Max",
[myBYDBox:Battery_1_VoltsperCell_044],colorBYD([myBYDBox:Battery_1_VoltsperCell_044],[myBYDBox:Battery_1_BalancingCell_044]),"044_Akt",
[myBYDBox:Battery_1_VoltsperCell_044_min],BYD_CollorMin(),"044_Min",
[myBYDBox:Battery_1_VoltsperCell_045_max],BYD_CollorMax(),"045_Max",
[myBYDBox:Battery_1_VoltsperCell_045],colorBYD([myBYDBox:Battery_1_VoltsperCell_045],[myBYDBox:Battery_1_BalancingCell_045]),"045_Akt",
[myBYDBox:Battery_1_VoltsperCell_045_min],BYD_CollorMin(),"045_Min",
[myBYDBox:Battery_1_VoltsperCell_046_max],BYD_CollorMax(),"046_Max",
[myBYDBox:Battery_1_VoltsperCell_046],colorBYD([myBYDBox:Battery_1_VoltsperCell_046],[myBYDBox:Battery_1_BalancingCell_046]),"046_Akt",
[myBYDBox:Battery_1_VoltsperCell_046_min],BYD_CollorMin(),"046_Min",
[myBYDBox:Battery_1_VoltsperCell_047_max],BYD_CollorMax(),"047_Max",
[myBYDBox:Battery_1_VoltsperCell_047],colorBYD([myBYDBox:Battery_1_VoltsperCell_047],[myBYDBox:Battery_1_BalancingCell_047]),"047_Akt",
[myBYDBox:Battery_1_VoltsperCell_047_min],BYD_CollorMin(),"047_Min",

0,0,"",
0,0,"",
0,0,"",

[myBYDBox:Battery_1_VoltsperCell_048_max],BYD_CollorMax(),"048_Max",
[myBYDBox:Battery_1_VoltsperCell_048],colorBYD([myBYDBox:Battery_1_VoltsperCell_048],[myBYDBox:Battery_1_BalancingCell_048]),"048_Akt",
[myBYDBox:Battery_1_VoltsperCell_048_min],BYD_CollorMin(),"048_Min",
[myBYDBox:Battery_1_VoltsperCell_049_max],BYD_CollorMax(),"049_Max",
[myBYDBox:Battery_1_VoltsperCell_049],colorBYD([myBYDBox:Battery_1_VoltsperCell_049],[myBYDBox:Battery_1_BalancingCell_049]),"049_Akt",
[myBYDBox:Battery_1_VoltsperCell_049_min],BYD_CollorMin(),"049_Min",
[myBYDBox:Battery_1_VoltsperCell_050_max],BYD_CollorMax(),"050_Max",
[myBYDBox:Battery_1_VoltsperCell_050],colorBYD([myBYDBox:Battery_1_VoltsperCell_050],[myBYDBox:Battery_1_BalancingCell_050]),"050_Akt",
[myBYDBox:Battery_1_VoltsperCell_050_min],BYD_CollorMin(),"050_Min",
[myBYDBox:Battery_1_VoltsperCell_051_max],BYD_CollorMax(),"051_Max",
[myBYDBox:Battery_1_VoltsperCell_051],colorBYD([myBYDBox:Battery_1_VoltsperCell_051],[myBYDBox:Battery_1_BalancingCell_051]),"051_Akt",
[myBYDBox:Battery_1_VoltsperCell_051_min],BYD_CollorMin(),"051_Min",
[myBYDBox:Battery_1_VoltsperCell_052_max],BYD_CollorMax(),"052_Max",
[myBYDBox:Battery_1_VoltsperCell_052],colorBYD([myBYDBox:Battery_1_VoltsperCell_052],[myBYDBox:Battery_1_BalancingCell_052]),"052_Akt",
[myBYDBox:Battery_1_VoltsperCell_052_min],BYD_CollorMin(),"052_Min",
[myBYDBox:Battery_1_VoltsperCell_053_max],BYD_CollorMax(),"053_Max",
[myBYDBox:Battery_1_VoltsperCell_053],colorBYD([myBYDBox:Battery_1_VoltsperCell_053],[myBYDBox:Battery_1_BalancingCell_053]),"053_Akt",
[myBYDBox:Battery_1_VoltsperCell_053_min],BYD_CollorMin(),"053_Min",
[myBYDBox:Battery_1_VoltsperCell_054_max],BYD_CollorMax(),"054_Max",
[myBYDBox:Battery_1_VoltsperCell_054],colorBYD([myBYDBox:Battery_1_VoltsperCell_054],[myBYDBox:Battery_1_BalancingCell_054]),"054_Akt",
[myBYDBox:Battery_1_VoltsperCell_054_min],BYD_CollorMin(),"054_Min",
[myBYDBox:Battery_1_VoltsperCell_055_max],BYD_CollorMax(),"055_Max",
[myBYDBox:Battery_1_VoltsperCell_055],colorBYD([myBYDBox:Battery_1_VoltsperCell_055],[myBYDBox:Battery_1_BalancingCell_055]),"055_Akt",
[myBYDBox:Battery_1_VoltsperCell_055_min],BYD_CollorMin(),"055_Min",
[myBYDBox:Battery_1_VoltsperCell_056_max],BYD_CollorMax(),"056_Max",
[myBYDBox:Battery_1_VoltsperCell_056],colorBYD([myBYDBox:Battery_1_VoltsperCell_056],[myBYDBox:Battery_1_BalancingCell_056]),"056_Akt",
[myBYDBox:Battery_1_VoltsperCell_056_min],BYD_CollorMin(),"056_Min",
[myBYDBox:Battery_1_VoltsperCell_057_max],BYD_CollorMax(),"057_Max",
[myBYDBox:Battery_1_VoltsperCell_057],colorBYD([myBYDBox:Battery_1_VoltsperCell_057],[myBYDBox:Battery_1_BalancingCell_057]),"057_Akt",
[myBYDBox:Battery_1_VoltsperCell_057_min],BYD_CollorMin(),"057_Min",
[myBYDBox:Battery_1_VoltsperCell_058_max],BYD_CollorMax(),"058_Max",
[myBYDBox:Battery_1_VoltsperCell_058],colorBYD([myBYDBox:Battery_1_VoltsperCell_058],[myBYDBox:Battery_1_BalancingCell_058]),"058_Akt",
[myBYDBox:Battery_1_VoltsperCell_058_min],BYD_CollorMin(),"058_Min",
[myBYDBox:Battery_1_VoltsperCell_059_max],BYD_CollorMax(),"059_Max",
[myBYDBox:Battery_1_VoltsperCell_059],colorBYD([myBYDBox:Battery_1_VoltsperCell_059],[myBYDBox:Battery_1_BalancingCell_059]),"059_Akt",
[myBYDBox:Battery_1_VoltsperCell_059_min],BYD_CollorMin(),"059_Min",
[myBYDBox:Battery_1_VoltsperCell_060_max],BYD_CollorMax(),"060_Max",
[myBYDBox:Battery_1_VoltsperCell_060],colorBYD([myBYDBox:Battery_1_VoltsperCell_060],[myBYDBox:Battery_1_BalancingCell_060]),"060_Akt",
[myBYDBox:Battery_1_VoltsperCell_060_min],BYD_CollorMin(),"060_Min",
[myBYDBox:Battery_1_VoltsperCell_061_max],BYD_CollorMax(),"061_Max",
[myBYDBox:Battery_1_VoltsperCell_061],colorBYD([myBYDBox:Battery_1_VoltsperCell_061],[myBYDBox:Battery_1_BalancingCell_061]),"061_Akt",
[myBYDBox:Battery_1_VoltsperCell_061_min],BYD_CollorMin(),"061_Min",
[myBYDBox:Battery_1_VoltsperCell_062_max],BYD_CollorMax(),"062_Max",
[myBYDBox:Battery_1_VoltsperCell_062],colorBYD([myBYDBox:Battery_1_VoltsperCell_062],[myBYDBox:Battery_1_BalancingCell_062]),"062_Akt",
[myBYDBox:Battery_1_VoltsperCell_062_min],BYD_CollorMin(),"062_Min",
[myBYDBox:Battery_1_VoltsperCell_063_max],BYD_CollorMax(),"063_Max",
[myBYDBox:Battery_1_VoltsperCell_063],colorBYD([myBYDBox:Battery_1_VoltsperCell_063],[myBYDBox:Battery_1_BalancingCell_063]),"063_Akt",
[myBYDBox:Battery_1_VoltsperCell_063_min],BYD_CollorMin(),"063_Min",

0,0,"",
0,0,"",
0,0,"",

[myBYDBox:Battery_1_VoltsperCell_064_max],BYD_CollorMax(),"064_Max",
[myBYDBox:Battery_1_VoltsperCell_064],colorBYD([myBYDBox:Battery_1_VoltsperCell_064],[myBYDBox:Battery_1_BalancingCell_064]),"064_Akt",
[myBYDBox:Battery_1_VoltsperCell_064_min],BYD_CollorMin(),"064_Min",
[myBYDBox:Battery_1_VoltsperCell_065_max],BYD_CollorMax(),"065_Max",
[myBYDBox:Battery_1_VoltsperCell_065],colorBYD([myBYDBox:Battery_1_VoltsperCell_065],[myBYDBox:Battery_1_BalancingCell_065]),"065_Akt",
[myBYDBox:Battery_1_VoltsperCell_065_min],BYD_CollorMin(),"065_Min",
[myBYDBox:Battery_1_VoltsperCell_066_max],BYD_CollorMax(),"066_Max",
[myBYDBox:Battery_1_VoltsperCell_066],colorBYD([myBYDBox:Battery_1_VoltsperCell_066],[myBYDBox:Battery_1_BalancingCell_066]),"066_Akt",
[myBYDBox:Battery_1_VoltsperCell_066_min],BYD_CollorMin(),"066_Min",
[myBYDBox:Battery_1_VoltsperCell_067_max],BYD_CollorMax(),"067_Max",
[myBYDBox:Battery_1_VoltsperCell_067],colorBYD([myBYDBox:Battery_1_VoltsperCell_067],[myBYDBox:Battery_1_BalancingCell_067]),"067_Akt",
[myBYDBox:Battery_1_VoltsperCell_067_min],BYD_CollorMin(),"067_Min",
[myBYDBox:Battery_1_VoltsperCell_068_max],BYD_CollorMax(),"068_Max",
[myBYDBox:Battery_1_VoltsperCell_068],colorBYD([myBYDBox:Battery_1_VoltsperCell_068],[myBYDBox:Battery_1_BalancingCell_068]),"068_Akt",
[myBYDBox:Battery_1_VoltsperCell_068_min],BYD_CollorMin(),"068_Min",
[myBYDBox:Battery_1_VoltsperCell_069_max],BYD_CollorMax(),"069_Max",
[myBYDBox:Battery_1_VoltsperCell_069],colorBYD([myBYDBox:Battery_1_VoltsperCell_069],[myBYDBox:Battery_1_BalancingCell_069]),"069_Akt",
[myBYDBox:Battery_1_VoltsperCell_069_min],BYD_CollorMin(),"069_Min",
[myBYDBox:Battery_1_VoltsperCell_070_max],BYD_CollorMax(),"070_Max",
[myBYDBox:Battery_1_VoltsperCell_070],colorBYD([myBYDBox:Battery_1_VoltsperCell_070],[myBYDBox:Battery_1_BalancingCell_070]),"070_Akt",
[myBYDBox:Battery_1_VoltsperCell_070_min],BYD_CollorMin(),"070_Min",
[myBYDBox:Battery_1_VoltsperCell_071_max],BYD_CollorMax(),"071_Max",
[myBYDBox:Battery_1_VoltsperCell_071],colorBYD([myBYDBox:Battery_1_VoltsperCell_071],[myBYDBox:Battery_1_BalancingCell_071]),"071_Akt",
[myBYDBox:Battery_1_VoltsperCell_071_min],BYD_CollorMin(),"071_Min",
[myBYDBox:Battery_1_VoltsperCell_072_max],BYD_CollorMax(),"072_Max",
[myBYDBox:Battery_1_VoltsperCell_072],colorBYD([myBYDBox:Battery_1_VoltsperCell_072],[myBYDBox:Battery_1_BalancingCell_072]),"072_Akt",
[myBYDBox:Battery_1_VoltsperCell_072_min],BYD_CollorMin(),"072_Min",
[myBYDBox:Battery_1_VoltsperCell_073_max],BYD_CollorMax(),"073_Max",
[myBYDBox:Battery_1_VoltsperCell_073],colorBYD([myBYDBox:Battery_1_VoltsperCell_073],[myBYDBox:Battery_1_BalancingCell_073]),"073_Akt",
[myBYDBox:Battery_1_VoltsperCell_073_min],BYD_CollorMin(),"073_Min",
[myBYDBox:Battery_1_VoltsperCell_074_max],BYD_CollorMax(),"074_Max",
[myBYDBox:Battery_1_VoltsperCell_074],colorBYD([myBYDBox:Battery_1_VoltsperCell_074],[myBYDBox:Battery_1_BalancingCell_074]),"074_Akt",
[myBYDBox:Battery_1_VoltsperCell_074_min],BYD_CollorMin(),"074_Min",
[myBYDBox:Battery_1_VoltsperCell_075_max],BYD_CollorMax(),"075_Max",
[myBYDBox:Battery_1_VoltsperCell_075],colorBYD([myBYDBox:Battery_1_VoltsperCell_075],[myBYDBox:Battery_1_BalancingCell_075]),"075_Akt",
[myBYDBox:Battery_1_VoltsperCell_075_min],BYD_CollorMin(),"075_Min",
[myBYDBox:Battery_1_VoltsperCell_076_max],BYD_CollorMax(),"076_Max",
[myBYDBox:Battery_1_VoltsperCell_076],colorBYD([myBYDBox:Battery_1_VoltsperCell_076],[myBYDBox:Battery_1_BalancingCell_076]),"076_Akt",
[myBYDBox:Battery_1_VoltsperCell_076_min],BYD_CollorMin(),"076_Min",
[myBYDBox:Battery_1_VoltsperCell_077_max],BYD_CollorMax(),"077_Max",
[myBYDBox:Battery_1_VoltsperCell_077],colorBYD([myBYDBox:Battery_1_VoltsperCell_077],[myBYDBox:Battery_1_BalancingCell_077]),"077_Akt",
[myBYDBox:Battery_1_VoltsperCell_077_min],BYD_CollorMin(),"077_Min",
[myBYDBox:Battery_1_VoltsperCell_078_max],BYD_CollorMax(),"078_Max",
[myBYDBox:Battery_1_VoltsperCell_078],colorBYD([myBYDBox:Battery_1_VoltsperCell_078],[myBYDBox:Battery_1_BalancingCell_078]),"078_Akt",
[myBYDBox:Battery_1_VoltsperCell_078_min],BYD_CollorMin(),"078_Min",
[myBYDBox:Battery_1_VoltsperCell_079_max],BYD_CollorMax(),"079_Max",
[myBYDBox:Battery_1_VoltsperCell_079],colorBYD([myBYDBox:Battery_1_VoltsperCell_079],[myBYDBox:Battery_1_BalancingCell_079]),"079_Akt",
[myBYDBox:Battery_1_VoltsperCell_079_min],BYD_CollorMin(),"079_Min",

0,0,"",
0,0,"",
0,0,"",

[myBYDBox:Battery_1_VoltsperCell_080_max],BYD_CollorMax(),"080_Max",
[myBYDBox:Battery_1_VoltsperCell_080],colorBYD([myBYDBox:Battery_1_VoltsperCell_080],[myBYDBox:Battery_1_BalancingCell_080]),"080_Akt",
[myBYDBox:Battery_1_VoltsperCell_080_min],BYD_CollorMin(),"080_Min",
[myBYDBox:Battery_1_VoltsperCell_081_max],BYD_CollorMax(),"081_Max",
[myBYDBox:Battery_1_VoltsperCell_081],colorBYD([myBYDBox:Battery_1_VoltsperCell_081],[myBYDBox:Battery_1_BalancingCell_081]),"081_Akt",
[myBYDBox:Battery_1_VoltsperCell_081_min],BYD_CollorMin(),"081_Min",
[myBYDBox:Battery_1_VoltsperCell_082_max],BYD_CollorMax(),"082_Max",
[myBYDBox:Battery_1_VoltsperCell_082],colorBYD([myBYDBox:Battery_1_VoltsperCell_082],[myBYDBox:Battery_1_BalancingCell_082]),"082_Akt",
[myBYDBox:Battery_1_VoltsperCell_082_min],BYD_CollorMin(),"082_Min",
[myBYDBox:Battery_1_VoltsperCell_083_max],BYD_CollorMax(),"083_Max",
[myBYDBox:Battery_1_VoltsperCell_083],colorBYD([myBYDBox:Battery_1_VoltsperCell_083],[myBYDBox:Battery_1_BalancingCell_083]),"083_Akt",
[myBYDBox:Battery_1_VoltsperCell_083_min],BYD_CollorMin(),"083_Min",
[myBYDBox:Battery_1_VoltsperCell_084_max],BYD_CollorMax(),"084_Max",
[myBYDBox:Battery_1_VoltsperCell_084],colorBYD([myBYDBox:Battery_1_VoltsperCell_084],[myBYDBox:Battery_1_BalancingCell_084]),"084_Akt",
[myBYDBox:Battery_1_VoltsperCell_084_min],BYD_CollorMin(),"084_Min",
[myBYDBox:Battery_1_VoltsperCell_085_max],BYD_CollorMax(),"085_Max",
[myBYDBox:Battery_1_VoltsperCell_085],colorBYD([myBYDBox:Battery_1_VoltsperCell_085],[myBYDBox:Battery_1_BalancingCell_085]),"085_Akt",
[myBYDBox:Battery_1_VoltsperCell_085_min],BYD_CollorMin(),"085_Min",
[myBYDBox:Battery_1_VoltsperCell_086_max],BYD_CollorMax(),"086_Max",
[myBYDBox:Battery_1_VoltsperCell_086],colorBYD([myBYDBox:Battery_1_VoltsperCell_086],[myBYDBox:Battery_1_BalancingCell_086]),"086_Akt",
[myBYDBox:Battery_1_VoltsperCell_086_min],BYD_CollorMin(),"086_Min",
[myBYDBox:Battery_1_VoltsperCell_087_max],BYD_CollorMax(),"087_Max",
[myBYDBox:Battery_1_VoltsperCell_087],colorBYD([myBYDBox:Battery_1_VoltsperCell_087],[myBYDBox:Battery_1_BalancingCell_087]),"087_Akt",
[myBYDBox:Battery_1_VoltsperCell_087_min],BYD_CollorMin(),"087_Min",
[myBYDBox:Battery_1_VoltsperCell_088_max],BYD_CollorMax(),"088_Max",
[myBYDBox:Battery_1_VoltsperCell_088],colorBYD([myBYDBox:Battery_1_VoltsperCell_088],[myBYDBox:Battery_1_BalancingCell_088]),"088_Akt",
[myBYDBox:Battery_1_VoltsperCell_088_min],BYD_CollorMin(),"088_Min",
[myBYDBox:Battery_1_VoltsperCell_089_max],BYD_CollorMax(),"089_Max",
[myBYDBox:Battery_1_VoltsperCell_089],colorBYD([myBYDBox:Battery_1_VoltsperCell_089],[myBYDBox:Battery_1_BalancingCell_089]),"089_Akt",
[myBYDBox:Battery_1_VoltsperCell_089_min],BYD_CollorMin(),"089_Min",
[myBYDBox:Battery_1_VoltsperCell_090_max],BYD_CollorMax(),"090_Max",
[myBYDBox:Battery_1_VoltsperCell_090],colorBYD([myBYDBox:Battery_1_VoltsperCell_090],[myBYDBox:Battery_1_BalancingCell_090]),"090_Akt",
[myBYDBox:Battery_1_VoltsperCell_090_min],BYD_CollorMin(),"090_Min",
[myBYDBox:Battery_1_VoltsperCell_091_max],BYD_CollorMax(),"091_Max",
[myBYDBox:Battery_1_VoltsperCell_091],colorBYD([myBYDBox:Battery_1_VoltsperCell_091],[myBYDBox:Battery_1_BalancingCell_091]),"091_Akt",
[myBYDBox:Battery_1_VoltsperCell_091_min],BYD_CollorMin(),"091_Min",
[myBYDBox:Battery_1_VoltsperCell_092_max],BYD_CollorMax(),"092_Max",
[myBYDBox:Battery_1_VoltsperCell_092],colorBYD([myBYDBox:Battery_1_VoltsperCell_092],[myBYDBox:Battery_1_BalancingCell_092]),"092_Akt",
[myBYDBox:Battery_1_VoltsperCell_092_min],BYD_CollorMin(),"092_Min",
[myBYDBox:Battery_1_VoltsperCell_093_max],BYD_CollorMax(),"093_Max",
[myBYDBox:Battery_1_VoltsperCell_093],colorBYD([myBYDBox:Battery_1_VoltsperCell_093],[myBYDBox:Battery_1_BalancingCell_093]),"093_Akt",
[myBYDBox:Battery_1_VoltsperCell_093_min],BYD_CollorMin(),"093_Min",
[myBYDBox:Battery_1_VoltsperCell_094_max],BYD_CollorMax(),"094_Max",
[myBYDBox:Battery_1_VoltsperCell_094],colorBYD([myBYDBox:Battery_1_VoltsperCell_094],[myBYDBox:Battery_1_BalancingCell_094]),"094_Akt",
[myBYDBox:Battery_1_VoltsperCell_094_min],BYD_CollorMin(),"094_Min",
[myBYDBox:Battery_1_VoltsperCell_095_max],BYD_CollorMax(),"095_Max",
[myBYDBox:Battery_1_VoltsperCell_095],colorBYD([myBYDBox:Battery_1_VoltsperCell_095],[myBYDBox:Battery_1_BalancingCell_095]),"095_Akt",
[myBYDBox:Battery_1_VoltsperCell_095_min],BYD_CollorMin(),"095_Min",

0,0,"",
0,0,"",
0,0,"",

[myBYDBox:Battery_1_VoltsperCell_096_max],BYD_CollorMax(),"096_Max",
[myBYDBox:Battery_1_VoltsperCell_096],colorBYD([myBYDBox:Battery_1_VoltsperCell_096],[myBYDBox:Battery_1_BalancingCell_096]),"096_Akt",
[myBYDBox:Battery_1_VoltsperCell_096_min],BYD_CollorMin(),"096_Min",
[myBYDBox:Battery_1_VoltsperCell_097_max],BYD_CollorMax(),"097_Max",
[myBYDBox:Battery_1_VoltsperCell_097],colorBYD([myBYDBox:Battery_1_VoltsperCell_097],[myBYDBox:Battery_1_BalancingCell_097]),"097_Akt",
[myBYDBox:Battery_1_VoltsperCell_097_min],BYD_CollorMin(),"097_Min",
[myBYDBox:Battery_1_VoltsperCell_098_max],BYD_CollorMax(),"098_Max",
[myBYDBox:Battery_1_VoltsperCell_098],colorBYD([myBYDBox:Battery_1_VoltsperCell_098],[myBYDBox:Battery_1_BalancingCell_098]),"098_Akt",
[myBYDBox:Battery_1_VoltsperCell_098_min],BYD_CollorMin(),"098_Min",
[myBYDBox:Battery_1_VoltsperCell_099_max],BYD_CollorMax(),"099_Max",
[myBYDBox:Battery_1_VoltsperCell_099],colorBYD([myBYDBox:Battery_1_VoltsperCell_099],[myBYDBox:Battery_1_BalancingCell_099]),"099_Akt",
[myBYDBox:Battery_1_VoltsperCell_099_min],BYD_CollorMin(),"099_Min",
[myBYDBox:Battery_1_VoltsperCell_100_max],BYD_CollorMax(),"100_Max",
[myBYDBox:Battery_1_VoltsperCell_100],colorBYD([myBYDBox:Battery_1_VoltsperCell_100],[myBYDBox:Battery_1_BalancingCell_100]),"100_Akt",
[myBYDBox:Battery_1_VoltsperCell_100_min],BYD_CollorMin(),"100_Min",
[myBYDBox:Battery_1_VoltsperCell_101_max],BYD_CollorMax(),"101_Max",
[myBYDBox:Battery_1_VoltsperCell_101],colorBYD([myBYDBox:Battery_1_VoltsperCell_101],[myBYDBox:Battery_1_BalancingCell_101]),"101_Akt",
[myBYDBox:Battery_1_VoltsperCell_101_min],BYD_CollorMin(),"101_Min",
[myBYDBox:Battery_1_VoltsperCell_102_max],BYD_CollorMax(),"102_Max",
[myBYDBox:Battery_1_VoltsperCell_102],colorBYD([myBYDBox:Battery_1_VoltsperCell_102],[myBYDBox:Battery_1_BalancingCell_102]),"102_Akt",
[myBYDBox:Battery_1_VoltsperCell_102_min],BYD_CollorMin(),"102_Min",
[myBYDBox:Battery_1_VoltsperCell_103_max],BYD_CollorMax(),"103_Max",
[myBYDBox:Battery_1_VoltsperCell_103],colorBYD([myBYDBox:Battery_1_VoltsperCell_103],[myBYDBox:Battery_1_BalancingCell_103]),"103_Akt",
[myBYDBox:Battery_1_VoltsperCell_103_min],BYD_CollorMin(),"103_Min",
[myBYDBox:Battery_1_VoltsperCell_104_max],BYD_CollorMax(),"104_Max",
[myBYDBox:Battery_1_VoltsperCell_104],colorBYD([myBYDBox:Battery_1_VoltsperCell_104],[myBYDBox:Battery_1_BalancingCell_104]),"104_Akt",
[myBYDBox:Battery_1_VoltsperCell_104_min],BYD_CollorMin(),"104_Min",
[myBYDBox:Battery_1_VoltsperCell_105_max],BYD_CollorMax(),"105_Max",
[myBYDBox:Battery_1_VoltsperCell_105],colorBYD([myBYDBox:Battery_1_VoltsperCell_105],[myBYDBox:Battery_1_BalancingCell_105]),"105_Akt",
[myBYDBox:Battery_1_VoltsperCell_105_min],BYD_CollorMin(),"105_Min",
[myBYDBox:Battery_1_VoltsperCell_106_max],BYD_CollorMax(),"106_Max",
[myBYDBox:Battery_1_VoltsperCell_106],colorBYD([myBYDBox:Battery_1_VoltsperCell_106],[myBYDBox:Battery_1_BalancingCell_106]),"106_Akt",
[myBYDBox:Battery_1_VoltsperCell_106_min],BYD_CollorMin(),"106_Min",
[myBYDBox:Battery_1_VoltsperCell_107_max],BYD_CollorMax(),"107_Max",
[myBYDBox:Battery_1_VoltsperCell_107],colorBYD([myBYDBox:Battery_1_VoltsperCell_107],[myBYDBox:Battery_1_BalancingCell_107]),"107_Akt",
[myBYDBox:Battery_1_VoltsperCell_107_min],BYD_CollorMin(),"107_Min",
[myBYDBox:Battery_1_VoltsperCell_108_max],BYD_CollorMax(),"108_Max",
[myBYDBox:Battery_1_VoltsperCell_108],colorBYD([myBYDBox:Battery_1_VoltsperCell_108],[myBYDBox:Battery_1_BalancingCell_108]),"108_Akt",
[myBYDBox:Battery_1_VoltsperCell_108_min],BYD_CollorMin(),"108_Min",
[myBYDBox:Battery_1_VoltsperCell_109_max],BYD_CollorMax(),"109_Max",
[myBYDBox:Battery_1_VoltsperCell_109],colorBYD([myBYDBox:Battery_1_VoltsperCell_109],[myBYDBox:Battery_1_BalancingCell_109]),"109_Akt",
[myBYDBox:Battery_1_VoltsperCell_109_min],BYD_CollorMin(),"109_Min",
[myBYDBox:Battery_1_VoltsperCell_110_max],BYD_CollorMax(),"110_Max",
[myBYDBox:Battery_1_VoltsperCell_110],colorBYD([myBYDBox:Battery_1_VoltsperCell_110],[myBYDBox:Battery_1_BalancingCell_110]),"110_Akt",
[myBYDBox:Battery_1_VoltsperCell_110_min],BYD_CollorMin(),"110_Min",
[myBYDBox:Battery_1_VoltsperCell_111_max],BYD_CollorMax(),"111_Max",
[myBYDBox:Battery_1_VoltsperCell_111],colorBYD([myBYDBox:Battery_1_VoltsperCell_111],[myBYDBox:Battery_1_BalancingCell_111]),"111_Akt",
[myBYDBox:Battery_1_VoltsperCell_111_min],BYD_CollorMin(),"111_Min")


Ich hatte hier auch schonmal nachgefragt das zu implementieren.
https://forum.fhem.de/index.php?topic=120088.465
Meide Variante ist wirklich nur Experimentel.

Gruß
Max
Lenovo M910Q Tiny Debian 12, FHEM 6.3, 2x Siemens Logo 0BA7, Homematic CCU3, Philips HUE, 5x SMA Wechselrichter, BYD HVM, SMA EVCharger, Daikin Wärmepumpe über CAN

Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/MadMax

Parallix

#263
Zitat von: MadMax am 17 September 2024, 17:24:40Ich hatte hier auch schonmal nachgefragt das zu implementieren.
https://forum.fhem.de/index.php?topic=120088.465

Danke für das (experimentelle) Template!

Schade, dass es (bis dato) nicht zu einer Erweiterung (von cylinder_bars) geführt hat. Könnte mir sehr gut vorstellen, dass ein entsprechendes Feature vor dem Hintergrund, dass sich inzwischen viele mit PV beschäftigen, an Bedeutung gewinnen könnte. Persönlich fände ich es dann aber besser, wenn die Legende dann durch eine Skala ersetzt würde.

Parallix

Hier noch zwei Feature-Requests zur Erweiterung des tollen Moduls:
  • Reading für "SOC (BYD)"
  • Readings für die Anzahl und Dauer der Blancing-Vorgänge auf eine Zelle

ch.eick

Hallo zusammen,
ich denke es geht hier nur um die BYD HV[S|M] Speicher und nicht um den älteren BYD HV, der noch ein HTTP Interface hat.
Oder könnte man den im Modul auch noch mit abfragen?

VG   Christian
RPI4; Docker; CUNX; Eltako FSB61NP; SamsungTV H-Serie; Sonos; Vallox; Luxtronik; 3x FB7490; Stromzähler mit DvLIR; wunderground; Plenticore 10 mit BYD; EM410; SMAEM; Modbus TCP
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/ch.eick