Please login or register.

Login with username, password and session length

Author Topic: Question regarding a macro starting, but not finishing  (Read 4365 times)

Scott_Geeks

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 2
Question regarding a macro starting, but not finishing
« on: November 12, 2006, 01:40:47 PM »

Good afternoon,

This is my first time posting and hope someone may have an answer for me...

I have a macro created to do the following:

A1 "on"
Dim by 95%
Delay 2 minutes
Brighten by 3%
Delay 2 minutes
Brighten by 3%
Delay 2 minutes
Brighten by 3%
...and so on...
Delay 1 hour
A1 "off"

This is set on a schedule to start at 6:00am to mimic sunrise.  The problem I am running into is sometimes (1/2 the time so far) it will get to step 1 and stop...the lights will turn on to 100% and just sit there and never turn off.

Any ideas as to what may be causing it?? 

Another question is...when adjusting the bright/dim, is it possible to set the percentage manually??  or must I use the slider...and if that is the case, why are a bunch of values not there??  I spent way too much time trying to get 2% before I realized that it would just jump from 1% to 3%...no matter how carefully my mouse movement was.

Thank you for your time and hope someone has an answer for me.

Scott
Logged

Puck

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 171
  • Posts: 1799
Re: Question regarding a macro starting, but not finishing
« Reply #1 on: November 12, 2006, 02:03:39 PM »

Try changing your first 2 commands to a single command for setting an Absolute Brightness level of 5%.

Then make sure the rest of your Brighten commands are relative.

Quote
is it possible to set the percentage manually??

I don't think so, not from the UI anyways.

I don't know if you will even see a 3% difference in brightness. I don't know what light module you are using, but I don't believe X-10 ones have that good of a resolution.
Logged

Scott_Geeks

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 2
Re: Question regarding a macro starting, but not finishing
« Reply #2 on: November 12, 2006, 03:15:43 PM »

Thanks for the quick repy.

I will give the absolute value a try, but that still does't help with the original problem.  Why will it work 1/2 the time and not the other 1/2.  Is there any form of advanced error logging available that might tell me where the problem resides??  That would allow me to possibly correct the problem instead of just guessing my way through things.

As far as the % goes, I understand I will not see a difference between 2% and 3%, but that isn't really the point...why have a sliding scale that will give such odd values??  It's not like there is even a pattern to it.  I could understand if it went up by 2's or 3's or 5's, but it seems to be totally random as far as what you have to choose from.  And why not have the ability to set the value manually??  **just my thoughts**

Scott

//I am using the LM465 dimmable lamp module
Logged

KDR

  • Hero Member
  • *****
  • Helpful Post Rating: 53
  • Posts: 758
    • Home Automation Chat
Re: Question regarding a macro starting, but not finishing
« Reply #3 on: November 12, 2006, 03:22:56 PM »

You may have a noise problem? Is there something else turning on at the same time? something starting up like a frig or furnace motor? Kids turning on a game cube or another computer? Any of these can cause noise and drown out the PLC signal.
Logged
Note: "Guests" may read the X10 forum , but you must register to post!

When I'm online you can find me in the Home Automation Chat Room!

Puck

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 171
  • Posts: 1799
Re: Question regarding a macro starting, but not finishing
« Reply #4 on: November 12, 2006, 03:33:03 PM »

Dimming from OFF with absolute or relative ends up with the same result, but AHP sees things differently, and that could be the problem.

Here is a quick test I did a couple days ago: Re: Odd problems

It seems everyday a new quirk... I mean free built-in feature... is discovered in AHP::)

If the Absolute trick doesn't work, then as KDR suggested, you may have a noise problem.

Good Luck
Logged

KDR

  • Hero Member
  • *****
  • Helpful Post Rating: 53
  • Posts: 758
    • Home Automation Chat
Re: Question regarding a macro starting, but not finishing
« Reply #5 on: November 12, 2006, 03:44:05 PM »

Quote
It seems everyday a new quirk... I mean free built-in feature... is discovered in AHP.
 

Now thats rich... Its kinda like their 3 images in their ads, which ones diffrent? Makes me want to go looking for another Free Built-in Feature.

I have a couple of macros that dim and use the absolute %. As I mentioned before it seems that if I didn't issue an ON command first the light would come on sometimes and dim and sometimes just on. As soon as I get some free time I will have to play with it again.
Logged
Note: "Guests" may read the X10 forum , but you must register to post!

When I'm online you can find me in the Home Automation Chat Room!

TakeTheActive

  • Hero Member
  • *****
  • Helpful Post Rating: 126
  • Posts: 1047
  • Old !@#$% Tinkerer!
Re: Question regarding a macro starting, but not finishing
« Reply #6 on: November 12, 2006, 05:00:02 PM »


...Is there any form of advanced error logging available that might tell me where the problem resides??

I don't know about "advanced", but what does your Activity Monitor say?
Logged
Low Post Count != Low Knowledge - High Post Count != High Knowledge ;)

ADVICE TO X-10 NEWBIES FROM AN X-10 OLD-TIMER

Charles Sullivan

  • Hero Member
  • *****
  • Helpful Post Rating: 94
  • Posts: 1565
    • HEYU - X10 Automation for Linux, Unix, and Mac OSX
Re: Question regarding a macro starting, but not finishing
« Reply #7 on: November 12, 2006, 05:01:31 PM »

Another question is...when adjusting the bright/dim, is it possible to set the percentage manually??  or must I use the slider...and if that is the case, why are a bunch of values not there??  I spent way too much time trying to get 2% before I realized that it would just jump from 1% to 3%...no matter how carefully my mouse movement was.

The number of regular Dim steps supported by a lamp module is less than 100.    The slider displays the percentage corresponding to the closest step.  I suppose X-10 could program the slider to display a continuous range 0-100%, but the same closest step would still be transmitted.  (At least AHP is honest about what it's doing, which isn't always the case.)

I agree that fiddling with the slider is a royal PITA and the ability to type in a value would be a big time saver.

Logged
Yesterday it worked.
Today it doesn't work.
X10 on Windows is like that.

HEYU - X10 Automation for Linux, Unix, and Mac OS X     http://www.heyu.org
 

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