Hallo Freunde ;)
ich habe mal wieder ein kleines Problemchen.
Ich benutze einen HM-RC-4-2 (4-Button Taster) im Schlafzimmer, um bestimme Lampen zu schalten. Bisher hat das immer super funktioniert. Da nun mein CUL zum zweiten mal den Geist aufgegeben hat, habe ich mir nun den HMLAN ovn Homematic gegönnt. Alle Geräte neu angelernt und auch die VCCU eingerichtet...so weit so gut und es funktioniert alles.
Nun zum eigentlichen Problem:
ich habe einen notify mit folgender Definition:
sz_BettTaster_Btn_03:.* set sz_Stehlampe toggle
List vom BettTaster:
Attributes:
IODev HMLAN1
IOgrp VCCU:HMLAN1
autoReadReg 4_reqStatus
expert 2_raw
firmware 1.2
model HM-RC-4-2
room Schlafzimmer
serialNr LEQ0267217
subType remote
webCmd getConfig:clear msgEvents
Wenn ich nun den Btn_03 (oder auch einen anderen) drücke, schaltet die Lampe sich ein und ein paar Sek. später wieder aus.
ich habe es mit der Funktion { UntoggleDirect("sz_Stehlampe") } versucht, da passiert leider gar nichts.
Könnt ihr mir helfen?
viele Grüße
Philipp
schau doch mal in den Eventmonitor, da siehst du deine Events , die das dein notify bekommt
mit der regexp
sz_BettTaster_Btn_03:.*
reagiert dein notify auf jedes (!) Event, dass der entsprechende Taster erzeugt, egal ob on, off, short, long oder battery .....
wie fhem-hm-knecht schon geschrieben hat: Schau einfach mal im Eventmonitor, welche Events dein Taster beim Drücken so erzeugt.
Entschuldigt die lange Ausgabe aber ich bin selber überrascht: :o :o :o :o
2016-06-11 14:33:40 CUL_HM sz_BettTaster battery: ok
2016-06-11 14:33:40 CUL_HM sz_BettTaster sz_BettTaster_Btn_03 Short
2016-06-11 14:33:40 CUL_HM sz_Stehlampe set_toggle
2016-06-11 14:33:40 CUL_HM sz_Stehlampe set_toggle
2016-06-11 14:33:40 CUL_HM sz_Stehlampe set_toggle
2016-06-11 14:33:40 CUL_HM sz_Stehlampe set_toggle
2016-06-11 14:33:40 CUL_HM sz_BettTaster_Btn_03 Short (to F16235)
2016-06-11 14:33:40 CUL_HM sz_BettTaster_Btn_03 trigDst_F16235: noConfig
2016-06-11 14:33:40 CUL_HM sz_BettTaster_Btn_03 trigger: Short_32
2016-06-11 14:33:40 CUL_HM sz_BettTaster_Btn_03 trigger_cnt: 32
2016-06-11 14:33:40 CUL_HM sz_Stehlampe deviceMsg: off (to VCCU)
2016-06-11 14:33:40 CUL_HM sz_Stehlampe level: 0
2016-06-11 14:33:40 CUL_HM sz_Stehlampe pct: 0
2016-06-11 14:33:40 CUL_HM sz_Stehlampe off
2016-06-11 14:33:40 CUL_HM sz_Stehlampe timedOn: off
2016-06-11 14:33:40 CUL_HM sz_BettTaster battery: ok
2016-06-11 14:33:40 CUL_HM sz_BettTaster sz_BettTaster_Btn_03 Short
2016-06-11 14:33:40 CUL_HM sz_Stehlampe set_toggle
2016-06-11 14:33:40 CUL_HM sz_Stehlampe set_toggle
2016-06-11 14:33:41 CUL_HM sz_Stehlampe set_toggle
2016-06-11 14:33:41 CUL_HM sz_Stehlampe set_toggle
2016-06-11 14:33:41 CUL_HM sz_BettTaster_Btn_03 Short (to F16235)
2016-06-11 14:33:41 CUL_HM sz_BettTaster_Btn_03 trigDst_F16235: noConfig
2016-06-11 14:33:41 CUL_HM sz_BettTaster_Btn_03 trigger: Short_32
2016-06-11 14:33:41 CUL_HM sz_BettTaster_Btn_03 trigger_cnt: 32
2016-06-11 14:33:41 CUL_HM sz_BettTaster battery: ok
2016-06-11 14:33:41 CUL_HM sz_BettTaster sz_BettTaster_Btn_03 Short
2016-06-11 14:33:41 CUL_HM sz_Stehlampe set_toggle
2016-06-11 14:33:41 CUL_HM sz_Stehlampe set_toggle
2016-06-11 14:33:41 CUL_HM sz_Stehlampe set_toggle
2016-06-11 14:33:41 CUL_HM sz_Stehlampe set_toggle
2016-06-11 14:33:41 CUL_HM sz_BettTaster_Btn_03 Short (to F16235)
2016-06-11 14:33:41 CUL_HM sz_BettTaster_Btn_03 trigDst_F16235: noConfig
2016-06-11 14:33:41 CUL_HM sz_BettTaster_Btn_03 trigger: Short_32
2016-06-11 14:33:41 CUL_HM sz_BettTaster_Btn_03 trigger_cnt: 32
2016-06-11 14:33:41 CUL_HM sz_Stehlampe deviceMsg: off (to VCCU)
2016-06-11 14:33:41 CUL_HM sz_Stehlampe level: 0
2016-06-11 14:33:41 CUL_HM sz_Stehlampe pct: 0
2016-06-11 14:33:41 CUL_HM sz_Stehlampe off
2016-06-11 14:33:41 CUL_HM sz_Stehlampe timedOn: off
2016-06-11 14:33:41 CUL_HM sz_Stehlampe deviceMsg: off (to VCCU)
2016-06-11 14:33:41 CUL_HM sz_Stehlampe level: 0
2016-06-11 14:33:41 CUL_HM sz_Stehlampe levelMissed: desired:100
2016-06-11 14:33:41 CUL_HM sz_Stehlampe pct: 0
2016-06-11 14:33:41 CUL_HM sz_Stehlampe off
2016-06-11 14:33:41 CUL_HM sz_Stehlampe timedOn: off
2016-06-11 14:33:42 CUL_HM sz_Stehlampe deviceMsg: off (to VCCU)
2016-06-11 14:33:42 CUL_HM sz_Stehlampe level: 0
2016-06-11 14:33:42 CUL_HM sz_Stehlampe pct: 0
2016-06-11 14:33:42 CUL_HM sz_Stehlampe off
2016-06-11 14:33:42 CUL_HM sz_Stehlampe timedOn: off
2016-06-11 14:33:42 HMLAN HMLAN1 loadLvl: low
2016-06-11 14:33:42 CUL_HM sz_Stehlampe deviceMsg: on (to VCCU)
2016-06-11 14:33:42 CUL_HM sz_Stehlampe level: 100
2016-06-11 14:33:42 CUL_HM sz_Stehlampe pct: 100
2016-06-11 14:33:42 CUL_HM sz_Stehlampe on
2016-06-11 14:33:42 CUL_HM sz_Stehlampe timedOn: off
2016-06-11 14:33:42 CUL_HM sz_Stehlampe deviceMsg: on (to VCCU)
2016-06-11 14:33:42 CUL_HM sz_Stehlampe level: 100
2016-06-11 14:33:42 CUL_HM sz_Stehlampe pct: 100
2016-06-11 14:33:42 CUL_HM sz_Stehlampe on
2016-06-11 14:33:42 CUL_HM sz_Stehlampe timedOn: off
2016-06-11 14:33:43 CUL_HM sz_Stehlampe deviceMsg: on (to VCCU)
2016-06-11 14:33:43 CUL_HM sz_Stehlampe level: 100
2016-06-11 14:33:43 CUL_HM sz_Stehlampe pct: 100
2016-06-11 14:33:43 CUL_HM sz_Stehlampe on
2016-06-11 14:33:43 CUL_HM sz_Stehlampe timedOn: off
2016-06-11 14:33:43 CUL_HM sz_Stehlampe deviceMsg: on (to VCCU)
2016-06-11 14:33:43 CUL_HM sz_Stehlampe level: 100
2016-06-11 14:33:43 CUL_HM sz_Stehlampe pct: 100
2016-06-11 14:33:43 CUL_HM sz_Stehlampe on
2016-06-11 14:33:43 CUL_HM sz_Stehlampe timedOn: off
2016-06-11 14:33:44 CUL_HM sz_Stehlampe deviceMsg: on (to VCCU)
2016-06-11 14:33:44 CUL_HM sz_Stehlampe level: 100
2016-06-11 14:33:44 CUL_HM sz_Stehlampe pct: 100
2016-06-11 14:33:44 CUL_HM sz_Stehlampe on
2016-06-11 14:33:44 CUL_HM sz_Stehlampe timedOn: off
2016-06-11 14:33:44 CUL_HM sz_Stehlampe deviceMsg: on (to VCCU)
2016-06-11 14:33:44 CUL_HM sz_Stehlampe level: 100
2016-06-11 14:33:44 CUL_HM sz_Stehlampe pct: 100
2016-06-11 14:33:44 CUL_HM sz_Stehlampe on
2016-06-11 14:33:44 CUL_HM sz_Stehlampe timedOn: off
2016-06-11 14:33:45 CUL_HM sz_Stehlampe deviceMsg: on (to VCCU)
2016-06-11 14:33:45 CUL_HM sz_Stehlampe level: 100
2016-06-11 14:33:45 CUL_HM sz_Stehlampe pct: 100
2016-06-11 14:33:45 CUL_HM sz_Stehlampe on
2016-06-11 14:33:45 CUL_HM sz_Stehlampe timedOn: off
2016-06-11 14:33:45 CUL_HM sz_Stehlampe deviceMsg: on (to VCCU)
2016-06-11 14:33:45 CUL_HM sz_Stehlampe level: 100
2016-06-11 14:33:45 CUL_HM sz_Stehlampe pct: 100
2016-06-11 14:33:45 CUL_HM sz_Stehlampe on
2016-06-11 14:33:45 CUL_HM sz_Stehlampe timedOn: off
2016-06-11 14:33:45 CUL_HM sz_Stehlampe deviceMsg: on (to VCCU)
2016-06-11 14:33:45 CUL_HM sz_Stehlampe level: 100
2016-06-11 14:33:45 CUL_HM sz_Stehlampe pct: 100
2016-06-11 14:33:45 CUL_HM sz_Stehlampe on
2016-06-11 14:33:45 CUL_HM sz_Stehlampe timedOn: off
Mach mal eine Änderung in deiner DEF :
sz_BettTaster_Btn_03:trigger_cnt:.* set sz_Stehlampe toggle
Damit reagiert das notify nur noch auf 1 reading und nicht auf alle.
der Ansatz war sehr gut aber leider wieder keine Änderung :o >:(
Logfile Auszug:
016.06.11 16:26:27 3: CUL_HM set sz_Stehlampe toggle
2016.06.11 16:26:27 3: CUL_HM set sz_Stehlampe toggle
2016.06.11 16:26:27 3: CUL_HM set sz_Stehlampe toggle
Kann das an meiner VCCU in Verbindung mit dem HMLAN liegen?
Vielleicht mal den Filter des EventMonitor so setzen wie die regex des notify und schauen was dann noch "durch geht"...
Wenn mehrere Events (trotz Filter) kommen, dann ist klar, dass mehrfach geschaltet wird.
-> Filter anpassen bis es passt, dann hast du auch den passenden regex für den notify gefunden...
(Filter anpassen: Filter wieder "gröber" machen und schauen was kommt und dann was raussuchen was passen könnte und neu probieren)
Gruß, Joachim
events werden so oft gemeldet wie sie kommen.
hast du schon event-on-change-reading gesetzt? Wer das nicht macht ist selber schuld
am besten gleich überall:
attr TYPE=CUL_HM event-on-change-reading .*
save
und das nächste mal code-tags beim posten verwenden.
und nicht vergessen die definition deines Notify einmal komplett zu posten. Raten ist nicht mein Ding.
Ist deine Fernbedienung überhaupt richtig gepairt?
ich denke mal nicht!
wer soll denn F16235 sein, deine VCCU wohl nicht.
Zitat2016-06-11 14:33:40 CUL_HM sz_BettTaster_Btn_03 Short (to F16235)