Please login or register.

Login with username, password and session length
Pages: [1] 2

Author Topic: Smart macro logic  (Read 8235 times)

gg4000

  • Sr. Member
  • ****
  • Helpful Post Rating: 2
  • Posts: 116
  • Been playing x-10 since Windows 3.0
    • GG4000.com
Smart macro logic
« 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

dave w

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 139
  • Posts: 6116
Re: Smart macro logic
« Reply #1 on: April 12, 2012, 10:01:07 AM »

Batteries in crystal ball are dead.
Post your macros.
Logged
"This aftershave makes me look fat"

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: Smart macro logic
« Reply #2 on: April 12, 2012, 11:35:14 AM »

When did ActiveHome Pro get VR?  ??? ??? ???
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

dave w

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 139
  • Posts: 6116
Re: Smart macro logic
« Reply #3 on: April 12, 2012, 12:17:39 PM »

When did ActiveHome Pro get VR?  ??? ??? ???

 rofl
Logged
"This aftershave makes me look fat"

Dan Lawrence

  • Hero Member
  • *****
  • Helpful Post Rating: 68
  • Posts: 3991
Re: Smart macro logic
« Reply #4 on: April 12, 2012, 01:01:13 PM »

Is gg4000 a real X10 user or are our legs being pulled?
Logged
I don't SELL this stuff... BUT I sure do ENJOY using it!!!

dave w

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 139
  • Posts: 6116
Re: Smart macro logic
« Reply #5 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.
« Last Edit: April 12, 2012, 02:04:59 PM by dave w »
Logged
"This aftershave makes me look fat"

gg4000

  • Sr. Member
  • ****
  • Helpful Post Rating: 2
  • Posts: 116
  • Been playing x-10 since Windows 3.0
    • GG4000.com
Re: Smart macro logic
« Reply #6 on: April 12, 2012, 05:17:00 PM »

When did ActiveHome Pro get VR?  ??? ??? ???

BVC  -:)

gg4000

  • Sr. Member
  • ****
  • Helpful Post Rating: 2
  • Posts: 116
  • Been playing x-10 since Windows 3.0
    • GG4000.com
Re: Smart macro logic
« Reply #7 on: April 12, 2012, 05:22:08 PM »

I'm not sure how to explain it.
 I'll figure it out.

Thanks again.

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: Smart macro logic
« Reply #8 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.
 >!
« Last Edit: April 12, 2012, 06:02:56 PM by Tuicemen »
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

Noam

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 51
  • Posts: 2818
Re: Smart macro logic
« Reply #9 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).
Logged

gg4000

  • Sr. Member
  • ****
  • Helpful Post Rating: 2
  • Posts: 116
  • Been playing x-10 since Windows 3.0
    • GG4000.com
Re: Smart macro logic
« Reply #10 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.  :)%

dave w

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 139
  • Posts: 6116
Re: Smart macro logic
« Reply #11 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.
Logged
"This aftershave makes me look fat"

gg4000

  • Sr. Member
  • ****
  • Helpful Post Rating: 2
  • Posts: 116
  • Been playing x-10 since Windows 3.0
    • GG4000.com
Re: Smart macro logic
« Reply #12 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.  ;)

dave w

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 139
  • Posts: 6116
Re: Smart macro logic
« Reply #13 on: April 13, 2012, 02:41:10 PM »

 rofl
Logged
"This aftershave makes me look fat"

gg4000

  • Sr. Member
  • ****
  • Helpful Post Rating: 2
  • Posts: 116
  • Been playing x-10 since Windows 3.0
    • GG4000.com
Re: Smart macro logic
« Reply #14 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?
Pages: [1] 2
 

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