2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-05-01 06:28:32 +00:00

76_SMAPortal: contrib 3.4.0

git-svn-id: https://svn.fhem.de/fhem/trunk@22558 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2020-08-08 12:22:12 +00:00
parent 918d30fd24
commit 21423ba9eb

View File

@ -71,6 +71,7 @@ BEGIN {
CommandDeleteAttr CommandDeleteAttr
CommandDeleteReading CommandDeleteReading
CommandSet CommandSet
CommandGet
defs defs
delFromDevAttrList delFromDevAttrList
delFromAttrList delFromAttrList
@ -136,7 +137,8 @@ BEGIN {
# Versions History intern # Versions History intern
my %vNotesIntern = ( my %vNotesIntern = (
"3.4.0" => "08.08.2020 attr balanceDay, balanceMonth, balanceYear for data provider balanceDayData, balanceMonthData, balanceYearData ", "3.4.0" => "08.08.2020 attr balanceDay, balanceMonth, balanceYear for data provider balanceDayData, balanceMonthData, balanceYearData ".
"set getData command",
"3.3.4" => "12.07.2020 fix break in header if attribute hourCount was reduced ", "3.3.4" => "12.07.2020 fix break in header if attribute hourCount was reduced ",
"3.3.3" => "07.07.2020 change extractLiveData, minor fixes ", "3.3.3" => "07.07.2020 change extractLiveData, minor fixes ",
"3.3.2" => "05.07.2020 change timeout calc, new reading lastSuccessTime ", "3.3.2" => "05.07.2020 change timeout calc, new reading lastSuccessTime ",
@ -378,7 +380,8 @@ sub Set { ## no critic 'complexity'
# erweiterte Setlist wenn Credentials gesetzt # erweiterte Setlist wenn Credentials gesetzt
$setlist = "Unknown argument $opt, choose one of ". $setlist = "Unknown argument $opt, choose one of ".
"credentials ". "credentials ".
"createPortalGraphic:Generation,Consumption,Generation_Consumption,Differential " "createPortalGraphic:Generation,Consumption,Generation_Consumption,Differential ".
"getData:noArg "
; ;
if($hash->{HELPER}{PLANTOID} && $hash->{HELPER}{CONSUMER}) { if($hash->{HELPER}{PLANTOID} && $hash->{HELPER}{CONSUMER}) {
my $lfd = 0; my $lfd = 0;
@ -485,6 +488,9 @@ sub Set { ## no critic 'complexity'
$hash->{HELPER}{SETTER} = "$opt:$prop"; $hash->{HELPER}{SETTER} = "$opt:$prop";
CallInfo($hash); CallInfo($hash);
} elsif ($opt eq "getData") { # identisch zu "get gata", Workaround um mit webCmd
CommandGet(undef, "$name data");
} else { } else {
return "$setlist"; return "$setlist";
} }
@ -3938,6 +3944,14 @@ return;
that means the consumer are controlled by the Sunny Home Manager. that means the consumer are controlled by the Sunny Home Manager.
</li> </li>
</ul> </ul>
<br>
<ul>
<a name="getData"></a>
<li><b> getData </b> <br>
Identical to the "get data" command. Simplifies the use of the attribute "webCmd" in the FHEMWEB.
</ul>
</li>
</ul> </ul>
<br><br> <br><br>
@ -4218,6 +4232,14 @@ return;
</li> </li>
<br> <br>
<ul>
<a name="getData"></a>
<li><b> getData </b> <br>
Identisch zum "get data" Befehl. Vereinfacht die Benutzung des Attributs "webCmd" im FHEMWEB.
</ul>
</li>
<br>
<ul> <ul>
<a name="Verbrauchername"></a> <a name="Verbrauchername"></a>
<li><b> &lt;Verbrauchername&gt; &lt;on | off | auto&gt; </b> <br> <li><b> &lt;Verbrauchername&gt; &lt;on | off | auto&gt; </b> <br>