X10 Community Forum

🖥️ActiveHome Pro => Plug-ins => Smart Macros => Topic started by: ssteig on March 26, 2010, 08:00:30 PM

Title: macro won't start
Post by: ssteig on March 26, 2010, 08:00:30 PM
Hello one and all.
I am new to macro's. I have written a macro that works great when i trigger it from the computer. (computer temporarily hooked to CM15A)
I thought i had the macro triggered by a motion sensor that triggers M6 on when activated. The activity monitor clearly says M6 on but the macro with the trigger M6 on never starts. I feel like i am missing something obvious which is frustrating for a control freak like me. ;)
Steig
Title: Re: macro won't start
Post by: HA Dave on March 26, 2010, 08:51:24 PM
I am new to macro's. I have written a macro that works great when i trigger it from the computer. (computer temporarily hooked to CM15A)
I thought i had the macro triggered by a motion sensor that triggers M6 on when activated. The activity monitor clearly says M6 on but the macro with the trigger M6 on never starts. I feel like i am missing something obvious which is frustrating for a control freak like me. ;)

So... if "The activity monitor clearly says M6 on"... what makes you think the macro doesn't start? Since the activity monitor is hearing the M6 On signal... (but even that could be tested with a lamp module and light set on M6)... maybe the macro isn't completing. What would the 1st action the macro should perform?

Often times a macro can function better with a slight delay between actions. I generally use a 1 sec delay between hearing the trigger... and sending a new signal. Slight delays can ease the confusion of multiple signals on the RF and/or PowerLine.
Title: Re: macro won't start
Post by: Boiler on March 27, 2010, 02:22:32 PM
Hello Steig,

Could you possibly post your macro and your version of AHP?

Depending one your version of AHP, your macro activity may not show up in activity monitor.  As an example:
1) We recommend using the LM14a interface module for "soft start" units (LM467, WS12a, etc).
2) The LM14a interface uses "extended code" commands.
3) Extended code commands (macro executed) will not show up in activity monitor for earlier versions of AHP.
4) Later versions of AHP show the extended code commands, but have other "issues".

Let us know where your at (AHP version), the type of module you're communicating with, what your macro looks like and we'll try to help.

As Dave_x10_L indicated, it's possible that your macro is indeed activating, but you're having communication or protocol problems.

Boiler
Title: Re: macro won't start
Post by: Knightrider on March 27, 2010, 05:57:19 PM
The "Obvious" thing being missed here might be this:

After you set up the macro, did you download it to the CM15A?  It's the third option under the "Tools" tab.
Title: Re: macro won't start
Post by: HA Dave on March 27, 2010, 09:34:59 PM
The "Obvious" thing being missed here might be this:
After you set up the macro, did you download it to the CM15A?  It's the third option under the "Tools" tab.

I've done that!
Title: Re: macro won't start
Post by: captainjerky on April 12, 2010, 10:56:31 AM
I have a similar problem.  I use motion sensors to trigger my Nightwatch cameras with a side macro for activating lights to help with the illumination.  Sometimes, the system works.  Other times, not so much.  When I check the activity log, I see that the RF was received from the motion sensor, but that no macro was sent back out.  I know the macros work, because every once in a while, they fire off as advertised and I capture images.  I can also trigger them manually and they work fine.  I use the motion sensor to activate a phantom switch, and the recording and lights are separate macros triggered off said switch.
I realize there are line noise, phase issues, and a plethora of X10 issues, but here's my thread-related question:
If Activehome's activity log registers the incoming RF signal, is it possible the signal is still too weak to trigger the macro?  By extension, if the RF makes it to the PC, should it be strong enough to work?  If so, could anyone suggest why my macros don't fire regularly?
I've contacted a trusted electrician and hope to procure a phase coupler in a day or two, but in the meanwhile I am giving up on the security cam setup and installing my door/motion sensors for the security system instead.  At least I know THAT will work...
Title: Re: macro won't start
Post by: HA Dave on April 12, 2010, 11:47:15 AM
... I use motion sensors to trigger my Nightwatch cameras with a side macro for activating lights to help with the illumination.  Sometimes, the system works.  Other times, not so much.  When I check the activity log, I see that the RF was received from the motion sensor, but that no macro was sent back out.  .........
If the RF is received... and the macro not triggered... you may have a problem with the macro. Cleaning up (re-writting) the macro... getting everything in the same room.. and with limited conditions may help. Make sure the macro is loaded to the CM15A.. NOT run on the PC. Some conditions used in macro require the code used to be a monitored code. I am guessing... you have a macro problem.
 
...I realize there are line noise, phase issues, and a plethora of X10 issues, but here's my thread-related question:
If Activehome's activity log registers the incoming RF signal, is it possible the signal is still too weak to trigger the macro?  By extension, if the RF makes it to the PC, should it be strong enough to work?  If so, could anyone suggest why my macros don't fire regularly?
If the log shows the RF as received... it was (period). No need to worry about the strength of its reception... the problem is most likely in the macro.. IF the macro was not triggered. Otherwise... a phase issue could prevent the execution of the macro by not allowing the cameras/lights/whatever to receive the signals.

I've contacted a trusted electrician and hope to procure a phase coupler in a day or two, but in the meanwhile I am giving up on the security cam setup and installing my door/motion sensors for the security system instead.  At least I know THAT will work...
That's a good idea. Coupling the phases is the first best step in creating a reliable X10 setup. Even if this problem doesn't turn out to be phase issue related.... coupling the phases is good.
Title: Re: macro won't start
Post by: dave w on April 12, 2010, 11:56:51 AM
If Activehome's activity log registers the incoming RF signal, is it possible the signal is still too weak to trigger the macro? 

By extension, if the RF makes it to the PC, should it be strong enough to work?  If so, could anyone suggest why my macros don't fire regularly?

To piggy back on to DaveX10 comment:

I don't use AHP but know there is one or more buggy versions as far as macro execution. I believe 3.228 is a stable version. There are many posts on the forum with directions on how to roll back. I think Dan Lawrence has provided detailed directions, among others.
Title: Re: macro won't start
Post by: captainjerky on April 12, 2010, 12:50:48 PM
I considered the rollback, but I received the VA-12A USB/Pc converter because I have Windows Vista, so I'm stuck with that for now... I'll try deleting the macro, clearing the interface, removing batteries, etc, and try the macro again...
Thanks for the advice; it's always good to hear from others who have been doing this longer than I have!

Ryan
Title: Interesting Development
Post by: captainjerky on April 12, 2010, 06:18:17 PM
So I've been racking my brain trying to figure out why my signals aren't getting through.  I have an older CM15A with a polarized plug rated at 3 watts, and a new one without the polarized plug rated at 6 watts.  I unplugged them while playing with options for transceiving.  Then I realized that the Wireless PC Transceiver (CM19A) was still receiving RF signals.  I unplugged the CM19A and plugged the CM15A's back in and was now receiving the RF transmissions and executing macros!  Now my only problem seems to be weak RF range in the MS14 motion detectors.  While I think the two different types of transceiver were arguing with each other, I think the CM19A had better range, because if I use a spare motion sensor right by the PC/CM-15A to trigger macros, they run perfectly.  Getting the signal across the house, however, seems to be a problem.  I heard there was an easy rubber band antenna mod for the MS14?
Actually, my excitement died down a bit later when I realized that when macros would trigger, the cameras wouldn't switch.  I had assumed the CM19 did that, but since the CM15 was also receiving RF I thought it would be able to switch cams.  Apparently not.  Now I'm off to look for that MS14 antenna mod...
Title: Re: Interesting Development
Post by: HA Dave on April 12, 2010, 08:58:49 PM
............. I heard there was an easy rubber band antenna mod for the MS14?
(Interesting about the cm19a... that wasn't mentioned in the original post.) There is an antenna mod of sorts for the MS14A... although I have never used it before. If I remember correctly you would need a 9 1/4 inch length of 12 gauge wire or coat hanger attached to the left side [your left when facing the front of the sensor]. A search here may provide better or more detailed directions.

I have altered or modified a couple CM15A's. Such antenna mods are well documented here at the forum... and I know they work well. Of course.... there is the other option (maybe least desireable).

Title: Re: macro won't start
Post by: captainjerky on April 14, 2010, 05:11:07 PM
Ok, so I think my system is finally running reliably. 
What I did:
Turned off CM-15 transceiving for the house code that the motion sensors are on (F).  Cameras are on HC G.  I also unplugged the VA19 PC Transceiver.
then I set up a TM-751 to the house code of the motion sensors.  Now, it all seems to be working fine.  2 days and I've captured the photos I needed from my cameras, though it seems that without the rubber band/wire passive antenna mod to the backyard MS-14, the RF signal is just a tad too weak to trigger hte macros. 
I also discovered that, now that I am playing with Onalert, I need to do the F-connector mod to my CM-15s anyway, since a TM751 can't pick up those RF codes.  So once I get my Cm-15s modded I may try removing the TM-751.  X-10 tech support needs to include a warning that the CM-15 reception is crap, and should toss in a free TM751 with every order.
More info as I test more.
Thanks to all for your very helpful suggestions!
Title: Re: macro won't start
Post by: HA Dave on April 14, 2010, 10:32:25 PM
Ok, so I think my system is finally running reliably. 

Thanks for reporting back and letting us know.

I also discovered that, now that I am playing with Onalert, I need to do the F-connector mod to my CM-15s anyway,

The CM15A antenna mods... really make a difference.
Title: Re: macro won't start
Post by: captainjerky on April 14, 2010, 11:01:11 PM
Hey all-
I posted this in the general help forum, too, but I wanted to pass along my thanks to all in this forum who have helped me in my continuing efforts with X10 systems.  My wife is even starting to believe in me!  :-)

Hey folks, just a quick update on RF issues that I've finally gotten over (though I make no claim that I thought this stuff up, just adapted it and went through much trial and error based on the INSANELY HELPFUL people on this forum!)
For controlling macros for motion sensors and cameras in my home, I ditched the CF19 that came with the camera kit.  I am using two CM-15A's with the "clip the end off and connect 38 inches of thing gauge wire to the end" modification.  RF went from reception of 10 feet with the stock antenna to outside in my garage with the antenna mod.  Still not entirely sure that both are receiving the RF though, since I think only the one plugged into the PC is getting RF signals from my DS10's through my Onalert plugin.  Who cares, it works!
I am using a TM751 transceiver set to the motion sensor house code (motion sensors and cams each have their own house code) with the CM 15A's set to not transceive the motion sensor code.
Also, I really wish I could remember who thought this up, but I was surfing so long today that it' all blurring together, so I apologize.  Someone mentioned that a way around interference from metal in the surroundings of a DS10 would be to relocate the unit itself and use some wire to dramatically extend the leads that the magnetic switches are attached to.  That saved my bacon.  I have sensors on my garage and service doors, both made of metal.  I used some old garage door opener sensor wire and ran the wire from my DS10 on the door all the way to the wall by the interior door, and it works.  Hot damn, I feel like this might actually work out in the end!
Again, thanks to all who post and offer their tips and advice.  It's paid off big time for me, and I hope things continue to go well on this end!
Title: Re: macro won't start
Post by: HA Dave on April 15, 2010, 09:07:03 AM
...... My wife is even starting to believe in me! 

What is really cool... is when the wife asks for an automation event or device (could you make this come on automatically).

For controlling macros for motion sensors and cameras in my home, I ditched the CF19 that came with the camera kit.  I am using two CM-15A's ......... not entirely sure that both are receiving the RF though, since I think only the one plugged into the PC is getting RF signals from my DS10's through my Onalert plugin.  Who cares, it works!

FYI... in order to use the DS10A RF signals with the CM15A you must have OnAlert and AHP running (on a running PC) connected to the CM15A. That's likely why the signals are only being received by the one CM15A (which would be connected to the running PC).
Title: Re: macro won't start
Post by: captainjerky on April 15, 2010, 01:24:47 PM
Thanks for the tip, that makes sense...
I woke up this morning and now, magically, the cameras don't execute macros anymore.  I just don't get it.  Last night I installed 2 more DS110 sensors and they appeared in Onalert and the security console.  This morning, the RF signals for 'motion on' weren't triggering macros anymore.  Not sure what's changed, except my outlook on life.  Back to square one, I guess...  Is there any compatibility problem between Onalert, Iwatchout, Smart Macros, and any of the RF or powerline units? Right now I'm down to a single CM-15A with antenna mod, with a spare CM-15A, TM751 and a CM19 sitting on my countertop...
I'm off for another frustrating afternoon of dancing in front of my motion sensors trying to create a success story...
Title: Re: macro won't start
Post by: HA Dave on April 15, 2010, 06:35:31 PM
I woke up this morning and now, magically, the cameras don't execute macros anymore.  I just don't get it.  Last night I installed 2 more DS110 sensors and they appeared in Onalert and the security console.  This morning, the RF signals for 'motion on' weren't triggering macros anymore. 

It could be as simple as.....

If you can open AHP... and the macros return to action... your computer could have merely restarted after an update. Simply put AHP in start-up so when the computer does that next time.... AHP will return to use.
Title: Re: macro won't start
Post by: Brian H on April 15, 2010, 06:46:57 PM
Not sure about Vista, but XP had eight for me today if my memory is correct. I have auto turned off for less surprises. rofl
Title: Re: macro won't start
Post by: HA Dave on April 15, 2010, 06:53:49 PM
I have auto turned off for less surprises.

I too turn off the auto-update on my HA PC... as well as.. load AHP, BVC, BlueWatch, and WeatherAloud on start-up. But I could never advise anyone to turn off the auto-update.
Title: Re: macro won't start
Post by: Dan Lawrence on April 15, 2010, 07:46:27 PM
Microsoft will send out updates when they want to.  I set Saturday AM as the best time for updates, MS sends them out when they want.   Best to keep AHP running 24/7 and shut it down when the "Updates are ready" symbol on the taskbar.
Title: Re: macro won't start
Post by: Knightrider on April 15, 2010, 10:11:09 PM
Not sure about Vista, but XP had eight for me today if my memory is correct. I have auto turned off for less surprises. rofl

Only 8?  I had those and +1 for Media Player.  When it rains, it pours.  Now I have to go all around the house and approve the installs.

Sigh.
Title: Re: macro won't start
Post by: glacier991 on May 01, 2010, 02:20:50 PM
Earlier it was mentioned by the OP that he had solved his problem using a TM751. On that score I'd like to offer my thoughts for consideration by other folks in regards to using 751's generally... For the price, a PAT01 (a slightly larger Pro unit - selling for less then 2x the price of a 751) is a FAR better investment. It "listens" when triggered and before putting a signal on the powerline so as not to step on another X-10 signal - something the 751 does not do - causing occasional operational issues in busy environments.

I cannot say whether the PAT01 has a better reception range than a 751, but it would not surprise me. I keep a 751 around for "testing" purposes, but otherwise got rid of mine in favor of the PAT01.

Hope his helps someone.