X10 Community Forum

🔌General Home Automation => Automating Your House => Troubleshooting Automation Problems => Topic started by: rock99rock on January 27, 2011, 08:02:11 PM

Title: (FIXED) Security Module to turn lights on with time condition issue
Post by: rock99rock on January 27, 2011, 08:02:11 PM
Howdy!

I've searched a bit, and found some interesting posts that have not solved my issue.  http://forums.x10.com/index.php?topic=13843.0 was the most relevant.   I'm running the latest version of AHP, and have the Smart Macros and OnAlert plugins installed & registered.  The monitored house code is "A".  The server running the AHP is always on.  The time on the server and CM15A are correct, and correspond.  The timers have been downloaded and saved.

I want my front door sensor (DS10A sensor triggered) to turn on all lights (LM465 with soft start x2 Housecode "A") with timed condition (between 5pm and 8pm).  

The macro works with the time condition removed.  I tried setting up 2 macros, where the front door sensor would enable a ghost appliance sensor, then the second macro took the ghost sensor as a trigger, and threw in the timed condition.  This idea from the earlier linked post.  Here is a pic of the optimal setup:
(http://i.imgur.com/8E9bb.png)

What am I missing?  Thanks in advance!

-Rock

Title: Re: Security Module to turn lights on with time condition issue
Post by: peg-leg on January 27, 2011, 11:21:07 PM
I believe there's an issue with time conditions on any AHP version beyond 3.296.  You try reverting back to that version and see what happens.
Title: Re: Security Module to turn lights on with time condition issue
Post by: lviper on January 27, 2011, 11:52:23 PM
I had the same problem using conditions with the ds10a. What you need to do is hace the ds10a turn on a phantom module when triggered and off when closed. Then you use the phantom module to trigger your lights on macro with the time conditions.

For example, ds10a triggered turns P1 on.
P1 on triggers your macro to turn on all living room lights between the time condition.

P1 is just an appliance module on an unsed house code. Take a look at my macro at http://forums.x10.com/index.php?topic=22396.0
Title: Re: Security Module to turn lights on with time condition issue
Post by: rock99rock on January 28, 2011, 12:12:15 AM
I had the same problem using conditions with the ds10a. What you need to do is hace the ds10a turn on a phantom module when triggered and off when closed. Then you use the phantom module to trigger your lights on macro with the time conditions.

For example, ds10a triggered turns P1 on.
P1 on triggers your macro to turn on all living room lights between the time condition.

P1 is just an appliance module on an unsed house code. Take a look at my macro at http://forums.x10.com/index.php?topic=22396.0


I don't know if you saw my entire post, but I tried that already
"I tried setting up 2 macros, where the front door sensor would enable a ghost appliance sensor, then the second macro took the ghost sensor as a trigger, and threw in the timed condition.  This idea from the earlier linked post. "

Thanks however for your input.

I believe there's an issue with time conditions on any AHP version beyond 3.296.  You try reverting back to that version and see what happens.

Is there a way to revert back without having to reinstall all of the extra plugins I purchased?  Where can I download previous versions?  I don't see it listed here: http://www.x10.com/support/support_soft1.htm

I was going to ask if anyone submitted this issue to a bug tracker, but I can't seem to find one :)  I just started using X10 about a month ago along with Activehome Pro, and already have about 3 major bugs that need to be addressed to prevent instability.  Thank you for your suggestion.

If anyone else has any suggestions that don't involve reverting, that would be great.  It would also be nice to be able to turn off Activehome updating, so as not to auto-update to buggy versions.  Is there an option for that?

Thanks,

-Rock
Title: Re: Security Module to turn lights on with time condition issue
Post by: dave w on January 28, 2011, 09:45:43 AM
Sidebar question for those in the know: Does AHP 3.305 take care of the "identify all your lamp modules as LM14A's" problem? That was for timers not working wasn't it?
Title: Re: Security Module to turn lights on with time condition issue
Post by: Tuicemen on January 28, 2011, 10:23:33 AM
Sidebar question for those in the know: Does AHP 3.305 take care of the "identify all your lamp modules as LM14A's" problem? That was for timers not working wasn't it?
Kind of!
But is a bit of a pain for older setups.
All softstart lamp modules now must be set as lamp modules
All old lamps (no soft start) must be set as "Older Lamps(no softstart)" so all light modules now must be edited
A Update to 3.305 may fix rock99rocks issue
rock99rock do not revert to an earlier version as you most likely have softstart lamp modules.
What you could try in your macro (once you've updated to 3.305) is specify each light you want to come on!
 >!
Title: Re: Security Module to turn lights on with time condition issue
Post by: rock99rock on January 28, 2011, 03:47:33 PM
Sidebar question for those in the know: Does AHP 3.305 take care of the "identify all your lamp modules as LM14A's" problem? That was for timers not working wasn't it?
A Update to 3.305 may fix rock99rocks issue
rock99rock do not revert to an earlier version as you most likely have softstart lamp modules.
What you could try in your macro (once you've updated to 3.305) is specify each light you want to come on!
 >!

Thanks for the heads up.  When I "Check for update", it says I have the latest version (its not, its actually 3.302).  Will downloading the latest from here: http://www.x10.com/support/support_soft1.htm and overwriting the current install be a proper way to upgrade?

Thanks,

-Rock
Title: Re: Security Module to turn lights on with time condition issue
Post by: Tuicemen on January 28, 2011, 03:50:39 PM
The check for update button hasn't worked since 3.228 I believe.
 ::) :'
And the programmers are worried about confusing newbies! B:(  rofl
Just so sad I have to laugh ::) :'
Title: Re: Security Module to turn lights on with time condition issue
Post by: rock99rock on January 28, 2011, 03:55:54 PM
The check for update button hasn't worked since 3.228 I believe.
 ::) :'
And the programmers are worried about confusing newbies! B:(  rofl
Just so sad I have to laugh ::) :'

Wow.  Thanks for the prompt reply.  So downloading from that link I provided then overwriting the main install should update it, and not make me have to reinstall all the plugins and import the setup again?  Is there a bug tracker that can be referenced so we can keep track that they know of certain issues?

Thanks,

-Rock
Title: Re: Security Module to turn lights on with time condition issue
Post by: Tuicemen on January 28, 2011, 04:01:43 PM
Yep, it's that easy!
I usualy have a thread going with latest bugs for that release but now have one thread for all on going issues.
Topic: New & Old (outstanding) AHP Bugs (http://forums.x10.com/index.php?topic=22373.0)
Simply reading the first post should keep you updated as I add remove from it as I'm aware of the issues or fixes!
 >!
Title: Re: Security Module to turn lights on with time condition issue
Post by: rock99rock on January 28, 2011, 08:09:08 PM
Yep, it's that easy!
I usualy have a thread going with latest bugs for that release but now have one thread for all on going issues.
Topic: New & Old (outstanding) AHP Bugs (http://forums.x10.com/index.php?topic=22373.0)
Simply reading the first post should keep you updated as I add remove from it as I'm aware of the issues or fixes!
 >!

Unfortunately, the situation still exists with the updated software.  How is it that some of these bugs have been around for so long?
Title: Re: Security Module to turn lights on with time condition issue
Post by: Tuicemen on January 28, 2011, 09:53:43 PM
The main reason is X10 doesn't keep their programers very long and when they get new ones they have to learn every thing from scratch! ::) :'
Title: Re: Security Module to turn lights on with time condition issue
Post by: rock99rock on February 28, 2011, 11:17:42 PM
Well I sent X10 my data file a month ago, haven't heard back after repeated attempts.  I'm pretty sure they only have one guy developing/fixing bugs.
Title: Re: Security Module to turn lights on with time condition issue
Post by: JMac on March 01, 2011, 06:59:37 AM
Believe it or not you need three macros.  There is an example here in the forum which works very well, and I have a similar setup for some of my doors.
The door switch turns on a phantom switch triggering macro #1, which turns on phantom switch #2 triggering macro #2 (time conditionals are here), and the third macro does the actionable items.  Rube Goldberg would be proud and there is a substantial time delay before any action (5 or 6 seconds).  If the times don't work, set a flag, and have the macro check for a flag before acting.

It's here: "Time condition in macro not working" by KDR
Title: Re: Security Module to turn lights on with time condition issue
Post by: mike on March 01, 2011, 07:01:37 AM
how about trying the reverse of what others are saying?

ERASED

My time range works
Title: Re: Security Module to turn lights on with time condition issue
Post by: rock99rock on March 01, 2011, 10:04:10 AM
hyow about trying the reverse of what others are saying?

My time range works - by NOT using time in the macro but simply adding a P1 switch with a TIMER that turns it on at ur 5:30pm and off at 9pm.....

Now in my macros I use condition IF P1 IS ON

it was my way years ago to give up on the crappy non working dusk/dawn/time_ranges sometimes working and most of the time not working.

this works solid.

only issue is if you restart ahp in middle of ur ON tijme range it will of course come on OFF and u have to wait for next time range or turn it on manually.

Not sure if you read post #1 or post #4, but:

"I tried setting up 2 macros, where the front door sensor would enable a ghost appliance sensor, then the second macro took the ghost sensor as a trigger, and threw in the timed condition."

What you are saying sounds a bit different, and I will try it (I even linked to a thread from 2008 where you commented http://forums.x10.com/index.php?topic=13843.0 (http://forums.x10.com/index.php?topic=13843.0) ).  This is obviously a workaround, and I will continue to hound X10 until the bugs from http://forums.x10.com/index.php?topic=22373.0 (http://forums.x10.com/index.php?topic=22373.0) are addressed.   B:(

Thanks,

Rock
Title: Re: Security Module to turn lights on with time condition issue
Post by: JMac on March 01, 2011, 01:58:51 PM
Look at this and replace the email action with a light action:

http://forums.x10.com/index.php?topic=12196.msg68844#msg68844
Title: Re: Security Module to turn lights on with time condition issue
Post by: mike on March 01, 2011, 06:55:39 PM
Not sure if you read post #1 or post #4, but:
"I tried setting up 2 macros, where the front door sensor would enable a ghost appliance sensor, then the second macro took the ghost sensor as a trigger, and threw in the timed condition."

Rock,  actually I did.  This is NOT the same as your post #1 or post #4.  That is why I took pity on your problem and wrote you a solution that works.  Sorry for writing something you think is wrong. I will go back and erase it now.
Title: Re: Security Module to turn lights on with time condition issue
Post by: rock99rock on March 01, 2011, 07:38:05 PM
Not sure if you read post #1 or post #4, but:
"I tried setting up 2 macros, where the front door sensor would enable a ghost appliance sensor, then the second macro took the ghost sensor as a trigger, and threw in the timed condition."

Rock,  actually I did.  This is NOT the same as your post #1 or post #4.  That is why I took pity on your problem and wrote you a solution that works.  Sorry for writing something you think is wrong. I will go back and erase it now.

 ???

You forgot to quote the part under that, where I say that does sound a bit different, and I will try it...  I never said I thought your idea was wrong.  Way to internet!   #:)
Title: Re: Security Module to turn lights on with time condition issue
Post by: Noam on June 22, 2011, 03:37:04 PM
I know this is an older post, but the time-based condition problem was fixed in AHP version 3.315, which was released on 6/9/2011.
Title: Re: Security Module to turn lights on with time condition issue
Post by: rock99rock on June 22, 2011, 03:39:17 PM
I know this is an older post, but the time-based condition problem was fixed in AHP version 3.315, which was released on 6/9/2011.

Unfortunately, this is not true.  The time-based condition problem still exists, even after a complete uninstall/reinstall for me.
Title: Re: Security Module to turn lights on with time condition issue
Post by: Noam on June 22, 2011, 03:45:02 PM
I know this is an older post, but the time-based condition problem was fixed in AHP version 3.315, which was released on 6/9/2011.

Unfortunately, this is not true.  The time-based condition problem still exists, even after a complete uninstall/reinstall for me.
I'm sorry to hear that you are still having problems.
Can you give us a little more detail on the symptoms, and the type of condition and macro you are using?
Are you using version 3.315?
What plugins do you have?
Is the macro being run from the PC, or downloaded to the interface?
Can you verify that the time-based logic works BACKWARD? (true when it should be false, false when it should be true)?

I'll ask the developer to take a look at this thread, and he may need to get back in touch with you again.
Title: Re: Security Module to turn lights on with time condition issue
Post by: rock99rock on June 22, 2011, 04:37:25 PM
Thanks for your kind response.  I actually started this thread, so most of the details you are looking for are in the OP.

http://forums.x10.com/index.php?topic=22484.msg128251#msg128251 (http://forums.x10.com/index.php?topic=22484.msg128251#msg128251)

I am using the latest version.  I have the Smart Macros Plugin, iWatchmobile, OnAlert, Onalertmobile, MyHouseOnline.

It is only possible to run this macro from the PC, it cannot be stored on the interface with the time condition.

The logic does not work backwards, either.

I have a 20+ email chain with one of the developers since January.  This was his most recent response from May 23.

"Thank you for your request. I am afraid I need you to wait while I discuss further steps with the tech team and some of the developers. We are seeing a very high volume of support requests right now. Please rest assured that I am doing what I can to see the issue resolved, but it will take some time. As soon as I receive further information, I will let you know. Again, thank you for your patience."

I've offered up remote control of the computer for testing, but have pretty much given up.
Title: Re: Security Module to turn lights on with time condition issue
Post by: ErikP on June 22, 2011, 04:56:52 PM
I apologize for the lack of communication you received.  That message is from tech support, and no developers were involved unfortunately.  They may have lumped your case in with the time based conditions bug since we have been working on that for a while now, but they should have at least gotten back to you to try the fix in the latest version.

I looked over your original post and that should be enough data for me to put together a test here to try and recreate your problem and look for a bug.  I will get back to you with the results as soon as I am able.  I have some projects I need to finish first, so it might be early next week before I can test this.
Title: Re: Security Module to turn lights on with time condition issue
Post by: rock99rock on June 22, 2011, 05:17:52 PM
This is starting to make a little less sense, as Customer Service told me Eric Boyd was one of the developers.  He has possession of my latest AHX file for testing when needed.  The rig is on Windows Home Server, (Windows Server 2003 based).  Thank you for following up. 

I would like to add, that since 3.315 was released, I was able to "rig" it to work sometimes using 3 macros, as mentioned in this thread - http://forums.x10.com/index.php?topic=13843.0  Previously, that method did not work.
Title: Re: Security Module to turn lights on with time condition issue
Post by: ErikP on June 22, 2011, 05:26:11 PM
Eric Boyd is one of our top tier tech support staff.  He works with us often on these kinds of issues, testing fixes, and maintaining communication with customers, but he does not work with the application code.  I will ask him about your case, and see if he has any other insights to offer.

Does that workaround work if you combine macros 2 and 3 as described by the post you linked?  It looks like their might be some old weirdness with door/window sensors as macro triggers (which I have not looked into or fixed at all yet).  In this case it was combined with the time based conditions bug.  We might be half fixed if that is true.  Half fixed doesn't help you, of course, but it does narrow down which part i need to fix :)
Title: Re: Security Module to turn lights on with time condition issue
Post by: rock99rock on June 22, 2011, 06:25:40 PM
Eric was very nice, I just feel AHP doesnt (or didn't) have the resources to get this matter any attention.  For all I know, I was the only one in the world with this issue :D

Half fixed is more fixed than it was before, so its a great start :)  I will have to check when i get home from work, regarding the combination of macros.  I do have the older sensors, DS10A's.  It is evident that the door sensor is recognized every time in the activity log.

I have yet to proceed with my buildout until i can finish troubleshooting this issue.  Wife can only tolerate so much non-functional technology.  I really do appreciate all the followups on this Erik, it's good to know I might be able to continue this project.

Title: Re: Security Module to turn lights on with time condition issue
Post by: Noam on June 22, 2011, 07:56:33 PM
ErikP-
I'm glad to see that you are working on this. You have been an invaluable resource for me and my own X10 troubleshooting over the past year, so I know you'll get this one fixed, too!

However, can I suggest that X10 stop assigning their staff very similar screen names? It gets really confusing for us users! ;-)
Title: Re: Security Module to turn lights on with time condition issue
Post by: rock99rock on July 12, 2011, 07:09:55 PM
Success!

I combined 2 & 3 as suggested and it worked.  I decided to go for it, and can now say that the time condition works properly for me on 3.315 in a single macro.  Not sure why its working now and didn't before on the same version, but I'll take it.  Thank you so much for all the followups again, and sorry for my delayed response.

There is a random issue with using the "turn all lights on" during the macro.  I have 2 lamp modules on the same extension cord, and one of them wont turn on when using the "all lights on" function.  I have to tandem the two modules separately in order to get them both to come on.  Are 2 lamp modules on a single extension a no-no? Also, the RTM75 module I use for the halogen trips, but isn't reflected in AHP as "on".

Regardless, I'm really excited to get everything else setup now :D  Thanks!