Please login or register.

Login with username, password and session length

Author Topic: First Macro Written - I Can't get it to work  (Read 6831 times)

bt54

  • Sr. Member
  • ****
  • Helpful Post Rating: 0
  • Posts: 93
First Macro Written - I Can't get it to work
« on: April 10, 2011, 09:11:42 PM »

I created this macro (my first)

Trigger Conditions 1 Front Door - Sensor Triggered and
1 Front Door is Open
End Trigger Conditions
Turn Hall Lamp ON
WAIT for 30 Seconds
Turn Hall Lamp OFF

The Hall Lamp is not activated.  Any help will be gratefully appreciated
Logged
If it doesn't work get a BIGGER hammer!!

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: First Macro Written - I Can't get it to work
« Reply #1 on: April 10, 2011, 09:28:07 PM »

Trigger Conditions 1 Front Door - Sensor Triggered and 1 Front Door is Open

That reads... to me... that the front door sensor (I am guessing that's outside) would be triggered as you approached the door.

The macro would then check the door sensor... and see the door WASN'T open. Condition would NOT be met.

Try having the 1st sensor turn ON a fake "monitored module" then make the 2 sensor trigger (look for) the conditions.
Logged
Home Automation is an always changing technology

bt54

  • Sr. Member
  • ****
  • Helpful Post Rating: 0
  • Posts: 93
Re: First Macro Written - I Can't get it to work
« Reply #2 on: April 11, 2011, 11:28:11 AM »

Dave,
Thanks for the response !!!

The 1 Front Door is the sensor on the front door.  I am attempting to have the light turn on when the front door is opened.  I thought that the sensor triggered function would start the macro when the door sensors status went from closed to open.  The status of the sensor would then be open and that would match the criteria.

I write computer program code but with X10 I am soooooooooooooooooo confused because I have not figured out the logic yet.
Logged
If it doesn't work get a BIGGER hammer!!

dave w

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 139
  • Posts: 6116
Re: First Macro Written - I Can't get it to work
« Reply #3 on: April 11, 2011, 12:01:33 PM »

Dave,
Thanks for the response !!!

The 1 Front Door is the sensor on the front door.  I am attempting to have the light turn on when the front door is opened.  I thought that the sensor triggered function would start the macro when the door sensors status went from closed to open.  The status of the sensor would then be open and that would match the criteria.

I write computer program code but with X10 I am soooooooooooooooooo confused because I have not figured out the logic yet.
Still might be lacking some information:
If you are using AHP, what is the interface? CM15A, CM19A etc.
What is your front door "sensor"?
If a security sensor (DS10, DS12) you need "OnAlert" to receive the Security Sensor transmission.
Can you control the light manually from AHP?
Does macro activate light when you use the "run Macro" button?
Logged
"This aftershave makes me look fat"

bt54

  • Sr. Member
  • ****
  • Helpful Post Rating: 0
  • Posts: 93
Re: First Macro Written - I Can't get it to work
« Reply #4 on: April 11, 2011, 12:27:51 PM »

Dave,

- CM19A INterface (CM15A defective and not installed)
- DS10A Front Door Sensor
- OnAlert plug-in installed and registered
- LIght can be operated from AHP
- Macro does activate the light

I hope that I answered your questions and will be happy to provide additional info.
Logged
If it doesn't work get a BIGGER hammer!!

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: First Macro Written - I Can't get it to work
« Reply #5 on: April 11, 2011, 08:02:09 PM »

I write computer program code but with X10 I am soooooooooooooooooo confused because I have not figured out the logic yet.

Well that explains it!! The X10 macros are just way too simple for programmers to understand. The macros aren't real smart... just simple little steps. Is the PC/CM19A receiving the RF signals from the door sensor?
Logged
Home Automation is an always changing technology

dave w

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 139
  • Posts: 6116
Re: First Macro Written - I Can't get it to work
« Reply #6 on: April 11, 2011, 08:27:45 PM »

Dave,
I hope that I answered your questions and will be happy to provide additional info.
Yessir you did. You have laid to rest all my thoughts. I don't think I can help, other than to echo Dave X10's question about CM19A picking up the DS10 transmission.
Logged
"This aftershave makes me look fat"

bt54

  • Sr. Member
  • ****
  • Helpful Post Rating: 0
  • Posts: 93
Re: First Macro Written - I Can't get it to work
« Reply #7 on: April 11, 2011, 09:14:56 PM »

Dave,
Thanks for the response - I never said I was smart !!!

How do I test if the CM19A is receiving the signal???
Logged
If it doesn't work get a BIGGER hammer!!

bt54

  • Sr. Member
  • ****
  • Helpful Post Rating: 0
  • Posts: 93
Re: First Macro Written - I Can't get it to work
« Reply #8 on: April 11, 2011, 09:27:55 PM »

Dave,
FYI - the AHP interface does register the front door sensor as open correctly.
Logged
If it doesn't work get a BIGGER hammer!!

dave w

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 139
  • Posts: 6116
Re: First Macro Written - I Can't get it to work
« Reply #9 on: April 11, 2011, 09:46:07 PM »

Dave,
FYI - the AHP interface does register the front door sensor as open correctly.
That's the test...if CM19 is receiving, it will show on activity monitor.

From your description, it seems like it should be working. I don't use AHP anymore and never used OnAlert so am bowing out, but if I were in your shoes I would look at OnAlert.
Logged
"This aftershave makes me look fat"

bt54

  • Sr. Member
  • ****
  • Helpful Post Rating: 0
  • Posts: 93
Re: First Macro Written - I Can't get it to work
« Reply #10 on: April 11, 2011, 10:08:57 PM »

Dave,
What size shoes do you wear - maybe it's my 9 1/2's are he problem??

Thank for your help !!
Logged
If it doesn't work get a BIGGER hammer!!

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: First Macro Written - I Can't get it to work
« Reply #11 on: April 11, 2011, 10:11:11 PM »

......  so am bowing out, but if I were in your shoes I would look at OnAlert.

Don't leave. I am not sure what the users problem is... but I think you can likely figure this out as quick or quicker than I can.

bt54  have you looked at some of the user created macros here at the forum?

http://forums.x10.com/index.php?board=103.0
Logged
Home Automation is an always changing technology
 

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