Event by breaker

http://automagucally.weebly.com

Moderators: davka003, Telldus

Post Reply
akselg
Posts: 20
Joined: Fri Mar 17, 2023 9:45 am

Event by breaker

Post by akselg »

Ive got a magnetic switch by the door. I would like it to activate a lamp when i enter my home (hence by ON-command from switch), and the lamp should be lit by a set time (when i close the door - OFF from switch - timer starts). Ive fiddled around but haven't got it to work.

Help please :)
akselg
Posts: 20
Joined: Fri Mar 17, 2023 9:45 am

Re: Event by breaker

Post by akselg »

Well, to answer myself. Manage to do it by creating a Device Command under Signals. Created command with by putting the magnet switch ON-command in the "Pattern to match", hence "tellstick,raw:class:command;protocol:arctech;model:selflearning;house:15271314;unit:10;group:0;method:turnon;". This then is set to Activate a timer, which then starts a desired time and then the timer is set to turn off the chosen device, the light in the doorway.
Post Reply