diff --git a/fhem/contrib/DS_Starter/60_Watches.pm b/fhem/contrib/DS_Starter/60_Watches.pm
index 652a4dc7e..77a71fed4 100644
--- a/fhem/contrib/DS_Starter/60_Watches.pm
+++ b/fhem/contrib/DS_Starter/60_Watches.pm
@@ -71,6 +71,7 @@ BEGIN {
# Versions History intern
my %vNotesIntern = (
+ "0.23.2" => "20.05.2020 english commandref ",
"0.23.1" => "10.05.2020 some more changes for PBP severity 3 ",
"0.23.0" => "10.05.2020 attr 'digitalBorderDistance' now also valid for digital watches, some changes for PBP ",
"0.22.0" => "09.05.2020 new attr 'digitalBorderDistance' for left and rigtht border distance of digital text ",
@@ -2313,7 +2314,408 @@ return;
Watches
-At the moment only a german commandref is available.
+
+The module Watches provides watches in different styles as Device.
+The user can influence the design of the watches via attributes.
+The clocks are based on scripts of these pages:
+
+modern watch,
+Station clock,
+Digital display
+
+
+A device of the model Digital can also be used as stopwatch, countdown timer or
+universal text display (for sixteen segment mode see attribute digitalSegmentType).
+As time source the client (browser time) as well as the FHEM server can be set
+(attribute timeSource).
+
+
+
+ Define
+
+
+ define <name> Watches [Modern | Station | Digital]
+
+
+
+
+ | Modern | : creates an analog clock with a modern design |
+ | Station | : creates a station clock |
+ | Digital | : creates a digital display (clock, (CountDown)stop watch, static time display or text) |
+
+
+
+
+
+
+ Set
+
+
+
+
+
+ - alarmSet <hh> <mm> <ss>
+ Sets the alarm time in the format hh hours (24), mm minutes and ss seconds.
+ If the time reaches the defined value, an event of the reading "alarmed" is triggered.
+ This set command is only available for digital stopwatches.
+
+
+ Example
+ set <name> alarmSet 0 30 10
+
+
+
+
+
+
+
+ - alarmDel
+ Clears the set alarm time and its status.
+ This set command is only available for digital stopwatches.
+
+
+
+
+ - countDownInit <hh> <mm> <ss>
+ Sets the start time of a countdown stopwatch with hh hours(24), mm minutes and ss seconds.
+ This set command is only available with a digital countdown stopwatch.
+
+
+ Example
+ set <name> countDownInit 0 30 10
+
+
+
+
+
+
+
+ - displayTextSet
+ Sets the text to be displayed.
+ This set command is only available for a digital segment display with "digitalDisplayPattern = text".
+ (default: blank display)
+
+ Note:
+ The displayable characters depend on the attribute "digitalSegmentType".
+ With the (default) seven-segment display, only numbers, hyphen, underscore and the letters
+ A, b, C, d, E, F, H, L, n, o, P, r, t, U and Y are displayed.
+ In addition to numbers, short texts such as "Error", "HELP", "run" or "PLAY" can also be displayed.
+ For text display it is recommended to set the sixteen segment display with the attribute "digitalSegmentType" !
+
+
+
+
+ - displayTextDel
+ Deletes the display text.
+ This set command is only available for a digital segment display with "digitalDisplayPattern = text".
+
+
+
+
+ - reset
+ Stops the stopwatch (if running) and clears all specific readings or resets it to initialized.
+ This set command is only available for digital stopwatches.
+
+
+
+
+ - resume
+ Resumes counting a stopped stopwatch.
+ This set command is only available for digital stopwatches.
+
+
+
+
+ - start
+ Starts the stopwatch.
+ This set command is only available for digital stopwatches.
+
+
+
+
+ - stop
+ Stop the stopwatch. The achieved time is retained.
+ This set command is only available for digital stopwatches.
+
+
+
+
+ - textTicker on | off
+ Switches the ticker mode of a text display (see attribute digitalDisplayPattern) on or off.
+ (default: off)
+
+
+
+
+ - time <hh> <mm> <ss>
+ Sets a static time display with hh hours(24), mm minutes and ss seconds.
+ This set command is only available for a digital clock with static time display.
+
+
+ Example
+ set <name> time 8 15 3
+
+
+
+
+
+
+
+
+
+
+ Get
+
+
+
+
+
+ Attribute
+
+
+
+
+
+
+ - disable
+ Activates/deactivates the Device.
+
+
+
+
+ - hideDisplayName
+ Hides the Device/Alias name (link to detail view).
+
+
+
+
+ - htmlattr
+ Additional HTML tags to resize the clock / display.
+
+ Example:
+ attr <name> htmlattr width="125" height="125"
+
+
+
+
+
+ - timeSource
+ Selects the time source. The local client time (browser) or the FHEM server time can be displayed.
+ This setting is not relevant for (countdown) stopwatches.
+ [default: client]
+
+
+
+
+
+ The following attributes must be set specifically for a clock type.
+
+
+ Model: Modern
+
+
+
+ - modernColorBackground
+ Background color of the clock.
+
+
+
+
+ - modernColorFace
+ Colouring of the dial.
+
+
+
+
+ - modernColorFigure
+ Colour of the numbers on the dial and the pointer axle cover.
+
+
+
+
+ - modernColorHand
+ Colour of the watch hands.
+
+
+
+
+ - modernColorRing
+ Colour of the dial frame.
+
+
+
+
+ - modernColorRingEdge
+ Colour of the outer ring of the dial frame.
+
+
+
+
+
+ Model: Station
+
+
+
+ - stationBody
+ Type of watch case.
+
+
+
+
+ - stationBoss
+ Type and colour of the pointer axle cover.
+
+
+
+
+ - stationHourHand
+ Type of hour hand.
+
+
+
+
+ - stationMinuteHand
+ Type of minute hand.
+
+
+
+
+ - stationMinuteHandBehavoir
+ Behavior of the minute hand.
+
+
+
+
+ - stationSecondHand
+ Type of second hand.
+
+
+
+
+ - stationSecondHandBehavoir
+ Behavior of the second hand.
+
+
+
+
+ - stationStrokeDial
+ Selection of the dial.
+
+
+
+
+
+
+ Model: Digital
+
+
+
+ - digitalBorderDistance
+ Left and right distance of the digital text display from the background edge.
+ (default: 8)
+
+
+
+
+ - digitalColorBackground
+ Digital clock background color.
+
+
+
+
+ - digitalColorDigits
+ Color of the bar display in a digital watch.
+
+
+
+
+ - digitalDigitAngle
+ Adjusts the tilt angle of the displayed characters.
+ (default: 9)
+
+
+
+
+ - digitalDigitDistance
+ Adjusts the character spacing.
+ (default: 2)
+
+
+
+
+ - digitalDigitHeight
+ Adjusts the character height.
+ (default: 20)
+
+
+
+
+ - digitalDigitWidth
+ Adjusts the character width.
+ (default: 12)
+
+
+
+
+ - digitalDisplayPattern [countdownwatch | staticwatch | stopwatch | text | watch]
+ Switching the digital display between a clock (default), a stopwatch, static time display or text display.
+ The text to be displayed in text display mode can be defined with
+ set <name> displayText.
+
+ Note: For text display it is recommended to set the attribute "digitalSegmentType" to "16".
+
+
+
+
+ | countdownwatch | : CountDown Stopwatch |
+ | staticwatch | : static time display |
+ | stopwatch | : Stopwatch |
+ | text | : Display of a definable text |
+ | watch | : Watch |
+
+
+
+
+
+
+
+ - digitalSegmentDistance
+ Defines the distance between the segments.
+ (default: 0.5)
+
+
+
+
+ - digitalSegmentType
+ Switches the segment number of the digital display.
+ (default: 7)
+
+
+
+
+ - digitalSegmentWidth
+ Changes the width of the individual segments.
+ (default: 1.5)
+
+
+
+
+ - digitalTextDigitNumber <Quantity>
+ If <Quantity> > 0, the number of digits of a text display (digitalDisplayPattern = text) is fixed.
+ If <Quantity> = 0 or not set, the setting is made automatically. In this case an adaptation is made
+ of the character size to the number depending on the set display size (see htmlattr).
+ (default: 0)
+
+
+
+
+
+
+
=end html
=begin html_DE
@@ -2671,7 +3073,8 @@ Als Zeitquelle können sowohl der Client (Browserzeit) als auch der FHEM-Server
digitalDisplayPattern [countdownwatch | staticwatch | stopwatch | text | watch]
Umschaltung der Digitalanzeige zwischen einer Uhr (default), einer Stoppuhr, statischen Zeitanzeige oder Textanzeige.
- Der anzuzeigende Text im Modus Textanzeige kann mit set displayText definiert werden.
+ Der anzuzeigende Text im Modus Textanzeige kann mit
+ set <name> displayText.
Hinweis: Bei Textanzeige wird empfohlen das Attribut "digitalSegmentType" auf "16" zu stellen.