Menu

Send a sequence of commands

Help
airmax-b3
2010-06-09
2012-12-14
  • airmax-b3

    airmax-b3 - 2010-06-09

    I have an outside lamp on my terasse that is turned on by a motion detector.

    I can turn it on manually for 3 hours if I press the switch Off - On - Off - On (with max. 0,5 sec. between each comand).

    Instead of pressing the light switch 4 times, I'd like to press it once an let linkx send that comand sequence. Is this possible?

     
  • JensH

    JensH - 2010-06-12

    Hi,
    sure. linknx can send bus-commands in a sequence. Either in a rush - one after the other, or with a certain delay. (but AFAIK it is minimum 1s delay, which is not what you want).
    You can also trigger a script, which calls bcusdks "groupswrite" commands…
    There are quite multiple options..
    But to provide you more detailed help, could you please describe your setup a little bit more detailed?
    How do the motion detector and the lamp communicate with each other? Which actor is used to switch the lamp - and even more interesting: how is th "switch" connected in your setup?
    Reasons for why I'm asking: Maybe your "switch" generates some other message depending on the "switching" sequence.
    Therefore linknx does not need to send the sequence but the other command….

    Best Regards, Jens

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.