FHEM Forum

FHEM - Hausautomations-Systeme => EnOcean => Thema gestartet von: xypzo am 24 Juni 2014, 02:14:14

Titel: [ENGLISH] Physicly link a FT-55 button to a structure (all off)
Beitrag von: xypzo am 24 Juni 2014, 02:14:14
Hello,

I am a complete noob so if Im asking a dumb question, shoot me!  :)

I want to physicly link my FT55 eltako switch (A0 or AI) to a structure, in my case for an ALL OFF function.
The All Off structure works, but I want to control it with a button at the door, too.

Now was I thinking of an IF function:

IF ([FT55:state] A0) (set Structure off)

When I use this function, it says:
IF: Unknown Device : FT55

Which is not true, FT55 is a difined switch in the system. Do I do something wrong? Please answer in English!

Peter Kramer
Niederlande
Titel: Antw:[ENGLISH] Physicly link a FT-55 button to a structure (all off)
Beitrag von: fiedel am 24 Juni 2014, 07:32:10
Hi Peter,

what you need is "notify". Please look in the command referece for that. It works like "If notify checks that the device produces an event (on, off, and so on), then it will execute the defined command (s)." You can use it without reg. expression, then it works like described above. It litenes to all events from the def. device. If you use regexp., than you are able to define if it is just listening to "on" or "off" or other events from the device. You can define more than one device as well: Just separate them wiht an " | ".

Greetings from GOG  ;)

Frank
Titel: Antw:[ENGLISH] Physicly link a FT-55 button to a structure (all off)
Beitrag von: xypzo am 24 Juni 2014, 12:30:01
Thanks man, it works great! ;D