no message

This commit is contained in:
belevo\mh
2026-01-23 13:38:45 +01:00
parent 010f6c5785
commit 5b57f2637a
2 changed files with 21 additions and 7 deletions

View File

@@ -19,7 +19,7 @@
{
"caption":"Leistung in W",
"name":"powerbat",
"width":"300px",
"width":"200px",
"add":5000,
"edit":{
"type":"NumberSpinner"
@@ -28,7 +28,7 @@
{
"caption":"Kapazität in kWh",
"name":"capazity",
"width":"400px",
"width":"200px",
"add":60,
"edit":{
"type":"NumberSpinner"
@@ -37,7 +37,25 @@
{
"caption":"SoC",
"name":"soc",
"width":"400px",
"width":"200px",
"add":0,
"edit":{
"type":"SelectVariable"
}
},
{
"caption":"Batterieleistung",
"name":"powerbat_laden",
"width":"200px",
"add":0,
"edit":{
"type":"SelectVariable"
}
},
{
"caption":"Batterieleistung",
"name":"powerbat_entladen",
"width":"200px",
"add":0,
"edit":{
"type":"SelectVariable"

View File

@@ -352,10 +352,6 @@ class Bat_EV_SDL extends IPSModule
$soc = (float)$v;
// 0..1 -> 0..100
if ($soc >= 0.0 && $soc < 1.0) {
$soc *= 100.0;
}
if ($soc < 0.0) $soc = 0.0;
if ($soc > 100.0) $soc = 100.0;