mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
76_SMAPortal: contrib 1.8.0
git-svn-id: https://svn.fhem.de/fhem/trunk@19509 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
af58c48834
commit
8c05b19f99
@ -258,22 +258,22 @@ sub Set($@) {
|
||||
if ($prop eq "Generation") {
|
||||
$htmldev = "SPG1.$name"; # Grafiktyp Generation (Erzeugung)
|
||||
$type = 'pv';
|
||||
$c = "SMA Sunny Portal Graphics - Generation";
|
||||
$c = "SMA Sunny Portal Graphics - Forecast Generation";
|
||||
$color2 = "000000"; # zweite Farbe als schwarz setzen
|
||||
} elsif ($prop eq "Consumption") {
|
||||
$htmldev = "SPG2.$name"; # Grafiktyp Consumption (Verbrauch)
|
||||
$type = 'co';
|
||||
$c = "SMA Sunny Portal Graphics - Consumption";
|
||||
$c = "SMA Sunny Portal Graphics - Forecast Consumption";
|
||||
$color2 = "000000"; # zweite Farbe als schwarz setzen
|
||||
} elsif ($prop eq "Generation_Consumption") {
|
||||
$htmldev = "SPG3.$name"; # Grafiktyp Generation_Consumption (Erzeugung und Verbrauch)
|
||||
$type = 'pvco';
|
||||
$c = "SMA Sunny Portal Graphics - Generation & Consumption";
|
||||
$c = "SMA Sunny Portal Graphics - Forecast Generation & Consumption";
|
||||
$color2 = "FF5C82"; # zweite Farbe als rot setzen
|
||||
} elsif ($prop eq "Differential") {
|
||||
$htmldev = "SPG4.$name"; # Grafiktyp Differential (Differenzanzeige)
|
||||
$type = 'diff';
|
||||
$c = "SMA Sunny Portal Graphics - Differential";
|
||||
$c = "SMA Sunny Portal Graphics - Forecast Differential";
|
||||
$color2 = "FF5C82"; # zweite Farbe als rot setzen
|
||||
} else {
|
||||
return "Invalid portal graphic devicetype ! Use one of \"Generation\", \"Consumption\", \"Generation_Consumption\", \"Differential\". "
|
||||
|
Loading…
x
Reference in New Issue
Block a user