Problem mit 5.8 und Doif

Begonnen von alex885, 09 März 2017, 20:12:48

Vorheriges Thema - Nächstes Thema

alex885

Hallo Gemeinde,

unter Featurelevel 5.8 bekomm ich eine für mich (noch) nicht nachvollziehbare Fehlermeldung;

habe folgendes DOIF:

([Nachtlicht_Flur:"on"])
((set Flurspot02,Flurspot03,Flurspot05,Flurspot06,Flurspot07,Flurspot09 off))
(set DI_Flur4_Sw 15 0 5)

DOELSEIF ([06:00])
((set Flurspot02,Flurspot03,Flurspot05,Flurspot06,Flurspot07,Flurspot09 on))
(set DI_Flur4_Sw [FILTER=pct!=0] 0 0 15)


wenn ich unter 5.8 ein "set doif_flurabends cmd1" im GUI mache kommt
'please define Nachtlicht_Flur:"on" first'
mit Featurelevel 5.7 klappts.
Warum? - Merci Alex

Internals:
   DEF        ([Nachtlicht_Flur
((set Flurspot02,Flurspot03,Flurspot05,Flurspot06,Flurspot07,Flurspot09 off))
(set DI_Flur4_Sw 15 0 5)

DOELSEIF ([06
((set Flurspot02,Flurspot03,Flurspot05,Flurspot06,Flurspot07,Flurspot09 on))
(set DI_Flur4_Sw [FILTER=pct!=0] 0 0 15)

##([mytwilight] and ([Nachtlicht_Flur and (([?rgr_Bewohner] eq "home" or [?rgr_Bewohner] eq "anwesend"))) ) ##dämmerung ist der trigger , nur wenn jmd home


   NAME       doif_flurabends
   NR         503
   NTFY_ORDER 50-doif_flurabends
   STATE      cmd_2
   TYPE       DOIF
   Readings:
     2017-03-09 20   cmd             2.2
     2017-03-09 20   cmd_event       set_cmd_2
     2017-03-09 20   cmd_nr          2
     2017-03-09 20   cmd_seqnr       2
     2017-03-09 20   error           set DI_Flur4_Sw [FILTER=pct!=0] 0 0 15: Unknown argument [FILTER=pct!=0], choose one of clear down getConfig getRegRaw inhibit off old on-for-timer on-till on pct peerBulk peerIODev press pressS pressL regBulk regSet sign statusRequest stop toggle up
     2017-03-09 20   state           cmd_2
     2017-03-09 20   timer_01_c02    10.03.2017 06
   Condition:
     0          EventDoIf('Nachtlicht_Flur',$hash,'on',1)
     1          DOIF_time_once($hash,0,$wday)
   Days:
   Devices:
     0           Nachtlicht_Flur
     all         Nachtlicht_Flur
   Do:
     0:
       0          (set Flurspot02,Flurspot03,Flurspot05,Flurspot06,Flurspot07,Flurspot09 off)
       1          set DI_Flur4_Sw 15 0 5
     1:
       0          (set Flurspot02,Flurspot03,Flurspot05,Flurspot06,Flurspot07,Flurspot09 on)
       1          set DI_Flur4_Sw [FILTER=pct!=0] 0 0 15
     2:
   Helper:
     globalinit 1
     last_timer 1
     sleeptimer -1
   Itimer:
   Localtime:
     0          1489122000
   Powermap:
   Readingsdesc:
     Pm_consumption:
       rtype      w
     Pm_energy:
       rtype      whr
   Realtime:
     0          06
   Regexp:
     All:
   State:
   Time:
     0          06
   Timecond:
     0          1
   Timer:
     0          0
   Timers:
     1           0
   Trigger:
     all         Nachtlicht_Flur
   Triggertime:
     1489122000:
       localtime  1489122000
       Hash:
Attributes:
   cmdState   ist eingeschaltet |aus
   do         always
   room       ...test,automatiken
FHEM auf Hackintosh-NUC, 5 x Rpi mit Fhem2Fhem & Shairport-Sync , FB7390, CUL, HMLAN, ZWave, Zigbee, RfxTrx, Rollotron, mySensors, Xiaomi mi, div Zeuchs..

Damian

Programmierte FHEM-Module: DOIF-FHEM, DOIF-Perl, DOIF-uiTable, THRESHOLD, FHEM-Befehl: IF