mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 08:11:44 +00:00
76_Solarforcast: contrib 0.55.2
git-svn-id: https://svn.fhem.de/fhem/trunk@24943 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9de9d504be
commit
2e23d9dfa7
@ -5195,10 +5195,11 @@ END3
|
|||||||
|
|
||||||
for my $c1 (@consumers) {
|
for my $c1 (@consumers) {
|
||||||
my $power = ConsumerVal ($hash, $c1, "power", 0);
|
my $power = ConsumerVal ($hash, $c1, "power", 0);
|
||||||
|
my $rpcurr = ConsumerVal ($hash, $c1, "rpcurr", ""); # Reading für akt. Verbrauch angegeben ?
|
||||||
my $swstate = ConsumerVal ($hash, $c1, "state", "undef"); # Schaltzustand des Consumerdevices
|
my $swstate = ConsumerVal ($hash, $c1, "state", "undef"); # Schaltzustand des Consumerdevices
|
||||||
$currentPower = ReadingsNum ($name, "consumer${c1}_currentPower", 0);
|
$currentPower = ReadingsNum ($name, "consumer${c1}_currentPower", 0);
|
||||||
|
|
||||||
if (!$currentPower && $swstate eq "on") { # Workaround wenn Verbraucher ohne Leistungsmessung
|
if (!$rpcurr && $swstate eq "on") { # Workaround wenn Verbraucher ohne Leistungsmessung
|
||||||
$currentPower = $power;
|
$currentPower = $power;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -7539,7 +7540,7 @@ Ein/Ausschaltzeiten sowie deren Ausführung vom SolarForecast Modul übernehmen
|
|||||||
<ul>
|
<ul>
|
||||||
<b>Beispiele: </b> <br>
|
<b>Beispiele: </b> <br>
|
||||||
attr <name> consumer01 wallplug icon=scene_dishwasher@orange type=dishwasher mode=can power=2500 on=on off=off notafter=20 etotal=total:kWh:5 <br>
|
attr <name> consumer01 wallplug icon=scene_dishwasher@orange type=dishwasher mode=can power=2500 on=on off=off notafter=20 etotal=total:kWh:5 <br>
|
||||||
attr <name> consumer02 WPxw type=heater mode=can power=3000 mintime=180 on="on-for-timer 3600" notafter=12
|
attr <name> consumer02 WPxw type=heater mode=can power=3000 mintime=180 on="on-for-timer 3600" notafter=12 auto=automatic
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<br>
|
<br>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user