FHEM Forum

FHEM - Hausautomations-Systeme => Homematic => Thema gestartet von: Jojo11 am 18 August 2015, 09:28:21

Titel: On-for-timer erkennen
Beitrag von: Jojo11 am 18 August 2015, 09:28:21
Hallo zusammen,

ich verwende mehrere Unterputz-Schaltaktoren (1fach, HM-LC-SW1-FM). Wenn ich sie mit "on-for-timer" einschalte, blinken die Status-LEDs. Dies ist nicht der Fall, wenn sie ganz normal eingeschaltet werden. Kann ich in FHEM abfragen, ob ein solcher Aktor per "set on" oder "set on-for-timer" aktiviert wurde? Wichtig wäre mir, "set-on-for-timer" erkennen zu können, denn dann geht er irgendwann ja wieder aus. Leider finde ich dazu nichts.

schöne Grüße
Jo

Titel: Antw:On-for-timer erkennen
Beitrag von: fruit am 18 August 2015, 09:44:20
I had a similar problem, this http://www.fhemwiki.de/wiki/On-for-timer_zurücksetzen (http://www.fhemwiki.de/wiki/On-for-timer_zur%C3%BCcksetzen)
or
http://forum.fhem.de/index.php/topic,23940.msg171480.html#msg171480 (http://forum.fhem.de/index.php/topic,23940.msg171480.html#msg171480)
may help then check for ReadingsVal( "Switch", "state", "on" ) ne "off"
Titel: Antw:On-for-timer erkennen
Beitrag von: Jojo11 am 18 August 2015, 09:58:56
Thank you. The fact that the status LED blinks in case it was activated using on-for-timer tells me somehow that the device knows the difference. The question is if this "state" can be read by fhem. Currently the state is "on" even if it should be "on-for-timer" (as far as I remember - I have no access atm). I will check your links in detail tonight.

schöne Grüße
Jo

Titel: Antw:On-for-timer erkennen
Beitrag von: justme1968 am 18 August 2015, 10:01:47
das sollte am reading timedOn zu sehen sein.

there schould be a reading named timedOn as an indication.
Titel: Antw:On-for-timer erkennen
Beitrag von: Jojo11 am 18 August 2015, 10:03:38
Danke, das kannte ich noch nicht bzw. ist mir bisher nicht aufgefallen.

schöne Grüße
Jo

Titel: Antw:On-for-timer erkennen
Beitrag von: fruit am 18 August 2015, 10:18:09
Thanks from me too, I have had a HM-LC-SW2-FM for several years and hadn't noticed timedOn
Titel: Antw:On-for-timer erkennen
Beitrag von: frank am 18 August 2015, 10:47:25
kann man sich auch anzeigen lassen.
also you can make it visible, look here http://forum.fhem.de/index.php/topic,39969.msg322107.html#msg322107 (http://forum.fhem.de/index.php/topic,39969.msg322107.html#msg322107).