Please login or register.

Login with username, password and session length

Author Topic: Hint to stop smart macros cascading start ...  (Read 3257 times)

Henri T

  • Sr. Member
  • ****
  • Helpful Post Rating: 1
  • Posts: 111
  • using X-10 since '80s ...
Hint to stop smart macros cascading start ...
« on: January 27, 2005, 12:06:36 AM »

When I'm using flags in smart macros and
using dimming feature in these macros, I
get some cascading start of all other
macros ..
Example : macro trigger by C16 starts, does
what it has to do, stop and at the end (for
no reason) start the next macro C15, etc.

My solution for this problem is to set all
the flags I use in all other macros just
before the last command of the macro and at
the end clear all flags
Logged
Thank you !
:) Automation is funny with X10 Gadgets ! ;)

Henri T

  • Sr. Member
  • ****
  • Helpful Post Rating: 1
  • Posts: 111
  • using X-10 since '80s ...
Re: Hint to stop smart macros cascading start ...
« Reply #1 on: January 27, 2005, 12:22:54 AM »

I'm a french canadian, so excuse my
english :
I'm putting here a REAL EXAMPLE to
demonstrate the problem :

(First macro)

Salle de bain - nuit C16 On and
The time is between 12:00 am and 6:00 am and
Flag Status Off exactly 14
(C8) Lumieres - miroir Dim by 35%
Set Flags [14] Flag Command
Delay for 05:30
(C8) Lumieres - miroir Dim by 15%
Delay for 30 Second
Clear Flags [14] Flag Command
Set Flags [5] Flag Command
(C8) Lumieres - miroir OFF
Clear Flags [5] Flag Command

(second macro)

Lavage C15 On and
Flag Status Off exactly 5 and
The time is between 12:00 am and 6:00 am
Set Flags [5] Flag Command
(A16) Fixture Lavage Dim by 5%
Delay for 05:00
(A16) Fixture Lavage Dim by 30%
Delay for 30 Second
(A16) Fixture Lavage Dim by 80%
Clear Flags [5] Flag Command
Set Flags [14] Flag Command
(A16) Fixture Lavage OFF
Clear Flags [14] Flag Command

LOOK WHAT I'M DOING WITH THE FLAGS 14 and 5
TO PREVENT CASCADING START OF THE MACROS

Without this solution, each time C16 was
ending, it was starting automaticaly C15
with no reason (and vice-versa). WHY ?
Logged
Thank you !
:) Automation is funny with X10 Gadgets ! ;)

X10 Pro

  • Hero Member
  • *****
  • Helpful Post Rating: 23
  • Posts: 1416
Re: Hint to stop smart macros cascading start ...
« Reply #2 on: January 27, 2005, 12:47:25 PM »

Henri: Can you send me (ahpsupport@x10.com)
the AHP file that shows this problem?
Logged

Henri T

  • Sr. Member
  • ****
  • Helpful Post Rating: 1
  • Posts: 111
  • using X-10 since '80s ...
Re: Hint to stop smart macros cascading start ...
« Reply #3 on: January 27, 2005, 11:46:52 PM »

Hi,
I've sent the files.
Logged
Thank you !
:) Automation is funny with X10 Gadgets ! ;)

Henri T

  • Sr. Member
  • ****
  • Helpful Post Rating: 1
  • Posts: 111
  • using X-10 since '80s ...
Re: Hint to stop smart macros cascading start ...
« Reply #4 on: January 31, 2005, 10:59:26 PM »

Still waiting for a response ...
Logged
Thank you !
:) Automation is funny with X10 Gadgets ! ;)

Henri T

  • Sr. Member
  • ****
  • Helpful Post Rating: 1
  • Posts: 111
  • using X-10 since '80s ...
Re: Hint to stop smart macros cascading start ...
« Reply #5 on: February 02, 2005, 10:30:19 PM »

X10 guys,

Did you analyse my AHP files ???

Thanks.
Logged
Thank you !
:) Automation is funny with X10 Gadgets ! ;)
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.