diff --git a/Belevo_Server_Kommunikation/module.php b/Belevo_Server_Kommunikation/module.php index 0507cb9..8c728d1 100644 --- a/Belevo_Server_Kommunikation/module.php +++ b/Belevo_Server_Kommunikation/module.php @@ -10,32 +10,32 @@ class Belevo_Server_Kommunikation extends IPSModule //Property: statische Konfigurationsdaten parent::Create(); //Netzbezug - $this->RegisterVariableFloat("E_PNB_5M_0", "E_PNB_5M_0", "",0); + $this->RegisterPropertyFloat("E_PNB_5M_0", "E_PNB_5M_0", "",0); $this->RegisterVariableFloat("Netzbezug", "Netzbezug", "",0); //Boilerstatus - $this->RegisterVariableInteger("G_BS_5M_0", "G_BS_5M_0", "",0); + $this->RegisterPropertyInteger("G_BS_5M_0", "G_BS_5M_0", "",0); $this->RegisterVariableInteger("Boilerstatus", 0); //Boilertemperatur - $this->RegisterVariableFloat("G_BT_5M_0", "G_BT_5M_0", "",0); // Wird an Influx Server gesendet + $this->RegisterPropertyFloat("G_BT_5M_0", "G_BT_5M_0", "",0); // Wird an Influx Server gesendet $this->RegisterVariableFloat("Boilertemperatur", 0); // Ist, Jetzige Boilertemperatur //Schaltkontake des Boilers - $this->RegisterVariableInteger("G_SK_5M_1", "G_SK_5M_1", "",0); + $this->RegisterPropertyInteger("G_SK_5M_1", "G_SK_5M_1", "",0); $this->RegisterVariableInteger("Schaltkontakt_1", 0); - $this->RegisterVariableInteger("G_SK_5M_2", "G_SK_5M_2", "",0); + $this->RegisterPropertyInteger("G_SK_5M_2", "G_SK_5M_2", "",0); $this->RegisterVariableInteger("Schaltkontakt_2", 0); //Schaltkontake des Boilers - $this->RegisterVariableInteger("G_SK_5M_3", "G_SK_5M_3", "",0); + $this->RegisterPropertyInteger("G_SK_5M_3", "G_SK_5M_3", "",0); $this->RegisterVariableInteger("Kontakt_Teillast", 0); - $this->RegisterVariableInteger("G_SK_5M_4", "G_SK_5M_4", "",0); + $this->RegisterPropertyInteger("G_SK_5M_4", "G_SK_5M_4", "",0); $this->RegisterVariableInteger("Kontakt_Volllast", 0); //Wärmepumpe Status - $this->RegisterVariableFloat("G_WPS_5M_0", "G_WPS_5M_0", "",0); + $this->RegisterPropertyFloat("G_WPS_5M_0", "G_WPS_5M_0", "",0); $this->RegisterVariableInteger("Waermepumpe_Status", 0); //Wolkenwahrscheinlichkeit - $this->RegisterVariableFloat("G_WW_5M_0", "G_WW_5M_0", "",0); + $this->RegisterPropertyFloat("G_WW_5M_0", "G_WW_5M_0", "",0); $this->RegisterVariableInteger("Wolkenwahrscheinlichkeit", 0); //Aussentemperatur - $this->RegisterVariableFloat("G_AT_5M_0", "G_AT_5M_0", "",0); + $this->RegisterPropertyFloat("G_AT_5M_0", "G_AT_5M_0", "",0); $this->RegisterVariableInteger("Aussentemperatur", 0); $this->RegisterPropertyString("BaseURL","https://brain.belevo.ch/status?nr="); diff --git a/library.json b/library.json index 563706a..302d6d4 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "0.26", + "version": "0.27", "build": 0, "date": 0 } \ No newline at end of file