Skip to content

Commit 4fe9940

Browse files
Merge pull request #13 from SimonNitzsche/master
Hotfix v1.2.3
2 parents fc1af6d + b65505e commit 4fe9940

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed

Analog Out 0-10V/module.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function ReceiveData($JSONString) {
3838
$this->SendDebug("ESERA-Analog-Out-0-10V", "DataPoint:" . $data->DataPoint . " | Value: " . $data->Value, 0);
3939

4040
if ($this->ReadPropertyInteger("OWDID") == $data->DeviceNumber) {
41-
if ($data->DataPoint == 0) {
41+
if ($data->DataPoint == 1) {
4242
$value = $data->Value / 100;
4343
SetValue($this->GetIDForIdent("AnalogOut"), $value);
4444
}

Analog Out 0-20mA/module.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function ReceiveData($JSONString) {
3838
$this->SendDebug("ESERA-Analog-Out-0-20mA", "DataPoint:" . $data->DataPoint . " | Value: " . $data->Value, 0);
3939

4040
if ($this->ReadPropertyInteger("OWDID") == $data->DeviceNumber) {
41-
if ($data->DataPoint == 0) {
41+
if ($data->DataPoint == 1) {
4242
$value = $data->Value / 100;
4343
SetValue($this->GetIDForIdent("AnalogOut"), $value);
4444
}

PWM Out/module.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function ReceiveData($JSONString) {
4242
$this->SendDebug("ESERA-PWM-Out10V", "DataPoint:" . $data->DataPoint . " | Value: " . $data->Value, 0);
4343

4444
if ($this->ReadPropertyInteger("OWDID") == $data->DeviceNumber) {
45-
if ($data->DataPoint == 0) {
45+
if ($data->DataPoint == 1) {
4646
$value = $data->Value;
4747
SetValue($this->GetIDForIdent("PWMOut"), $value);
4848
}

Station 200 Interface/module.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ private function AnalyseData($DataString) {
176176
$dataPoint = intval($headArray[2]);
177177
}
178178
else{
179-
$dataPoint = 0;
179+
$dataPoint = 1;
180180
}
181181

182182
$this->SendDebug("SendToDevice", json_encode(Array("DataID" => "{E3BB8703-6388-48DA-AA85-8852CDEE152D}", "DeviceNumber" => $deviceNumber, "DataPoint" => $dataPoint, "Value" => $value)), 0);
@@ -190,7 +190,7 @@ private function AnalyseData($DataString) {
190190
$dataPoint = intval($headArray[2]);
191191
}
192192
else{
193-
$dataPoint = 0;
193+
$dataPoint = 1;
194194
}
195195

196196
//geändert 10.08.2017 andrge (hinweis von ch. schrader)

Temperatur Sensor/module.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function ReceiveData($JSONString) {
3737
$this->SendDebug("ESERA-Temperatur", "DataPoint:" . $data->DataPoint . " | Value: " . $data->Value, 0);
3838

3939
if ($this->ReadPropertyInteger("OWDID") == $data->DeviceNumber) {
40-
if ($data->DataPoint == 0) {
40+
if ($data->DataPoint == 1) {
4141
$value = $data->Value / 100;
4242
SetValue($this->GetIDForIdent("Temperatur"), $value);
4343
}

Temperature-Sensor/module.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function ReceiveData($JSONString) {
3737
$this->SendDebug("ESERA-Temperatur", "DataPoint:" . $data->DataPoint . " | Value: " . $data->Value, 0);
3838

3939
if ($this->ReadPropertyInteger("OWDID") == $data->DeviceNumber) {
40-
if ($data->DataPoint == 0) {
40+
if ($data->DataPoint == 1) {
4141
$value = $data->Value / 100;
4242
SetValue($this->GetIDForIdent("Temperatur"), $value);
4343
}

iButton 0-1/module.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function ReceiveData($JSONString) {
3636
$this->SendDebug("EseraiButton", "DataPoint:" . $data->DataPoint . " | Value: " . $data->Value, 0);
3737

3838
if ($this->ReadPropertyInteger("OWDID") == $data->DeviceNumber) {
39-
if ($data->DataPoint == 0) {
39+
if ($data->DataPoint == 1) {
4040
$value = $data->Value;
4141
SetValue($this->GetIDForIdent("iButton"), $value);
4242
}

iButton Serial No/module.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function ReceiveData($JSONString) {
3535
$this->SendDebug("EseraiButton", "DataPoint:" . $data->DataPoint . " | Value: " . $data->Value, 0);
3636

3737
if ($this->ReadPropertyInteger("OWDID") == $data->DeviceNumber) {
38-
if ($data->DataPoint == 0) {
38+
if ($data->DataPoint == 1) {
3939
$value = $data->Value;
4040
SetValue($this->GetIDForIdent("iButton"), $value);
4141
}

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"author": "ESERA GmbH",
44
"name": "ESERA IPS Integration",
55
"url": "https://www.esera.de/",
6-
"version": "1.2.2",
6+
"version": "1.2.3",
77
"build": 0,
88
"date": 0
99
}

0 commit comments

Comments
 (0)