Hauptmenü

webCmd Doku

Begonnen von Dr. Boris Neubert, 29 Juli 2013, 22:00:20

Vorheriges Thema - Nächstes Thema

Dr. Boris Neubert

Hallo,

in der commandref (EN) steht:

ZitatwebCmd
Colon separated list of commands to be shown in the room overview for a certain device. Has no effect on smallscreen devices, see the devStateIcon command for an alternative.
Example:

    attr lamp webCmd on:off:on-for-timer 10


The first specified command is looked up in the "set device ?" list (see the setList attribute for dummy devices). If there it contains some known modifiers (semicolon, followed by a comma separated list), then a different widget will be displayed:

    if the modifier is ":time", then a javascript driven timepicker is displayed.
    if the modifier is of the form ":slider,<min>,<step>,<max>", then a javascript driven slider is displayed
    else a dropdown with all the modifier values is displayed

Ich bin der Meinung, daß das fett markierte Wort "colon" lauten muß. Meine Tests und das Beispiel bestärken mich darin.

Stimmt's?

Grüße
Boris
Globaler Moderator, Developer, aktives Mitglied des FHEM e.V. (Marketing, Verwaltung)
Bitte keine unaufgeforderten privaten Nachrichten!

rudolfkoenig

Geaendert und eingecheckt.