FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: der_da am 19 Oktober 2017, 15:46:14

Titel: [gelöst] notify notifiziert nicht ?
Beitrag von: der_da am 19 Oktober 2017, 15:46:14
Hallo liebe Forumsler  ;),
ich habe ein notify
Internals:
   CFGFN
   DEF        HM_123456_Sw_03:.toggle set dummy on; sleep 5; set dummy off
   NAME       no_Dachrollo_hoch
   NOTIFYDEV  HM_123456_Sw_03
   NR         100
   NTFY_ORDER 50-no_Dachrollo_hoch
   REGEXP     HM_123456_Sw_03:.toggle
   STATE      active
   TYPE       notify
   READINGS:
     2017-10-19 15:37:24   state           active
Attributes:


und einen HomeMatic-Schalter

Internals:
   CFGFN
   DEF        123456
   NAME       HM_123456_Sw_03
   NOTIFYDEV  global
   NR         101
   STATE      off
   TYPE       CUL_HM
   chanNo     03
   device     HM_123456
   READINGS:
     2017-10-19 15:37:45   CommandAccepted yes
     2017-10-19 15:37:45   deviceMsg       off (to HMLAN1)
     2017-10-19 15:37:45   level           0
     2017-10-19 15:12:26   levelMissed     desired:100
     2017-10-19 15:37:45   pct             0
     2017-10-19 15:37:45   recentStateType ack
     2017-10-19 15:37:45   state           off
     2017-10-19 15:37:45   timedOn         off


Das Notify soll eigentlich getriggert werden, wenn mein HomeMatic-Schalter in den Zustand "toggle" springt (später auch noch zusätzlich bei Zustand "on").  Aber irgendwie bekommt es nicht mit, dass der Schalter schaltet. Was habe ich übersehen?
Titel: Antw:notify notifiziert nicht ?
Beitrag von: CoolTux am 19 Oktober 2017, 15:58:14
HM_123456_Sw_03.toggle set dummy on; sleep 5; set dummy off


Der Eventmonitor hilft da sehr
Titel: Antw:notify notifiziert nicht ?
Beitrag von: der_da am 19 Oktober 2017, 16:02:02
Danke! Was so eine Kleinigkeit wie ein Doppelpunkt ausmacht. ;D
Titel: Antw:[gelöst] notify notifiziert nicht ?
Beitrag von: CoolTux am 19 Oktober 2017, 16:05:50
Der Doppelpunkt wäre auch okay, dann aber den einfachen Weg machen.