Macro will turn off device, but doesn't turn it on

Started by tirebiter, May 21, 2009, 12:01:59 PM

Previous topic - Next topic

tirebiter

I have two wall switch modules connected to my porch light and street light.  They both turn on and off just fine when I access them through the "Room" screen in AHP.

I have written single line macros to turn these lights on and off.  The off macro always works but the on macro never does.

Is this a known problem?  How can I fix it?

Thanks in advance.


HA Dave

#1
Quote from: tirebiter on May 21, 2009, 12:01:59 PM
....I have written single line macros to turn these lights on and off.  The off macro always works but the on macro never does. Is this a known problem?  How can I fix it?

George

"On macros" work just as well as "off macros". I would try a macro rewrite.

Often with the wallswitches... people can be confused by 100% bright... as opposed to ON. If your not trying to dim the lights.... I would rewrite the macro(s) assigning the house/unit codes as appliance modules instead of dimmable switches. And of course... look for little errors like an incorrect house or unit code... or off instead of on for a trigger.
Home Automation is an always changing technology

Jsnlong

X10 wall Switches are known for problems like this ever since they made then with soft-start(ramps on and off instead of full on/off).

I told AHP that all my wall switches are lamp modules and all worked fine. Just have to lie to the software alittle. Can try 2 way lamp modules or like Dave if you don't need dimming you can set them up as appliance modules.


What bulbs are you using also?
People are afraid of robots taking their jobs......The same jobs they complain all day about doing!!

Join the chat at http://www.bdshost.com/ac/

Coach of XKAR
Xenia Kids And Robots
www.xkar.org

tirebiter

Hi,

Thanks for the response.  It really helped me figure out what's happening, although I still don't fully understand why.

My macros were very simple to just get the hang of how they work.  The "ON" macro had one line that simply had a "Turn <light> ON" command.  I didn't see any way to distinguish it from transitioning from being OFF vs. increasing brightness of a light that was already on.  And the OFF macro (the one that worked) simply had a "Turn <light> OFF" command.  In both cases, the display in the "room" window switched as expected from off to on (for the ON macro) and from on to off (for the OFF macro).

I now have two different modules defined for each light.  One is an OFF/ON only appliance, and the other is a light switch module with a brightness control.  The ON macro uses the appliance module to turn the light on, and the light switch module to adjust the brightness.  It's working as expected.

I don't agree that it should work this way, but I'm happy that this workaround is as effective as it is.

Thanks again for pointing me in the right direction.

tirebiter

Quote from: Jsnlong on May 21, 2009, 12:57:51 PMWhat bulbs are you using also?
Normal light bulbs.  They're in outdoor fixtures, so I don't know the wattage, probably 60 or 75.  But, thanks again, my problem is solved.  I've worked with computers for 35 years now, and I'm pretty used to accepting whatever solution solves the problem.

Jsnlong

Quote from: tirebiter on May 21, 2009, 08:30:55 PM
Quote from: Jsnlong on May 21, 2009, 12:57:51 PMWhat bulbs are you using also?
, and I'm pretty used to accepting whatever solution solves the problem.

That statment means you will love and do fine with X10 stuff. It doesnt make since but it works.. lol
People are afraid of robots taking their jobs......The same jobs they complain all day about doing!!

Join the chat at http://www.bdshost.com/ac/

Coach of XKAR
Xenia Kids And Robots
www.xkar.org

SMF spam blocked by CleanTalk