Fehler beim Aufruf von motionOnSw

Begonnen von Praktiker, 13 November 2014, 21:51:13

Vorheriges Thema - Nächstes Thema

Praktiker

Hallo Forumsgemeinde,
nachdem meine HM Geräte langsam mehr werden ist nun ein Aussen BEwegungsmelder dazu gekommen.
DIeser Schaltet per Notify eine Aussenlampe über einen HM Schaltaktor.
Um das ganze Betriebssicher zu machen wollte ich es peeren und per Template einrichten.
Leider bekomme ich beim Aufruf des Tempaltes folgenden fehler:

Aufruf: set hm Garten.Licht motionOnSw BM.Garten:short 256 120
Fehler: Unknown argument Garten.Licht, choose one of archConfig:-0,-a autoReadReg clear cpRegs loadConfig purgeConfig saveConfig tempList tempListTmpl templateDef templateSet update verifyConfig

Kann mir einer sagen  was hier schief läuft.

Besten Dank Schonmal.
Praktiker

frank

da fehlt der befehlsname. ich denke du wolltest diesen nehmen:

ZitattemplateSet <entity> <template> <peer:[long|short]> [<param1> ...]
sets a bunch of register accroding to a given template. Parameter may be added depending on the template setup.
templateSet will collect and accumulate all changes. Finally the results are written streamlined.
entity: peer is the source entity. Peer needs to be given if a peer behabior beeds to be copied
template: one of the programmed template
peer: [long|short]:if necessary a peer needs to be given. If no peer is used enter '0'. with a peer it should be given whether it is for long or short keypress
param: number and meaning of parameter depends on the given template
Example could be (templates not provided, just theoretical)

    set hm templateSet Licht1 staircase FB1:short 20
    set hm templateSet Licht1 staircase FB1:long 100

Restrictions:

    User must ensure to read configuration prior to execution.
    templateSet may not setup a complete register block but only a part if it. This is up to template design.
FHEM: 6.0(SVN) => Pi3(buster)
IO: CUL433|CUL868|HMLAN|HMUSB2|HMUART
CUL_HM: CC-TC|CC-VD|SEC-SD|SEC-SC|SEC-RHS|Sw1PBU-FM|Sw1-FM|Dim1TPBU-FM|Dim1T-FM|ES-PMSw1-Pl
IT: ITZ500|ITT1500|ITR1500|GRR3500
WebUI [HMdeviceTools.js (hm.js)]: https://forum.fhem.de/index.php/topic,106959.0.html