FHEM Forum

FHEM => Frontends => Thema gestartet von: Dr. Boris Neubert am 29 Juli 2013, 22:00:20

Titel: webCmd Doku
Beitrag von: Dr. Boris Neubert am 29 Juli 2013, 22:00:20
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
Titel: Aw: webCmd Doku
Beitrag von: rudolfkoenig am 30 Juli 2013, 08:28:43
Geaendert und eingecheckt.