2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 10:46:53 +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
CommandDeleteReading
CommandSet
CommandGet
defs
delFromDevAttrList
delFromAttrList
@ -136,7 +137,8 @@ BEGIN {
# Versions History intern
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.3" => "07.07.2020 change extractLiveData, minor fixes ",
"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
$setlist = "Unknown argument $opt, choose one of ".
"credentials ".
"createPortalGraphic:Generation,Consumption,Generation_Consumption,Differential "
"createPortalGraphic:Generation,Consumption,Generation_Consumption,Differential ".
"getData:noArg "
;
if($hash->{HELPER}{PLANTOID} && $hash->{HELPER}{CONSUMER}) {
my $lfd = 0;
@ -485,6 +488,9 @@ sub Set { ## no critic 'complexity'
$hash->{HELPER}{SETTER} = "$opt:$prop";
CallInfo($hash);
} elsif ($opt eq "getData") { # identisch zu "get gata", Workaround um mit webCmd
CommandGet(undef, "$name data");
} else {
return "$setlist";
}
@ -3938,6 +3944,14 @@ return;
that means the consumer are controlled by the Sunny Home Manager.
</li>
</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>
<br><br>
@ -4218,6 +4232,14 @@ return;
</li>
<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>
<a name="Verbrauchername"></a>
<li><b> &lt;Verbrauchername&gt; &lt;on | off | auto&gt; </b> <br>