mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-16 16:56:04 +00:00
60_Watches: contrib 0.21.0
git-svn-id: https://svn.fhem.de/fhem/trunk@21900 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8115a0084e
commit
57e75f0282
@ -213,11 +213,9 @@ sub Set { ## no critic 'compl
|
||||
return qq{The value for "$opt" is invalid. Use parameter "hh mm ss" like "19 45 13".} if($prop>24 || $prop1>59 || $prop2>59);
|
||||
|
||||
my $at = sprintf("%02d",$prop).":".sprintf("%02d",$prop1).":".sprintf("%02d",$prop2);
|
||||
|
||||
readingsBeginUpdate ($hash);
|
||||
readingsBulkUpdate ($hash, "alarmed", 0);
|
||||
readingsBulkUpdate ($hash, "alarmTime", $at);
|
||||
readingsEndUpdate ($hash, 1);
|
||||
|
||||
readingsSingleUpdate($hash, "alarmed", 0, 0);
|
||||
readingsSingleUpdate($hash, "alarmTime", $at, 1);
|
||||
|
||||
} elsif ($opt eq "alarmHMSdel") {
|
||||
delReadings ($name, "alarmTime");
|
||||
@ -2319,8 +2317,9 @@ Die Uhren basieren auf Skripten dieser Seiten: <br>
|
||||
<a href='http://www.3quarks.com/de/Segmentanzeige/'>Digitalanzeige</a>
|
||||
<br><br>
|
||||
|
||||
Eine definiertes Device vom Model <b>Digital</b> kann ebenfalls als Stoppuhr, CountDown-Timer oder
|
||||
universelle Textanzeige (im Sechzehnsegment-Modus) verwendet werden. <br>
|
||||
Ein Device vom Model <b>Digital</b> kann ebenfalls als Stoppuhr, CountDown-Timer oder
|
||||
universelle Textanzeige (für Sechzehnsegment-Modus siehe Attribut <a href="#digitalSegmentType">digitalSegmentType</a>)
|
||||
verwendet werden. <br>
|
||||
Als Zeitquelle können sowohl der Client (Browserzeit) als auch der FHEM-Server eingestellt werden
|
||||
(Attribut <a href="#timeSource">timeSource</a>). <br>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user