server_com zeit geändert, mehr logging
This commit is contained in:
@@ -37,7 +37,7 @@ class Belevo_Server_Kommunikation extends IPSModule
|
|||||||
|
|
||||||
if ($InfluxJaNein) {
|
if ($InfluxJaNein) {
|
||||||
// Timer auf 5 Minuten setzen
|
// Timer auf 5 Minuten setzen
|
||||||
$this->SetTimerInterval("Timer_Influx", 300000); // Alle 5 Minuten -> 5*60*1000=300000
|
$this->SetTimerInterval("Timer_Influx", 5000); // Alle 5 Minuten -> 5*60*1000=300000
|
||||||
IPS_LogMessage("Belevo_Server_Kommunikation", "Influx Ja");
|
IPS_LogMessage("Belevo_Server_Kommunikation", "Influx Ja");
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ class WP_Steuerung extends IPSModule {
|
|||||||
// Methode zum Setzen des aktuellen Stromverbrauchs
|
// Methode zum Setzen des aktuellen Stromverbrauchs
|
||||||
public function SetCurrentPower(float $power) {
|
public function SetCurrentPower(float $power) {
|
||||||
|
|
||||||
$sperrzei_abs = 60*60*(GetValue($this->ReadPropertyInteger("Aussentemperatur"))+10)/25*60;
|
$sperrzei_abs = 60*60*(GetValue($this->ReadPropertyInteger("Aussentemperatur"))+10)/25*6;
|
||||||
|
|
||||||
if($sperrzei_abs>6*60*60){
|
if($sperrzei_abs>6*60*60){
|
||||||
$sperrzei_abs = 6*60*60;
|
$sperrzei_abs = 6*60*60;
|
||||||
@@ -132,10 +132,14 @@ class WP_Steuerung extends IPSModule {
|
|||||||
elseif($LastPeak == false && $power == 0){
|
elseif($LastPeak == false && $power == 0){
|
||||||
$this->SetValue("Zustand_WP", 1);
|
$this->SetValue("Zustand_WP", 1);
|
||||||
$this->SetValue("CurrentPower", 0);
|
$this->SetValue("CurrentPower", 0);
|
||||||
|
IPS_LogMessage("here", $aktuellezeit);
|
||||||
|
|
||||||
|
|
||||||
if($its_lock_time){
|
if($its_lock_time){
|
||||||
$this->SetValue("Zustand_WP", 2);
|
$this->SetValue("Zustand_WP", 2);
|
||||||
$this->SetValue("CurrentPower", 0);
|
$this->SetValue("CurrentPower", 0);
|
||||||
|
IPS_LogMessage("herrre", $aktuellezeit);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"compatibility": {
|
"compatibility": {
|
||||||
"version": "7.1"
|
"version": "7.1"
|
||||||
},
|
},
|
||||||
"version": "0.118",
|
"version": "0.119",
|
||||||
"build": 0,
|
"build": 0,
|
||||||
"date": 0
|
"date": 0
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user