no message

This commit is contained in:
belevo\mh
2026-05-04 17:55:48 +02:00
parent dda7f4de9a
commit 1e82108c61
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -96,9 +96,9 @@
"type": "NumberSpinner",
"name": "UpdateIntervalMs",
"caption": "Neuberechnung alle",
"suffix": "ms",
"minimum": 100,
"maximum": 86400000
"suffix": "S",
"minimum": 1,
"maximum": 86400
},
{
"type": "CheckBox",
+3 -3
View File
@@ -9,7 +9,7 @@ class Bat_EV_SDL_V4 extends IPSModule
$this->RegisterPropertyString("Batteries", "[]");
$this->RegisterPropertyInteger("SDL_Leistung_Laden", 0);
$this->RegisterPropertyInteger("SDL_Leistung_Entladen", 0);
$this->RegisterPropertyInteger("UpdateIntervalMs", 1000);
$this->RegisterPropertyInteger("UpdateIntervalMs", 2);
$this->RegisterPropertyFloat("ReserveHours", 0.5);
$this->RegisterPropertyBoolean("FilterAktiv", false);
@@ -46,8 +46,8 @@ class Bat_EV_SDL_V4 extends IPSModule
{
parent::ApplyChanges();
$intervalMs = (int)$this->ReadPropertyInteger("UpdateIntervalMs");
$this->SetTimerInterval("UpdateTimer", ($intervalMs > 0) ? $intervalMs : 0);
$intervalSec = (int)$this->ReadPropertyInteger("UpdateInterval");
$this->SetTimerInterval("UpdateTimer", ($intervalSec > 0) ? $intervalSec * 1000 : 0);
$this->BuildStaticBatteryConfig();