diff --git a/Belevo_Server_Kommunikation/module.php b/Belevo_Server_Kommunikation/module.php index d25a78d..f912697 100644 --- a/Belevo_Server_Kommunikation/module.php +++ b/Belevo_Server_Kommunikation/module.php @@ -37,7 +37,7 @@ class Belevo_Server_Kommunikation extends IPSModule if ($InfluxJaNein) { // Timer auf 5 Minuten setzen - $this->SetTimerInterval("Timer_Influx", 300); // Alle 5 Minuten -> 5*60*1000=300000 + $this->SetTimerInterval("Timer_Influx", 300000); // Alle 5 Minuten -> 5*60*1000=300000 IPS_LogMessage("Belevo_Server_Kommunikation", "Influx Ja"); @@ -148,8 +148,8 @@ class Belevo_Server_Kommunikation extends IPSModule $answer = $this->getWetter($anlagenummer, $this->ReadPropertyString("Gerätenummer"), $this->ReadPropertyString("Ortschaft")); - $this->SetValue("Temperatur", $answer[0]); - $this->SetValue("Wolkenwarscheinlichkeit", $answer[1]); + $this->SetValue("Temperatur", $answer['temp']); + $this->SetValue("Wolkenwarscheinlichkeit", $answer['cloud']); if (!empty($json)) { diff --git a/library.json b/library.json index a448b80..69af20e 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "0.91", + "version": "0.92", "build": 0, "date": 0 } \ No newline at end of file