-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Smarthomedevices als Virtuelle Zähler...
Mit diesen PHP und url files s ist es möglich die bisherigen Smarthomedgerät in openwb 2.0 als virtuelle Zähler auf der Hauptseite anzuzeigen. Jeder Smarthomegerät muss wie folgt erfasst werden: Hersteller Universell Verfügbare Geräte HTTP Bezeichnung Stiebel Server URL http://192.168.1.246/openWB/packages/modules/smarthome Wobei die 192.168.1.246 mit der eigenen IP ersetzt werden muss Pfad für Leistung /leistung1.php Pfad für Zählerstand Bezug /bezug1.php Pfad für Zählerstand Einspeisung /Einspeisung1.php (Wobei 1 mit der jeweiligen Nummer vom Smarthomegerät ersetzt werden muss). Anschliessend werden die Smarthomegeräte auf der Hauptseite angezeigt. Unter Auswertungen werden die neuen virtuellem Zähler nicht angezeigt, hier werden die bestehenden Smarthomegeräte korrekt angezeigt.
- Loading branch information
Showing
27 changed files
with
153 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
$file = "/var/www/html/openWB/ramdisk/device1_wh"; | ||
if (is_file($file)) { | ||
$a = file_get_contents($file); | ||
echo $a / 1000; | ||
} else { echo 0; } | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
$file = "/var/www/html/openWB/ramdisk/device2_wh"; | ||
if (is_file($file)) { | ||
$a = file_get_contents($file); | ||
echo $a / 1000; | ||
} else { echo 0; } | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
$file = "/var/www/html/openWB/ramdisk/device3_wh"; | ||
if (is_file($file)) { | ||
$a = file_get_contents($file); | ||
echo $a / 1000; | ||
} else { echo 0; } | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
$file = "/var/www/html/openWB/ramdisk/device4_wh"; | ||
if (is_file($file)) { | ||
$a = file_get_contents($file); | ||
echo $a / 1000; | ||
} else { echo 0; } | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
$file = "/var/www/html/openWB/ramdisk/device5_wh"; | ||
if (is_file($file)) { | ||
$a = file_get_contents($file); | ||
echo $a / 1000; | ||
} else { echo 0; } | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
$file = "/var/www/html/openWB/ramdisk/device6_wh"; | ||
if (is_file($file)) { | ||
$a = file_get_contents($file); | ||
echo $a / 1000; | ||
} else { echo 0; } | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
$file = "/var/www/html/openWB/ramdisk/device7_wh"; | ||
if (is_file($file)) { | ||
$a = file_get_contents($file); | ||
echo $a / 1000; | ||
} else { echo 0; } | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
$file = "/var/www/html/openWB/ramdisk/device8_wh"; | ||
if (is_file($file)) { | ||
$a = file_get_contents($file); | ||
echo $a / 1000; | ||
} else { echo 0; } | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
$file = "/var/www/html/openWB/ramdisk/device9_wh"; | ||
if (is_file($file)) { | ||
$a = file_get_contents($file); | ||
echo $a / 1000; | ||
} else { echo 0; } | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?php | ||
echo 0 | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?php | ||
echo 0 | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?php | ||
echo 0 | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?php | ||
echo 0 | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?php | ||
echo 0 | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?php | ||
echo 0 | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?php | ||
echo 0 | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?php | ||
echo 0 | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?php | ||
echo 0 | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
$file = "/var/www/html/openWB/ramdisk/device1_watt"; | ||
if (is_file($file)) { | ||
$a = file_get_contents($file); | ||
echo $a; | ||
} else { echo 0; } | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
$file = "/var/www/html/openWB/ramdisk/device2_watt"; | ||
if (is_file($file)) { | ||
$a = file_get_contents($file); | ||
echo $a; | ||
} else { echo 0; } | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
$file = "/var/www/html/openWB/ramdisk/device3_watt"; | ||
if (is_file($file)) { | ||
$a = file_get_contents($file); | ||
echo $a; | ||
} else { echo 0; } | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
$file = "/var/www/html/openWB/ramdisk/device4_watt"; | ||
if (is_file($file)) { | ||
$a = file_get_contents($file); | ||
echo $a; | ||
} else { echo 0; } | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
$file = "/var/www/html/openWB/ramdisk/device5_watt"; | ||
if (is_file($file)) { | ||
$a = file_get_contents($file); | ||
echo $a; | ||
} else { echo 0; } | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
$file = "/var/www/html/openWB/ramdisk/device6_watt"; | ||
if (is_file($file)) { | ||
$a = file_get_contents($file); | ||
echo $a; | ||
} else { echo 0; } | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
$file = "/var/www/html/openWB/ramdisk/device7_watt"; | ||
if (is_file($file)) { | ||
$a = file_get_contents($file); | ||
echo $a; | ||
} else { echo 0; } | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
$file = "/var/www/html/openWB/ramdisk/device8_watt"; | ||
if (is_file($file)) { | ||
$a = file_get_contents($file); | ||
echo $a; | ||
} else { echo 0; } | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
$file = "/var/www/html/openWB/ramdisk/device9_watt"; | ||
if (is_file($file)) { | ||
$a = file_get_contents($file); | ||
echo $a; | ||
} else { echo 0; } | ||
?> |