no message

This commit is contained in:
2025-04-08 10:00:05 +02:00
parent 43a24de2c3
commit 2dde866307

View File

@@ -19,6 +19,7 @@ class Ladestation_v2 extends IPSModule
// Ladestationspezifische Variabeln
$this->RegisterVariableFloat("Max_Current","Maximaler Ladestrom","~Switch", 0);
IPS_SetHidden($this->GetIDForIdent("Max_Current"), true);
$this->RegisterVariableBoolean("Is_1_ph", "Auto lädt 1-Phasig", "~Switch", false);
$this->RegisterVariableBoolean("Car_detected", "Auto erkannt","~Switch", false);
$this->RegisterVariableInteger("Pending_Counter", "Pending_Counter", "", 0);
@@ -29,8 +30,12 @@ class Ladestation_v2 extends IPSModule
$this->RegisterVariableBoolean("Solarladen", "Solarladen ein", "~Switch", false);
$this->EnableAction("Solarladen");
$this->RegisterVariableInteger("Fahrzeugstatus", "Fahrzeugstatus", "", 0);
$this->RegisterVariableFloat("Ladeleistung_Effektiv", "Effektive Ladeleistung", "", 0);
IPS_SetHidden($this->GetIDForIdent("Fahrzeugstatus"), true);
$this->RegisterVariableFloat("Ladeleistung_Effektiv", "Aktuelle Ladeleistung", "", 0);
$this->RegisterVariableBoolean("Peak", "Peak", "", 0);
IPS_SetHidden($this->GetIDForIdent("Peak"), true);
@@ -40,12 +45,25 @@ class Ladestation_v2 extends IPSModule
$this->RegisterVariableInteger("PV_Prio", "Priorität Solarladen", "", 0);
$this->EnableAction("PV_Prio");
$this->RegisterVariableBoolean("Idle", "Idle", "", 0);
IPS_SetHidden($this->GetIDForIdent("Idle"), true);
$this->RegisterVariableInteger("Aktuelle_Leistung", "Aktuelle_Leistung", "", 0);
IPS_SetHidden($this->GetIDForIdent("Aktuelle_Leistung"), true);
$this->RegisterVariableFloat("Bezogene_Energie", "Gesamter Energiebezug", "", 0);
IPS_SetHidden($this->GetIDForIdent("Bezogene_Energie"), true);
$this->RegisterVariableString("PowerSteps", "Leistungsschritte");
IPS_SetHidden($this->GetIDForIdent("PowerSteps"), true);
$this->RegisterVariableInteger("Power", "Power");
IPS_SetHidden($this->GetIDForIdent("Power"), true);
$this->RegisterVariableBoolean("Is_Peak_Shaving", "Is_Peak_Shaving");
IPS_SetHidden($this->GetIDForIdent("Is_Peak_Shaving"), true);
$this->RegisterVariableInteger("Leistung_Delta", "Leistung_Delta", "", 0);
IPS_SetHidden($this->GetIDForIdent("Leistung_Delta"), true);
// Hilfsvariabeln für Idle zustand
$this->RegisterPropertyInteger("IdleCounterMax", 2);