fhem.pl reference webCmd korrekt?

Begonnen von Hannomag, 12 März 2013, 22:39:04

Vorheriges Thema - Nächstes Thema

Hannomag

Hallo zusammen,
ich lerne und daher bin ich oft in der Commandref unterwegs. Dabei ist mir aufgefallen, dass evt. die Beschreibung von webCmd nicht korrekt ist.

Ist in dem Bespiel das "set" bei attr korrekt?

ZitatwebCmd
Colon separated list of commands to be shown in the room overview for a certain device. On smallscreen devices only the first value is accessible.
If the first value references a command, for which "set device ?" lists a number possible choices (e.g. desired-temp for FHT devices), then a select widget will be displayed. If the values are "slider,min,step,max", then a javascript driven slider is displayed. if the value is "time", then a javascript timepicker is displayed. If the command is state, then the value will be used as a command.
Examples:
attr lamp webCmd on:off:on-for-timer 10
define d1 dummy
attr d1 webCmd state
attr d1 set setList state:on,off
define d2 dummy
attr d2 webCmd state
attr d2 set setList state:slider,0,1,10
define d3 dummy
attr d3 webCmd state
attr d3 set setList state:time

Muß es nicht heißen:
Zitatattr d1 setList state:on,off
?

Gruß
Frank

rudolfkoenig

Danke, gefixed. Bitte solche "Wuensche" als Fehler in FRONTENDS melden...

Hannomag

ok - für das nächste mal (falls ich noch einmal was finde :-) Hatte nicht wirklich einen Platz gefunden ...

Vielen Dank für die super Arbeit an FHEM - es macht wirklich Riesenspaß. Leider wirkt sich mein Spaß sehr negativ auf den Geldbeutel aus :-)