X10 Community Forum

🖥️ActiveHome Pro => ActiveHome Pro General => Help & Troubleshooting => Topic started by: gg4000 on April 12, 2012, 06:47:01 AM

Title: Smart macro logic
Post by: gg4000 on April 12, 2012, 06:47:01 AM
I have been trying to set up a macro to run only on a condition. So far I've tried setting flags, setting dummy modules, and setting real modules. The macro still runs.
Basically I'm trying to make a check list.
Macro 1:
The computer will ask me at preset times, if I changed my oil. (This Works)
Macro 2:
When I say "yes I did", (Set flag 1) the macro should not run anymore. (Macro 1 runs when it should not)
Any ideas on how to make this work?

Thanks
Title: Re: Smart macro logic
Post by: dave w on April 12, 2012, 10:01:07 AM
Batteries in crystal ball are dead.
Post your macros.
Title: Re: Smart macro logic
Post by: Tuicemen on April 12, 2012, 11:35:14 AM
When did ActiveHome Pro get VR?  ??? ??? ???
Title: Re: Smart macro logic
Post by: dave w on April 12, 2012, 12:17:39 PM
When did ActiveHome Pro get VR?  ??? ??? ???

 rofl
Title: Re: Smart macro logic
Post by: Dan Lawrence on April 12, 2012, 01:01:13 PM
Is gg4000 a real X10 user or are our legs being pulled?
Title: Re: Smart macro logic
Post by: dave w on April 12, 2012, 02:03:26 PM
Dunno. But the total lack of detail or explaination in gg4000's post isn't going to get him any answers.
Title: Re: Smart macro logic
Post by: gg4000 on April 12, 2012, 05:17:00 PM
When did ActiveHome Pro get VR?  ??? ??? ???

BVC  -:)
Title: Re: Smart macro logic
Post by: gg4000 on April 12, 2012, 05:22:08 PM
I'm not sure how to explain it.
 I'll figure it out.

Thanks again.
Title: Re: Smart macro logic
Post by: Tuicemen on April 12, 2012, 05:47:31 PM
BVC isn't part of AHP it is a thirdparty application.
This may be a issue with it.
You might get more help if you posted in that forum.

However it sounds like your first macro isn't checking the flag status.

You might also wish to look at ihouse as it has built in macro logic, doesn't depend on AHP and is a VR program.
 >!
Title: Re: Smart macro logic
Post by: Noam on April 12, 2012, 05:49:39 PM
Your "Macro 1" needs to be conditional, based on the status of flag 1.
However, you should know that running a macro by clicking on it in the AHP program will ALWAYS ignore the conditions (and run the macro even if the condition fails).
You need to trigger it using something external (like a timer, remote motion sensor, or other controller).
Title: Re: Smart macro logic
Post by: gg4000 on April 12, 2012, 06:10:10 PM
Thanks.
I did think that clicking it was going to make it run. I'll have to figure out how to call the macro externally.

I will also check out ihouse.

Meanwhile, I will be opening my electric gate when I pull up and say "robin, open the batcave.  :)%
Title: Re: Smart macro logic
Post by: dave w on April 12, 2012, 07:40:04 PM
Meanwhile, I will be opening my electric gate when I pull up and say "robin, open the batcave.  :)%
I like it, but I thought it was Alfred the butler that opened the cave.
Title: Re: Smart macro logic
Post by: gg4000 on April 13, 2012, 06:41:29 AM
ok ok... it is Alfred. Did not want to post the actual command to open my gate on the net. LOL
I guess the Joker and Penguin will have to figure out what frequency and channel to use.
Cat women is welcome.  ;)
Title: Re: Smart macro logic
Post by: dave w on April 13, 2012, 02:41:10 PM
 rofl
Title: Re: Smart macro logic
Post by: gg4000 on April 27, 2012, 04:15:22 PM
I think the time is wrong on the interface. A macro that should have ran today did not.
Anyway to check?
CM19A - Power House TM751 or IBM Home Director HD501... (Or should I buy a different interface?)
AH Hardware configuration shows 01/01/1601 12 am and can't be changed.
My drop down tools menu also shows CM11 Configuration while I'm using CM19A.

Any info?
Title: Re: Smart macro logic
Post by: Noam on April 27, 2012, 04:40:50 PM
I think the time is wrong on the interface. A macro that should have ran today did not.
Anyway to check?
CM19A - Power House TM751 or IBM Home Director HD501... (Or should I buy a different interface?)
AH Hardware configuration shows 01/01/1601 12 am and can't be changed.
My drop down tools menu also shows CM11 Configuration while I'm using CM19A.

Any info?
Well, there is no "interface time" on the CM19A. It has no internal memory or battery, so the time is run off the computer.
As for the AHP menu showing "CM11A configuration" - Mine does too, and I'm running a CM15A. That option is still there even if you don't have a CM11A.
Title: Re: Smart macro logic
Post by: Brian H on April 27, 2012, 04:42:14 PM
The Configure CM11A Tab is where you would turn on a serial port for CM11A use. It shows with any of the three interfaces. CM15A,CM19A and CM11A. With the CM15A and CM19A just make sure it is set to disabled.

As Noam pointed out. The CM19A has no clock in it and it can't be set. I just checked and with a CM19A mine is also stuck at 01/01/1601.

Since it uses the computers clock you can't store any timers and macros in a CM19A and the computer has to be On.

Discontinued CM15A has a RTC in it and memory to store timers and macros so the computer can be turned off.

The CM11A has a very small memory in it and a RTC. From what I have seen. Adding CM11A support to AHP was a band aid and it doesn't function very well.
Title: Re: Smart macro logic
Post by: gg4000 on April 28, 2012, 06:01:43 AM
What's the CM17A about? Just saw them on E-Bay.
Title: Re: Smart macro logic
Post by: Brian H on April 28, 2012, 06:16:26 AM
CM17A Firecracker interface. RF transmissions only. Serial interface. No memory for downloads or RTC.
http://kbase.x10.com/wiki/CM17A

CM19A USB connection. RF send and receive. USB interface. No memory for downloads or RTC.
http://kbase.x10.com/wiki/CM19A

The CM15A is what works best with AHP and unfortunately is discontinued. Send and receive both X10 power line and X10 RF type signals. USB interface.
Battery backup, RTC, memory for downloading timers and simple macros.
http://kbase.x10.com/wiki/CM15A

Later AHP versions will work with a CM11A but most report it is a real rough and poor combination. Power line send and receive. Serial interface.
Battery backup, very small amount of memory for timers and macros, RTC that need a refresh if the power blips off.
http://kbase.x10.com/wiki/CM11A
Title: Re: Smart macro logic
Post by: gg4000 on April 28, 2012, 08:25:18 AM
I see the CM15A on E-bay. 50 to 90 bucks. Any reason I should not get one?
Title: Re: Smart macro logic
Post by: Brian H on April 28, 2012, 09:07:29 AM
If the seller verified it is in good working condition you should be OK.

Only thing you may want to ask is the Date Code on the small round white sticker.
I know there where a few firmware updates from my original 04J41 CM15A.
04J41: P10792E.
04J44: P10792F.
All the units I have looked at after 05C10 had P10792M.

$49.99 was the original price for a CM15A and they through in AHP for free.