Event by breaker

http://automagucally.weebly.com

Moderators: davka003, Telldus

Post Reply
akselg
Posts: 20
Joined: Thu Jan 18, 2018 11:08 am

Event by breaker

Post by akselg » Thu Jan 18, 2018 11:08 am

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: Thu Jan 18, 2018 11:08 am

Re: Event by breaker

Post by akselg » Thu Jan 18, 2018 11:08 am

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