Please login or register.

Login with username, password and session length

Author Topic: How does "All Units Off" work?  (Read 7527 times)

axgupta1

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 71
How does "All Units Off" work?
« on: November 29, 2008, 10:23:10 PM »

X10 gurus,
This issue has bothered me for a long time since I could never get this to work with CM11 and now with CM15. I must be doing something wrong so please help.

I have x10 modules on house codes A, G, C and D. Sometimes, lights are left on by accident, like someone goes to the basement, forgets to tun off the light. Since all lights are controlled by x10, I wrote a macro which has "All units off" for each of the house codes A, G, C and D. The macro is assigned to a timer which runs at 2:00 am every morning.

However, I find that only the modules on house code G are turned off at 2:00 am. The modules on house codes A, C and D are unaffected. What am I doing wrong?

Thanks...
Arun
Logged

JMac

  • Hero Member
  • *****
  • Helpful Post Rating: 23
  • Posts: 462
Re: How does "All Units Off" work?
« Reply #1 on: November 29, 2008, 11:04:59 PM »

I think that only the monitored house code will respond to "All Units Off", but I'm not sure.  Is House Code "G" your monitored House Code ?  Maybe some one else knows for sure.  If not maybe staggered times for the macros would work.
Logged

axgupta1

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 71
Re: How does "All Units Off" work?
« Reply #2 on: November 29, 2008, 11:35:42 PM »

Yes, the monitored house code is G. I have tried staggered time for the macros but no effect. I also suspected that it might have something to do with monitored house code but looking for a confirmation.

Thanks...
Arun


Logged

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: How does "All Units Off" work?
« Reply #3 on: November 30, 2008, 12:40:16 AM »

.......... I wrote a macro which has "All units off" for each of the house codes A, G, C and D. The macro is assigned to a timer which runs at 2:00 am every morning.

I am guessing here.... but my guess is it's your macro. An all units off... can't serve as a trigger (that could conflict with the DS7000). So if your settings have that as a step or process in the order of the macro... it may not be recognized. Try writting a separate macro for each House code (letter code).


Logged
Home Automation is an always changing technology

axgupta1

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 71
Re: How does "All Units Off" work?
« Reply #4 on: November 30, 2008, 01:07:53 AM »

Quote
An all units off... can't serve as a trigger (that could conflict with the DS7000)

I am sorry but I could not understand what you said. The macro is:

Turn all units off for house code A
wait 1 minute
Turn all units off for house code C
wait 1 minute
Turn all units off for house code G
wait 2 minutes
Turn all units off for house code D
wait 5 minutes
Turn all units off

My observation is that when macro runs, any modules on house codes A, C and D do not turn off. All modules on house code G turn off. If I switch on any light on house code G during the 7 minutes wait, it is turned off by the last command. However, none of the lights on house codes A, C and D are effected. As you can see in the order of calling, G is called in the middle. Why modules on G obey the command but rest ignore them? The last command of Turn all unit off should turn off every module on any house code. Even this works only with G modules. I am totally confused here.

Thanks...
Arun
Logged

Charles Sullivan

  • Hero Member
  • *****
  • Helpful Post Rating: 94
  • Posts: 1565
    • HEYU - X10 Automation for Linux, Unix, and Mac OSX
Re: How does "All Units Off" work?
« Reply #5 on: November 30, 2008, 02:04:50 AM »


What happens if you set the monitored house code to A, C, or D ?

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

Boiler

  • Guest
Re: How does "All Units Off" work?
« Reply #6 on: November 30, 2008, 09:19:19 AM »

My observation is that when macro runs, any modules on house codes A, C and D do not turn off. All modules on house code G turn off. If I switch on any light on house code G during the 7 minutes wait, it is turned off by the last command. However, none of the lights on house codes A, C and D are effected. As you can see in the order of calling, G is called in the middle. Why modules on G obey the command but rest ignore them? The last command of Turn all unit off should turn off every module on any house code. Even this works only with G modules. I am totally confused here.


Arun,

Are you running the macro from the interface or the PC?

What version of AHP are you running?

The following was generated running from the CM15a interface with AHP version 3.228:

Macro L11
House code A All Units OFF
Delay 5 Sec
House code B All Units OFF
Delay 5 Sec
House code C All Units OFF
Delay 5 Sec
House code D All Units OFF
Delay 5 Sec
All Modules All Units Off

The activity monitor output is shown below -


Event       Date/Time               Action         Data
0     11/30/2008 8:55:44 AM       Macro    A All Units Off
1     11/30/2008 8:55:49 AM       Macro    B All Units Off
2     11/30/2008 8:55:54 AM       Macro    C All Units Off
3     11/30/2008 8:55:59 AM       Macro    D All Units Off
4     11/30/2008 8:56:04 AM       Macro    A All Units Off  { All Modules Off Command Start}
5     11/30/2008 8:56:04 AM       Macro    A All Units Off
6     11/30/2008 8:56:05 AM       Macro    A All Units Off
7     11/30/2008 8:56:05 AM       Macro    A All Units Off
8     11/30/2008 8:56:06 AM       Macro    A All Units Off
9     11/30/2008 8:56:06 AM       Macro    A All Units Off
10    11/30/2008 8:56:07 AM       Macro    D All Units Off
11    11/30/2008 8:56:07 AM       Macro    F All Units Off
12    11/30/2008 8:56:07 AM      Macro    F All Units Off
13    11/30/2008 8:56:08 AM       Macro    G All Units Off
14    11/30/2008 8:56:08 AM       Macro    G All Units Off
15    11/30/2008 8:56:09 AM       Macro    G All Units Off
16    11/30/2008 8:56:09 AM       Macro    L All Units Off
17    11/30/2008 8:56:10 AM       Macro    P All Units Off

From the above, the "All Modules - All units Off" command is a bit weird.  AHP Outputs a "all units off" command once for every unit on the houscode (6 times for my house code A).  None the less, this should work.

Check to see if activity monitor shows the off commands.  If the CM15a is putting the information on the powerline, your modules should respond (unless you have a noise/phase issue).
Logged

Brian H

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 305
  • Posts: 13295
Re: How does "All Units Off" work?
« Reply #7 on: November 30, 2008, 09:58:32 AM »

All Units Off are House Code related.
So you would have to send an A All Units Off; C All Units Off; D All Units Off and G All Units Off.
Logged

axgupta1

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 71
Re: How does "All Units Off" work?
« Reply #8 on: November 30, 2008, 02:38:45 PM »

While I was testing with different house codes etc., I noticed that one RR501 was faulty. It was recieving rf for only the 1st module code and ignoring all others. After I replaced this RR501 with TM751 (this was the only I had on hand), the problem disappeared. The activity monitor was showing all units off being sent out correctly before and after replacement. After replacement, all modules started obeying the "all units off" command.

The only exception is the 1st module code on TM751. The built-in appliance module ignores the "all units off". This is not a problem as I can easily add a dedicated "D1 off" step to the macro.

Thanks for all the helpful ideas. These do help me gain more insight into working of x10 and solve problems. I still have a lot to learn from all the contributors in this forum.

Thanks...
Arun



Logged

JeffVolp

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 122
  • Posts: 2299
    • XTB Home Page
Re: How does "All Units Off" work?
« Reply #9 on: November 30, 2008, 04:23:05 PM »

While I was testing with different house codes etc., I noticed that one RR501 was faulty. It was recieving rf for only the 1st module code and ignoring all others. After I replaced this RR501 with TM751 (this was the only I had on hand), the problem disappeared. The activity monitor was showing all units off being sent out correctly before and after replacement. After replacement, all modules started obeying the "all units off" command.

This may not be due to a faulty RR501.  That unit checks for powerline activity before transmitting.  If there is a lot of noise on the powerline (or perhaps repeating signals ping-ponging around), then the RR501 will not transmit.  The TM751 is a "dumb" transceiver, and will relay RF commands to the powerline regardless of any powerline activity at that time.

Jeff
Logged
X-10 automation since the BSR days

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: How does "All Units Off" work?
« Reply #10 on: November 30, 2008, 08:28:43 PM »


This may not be due to a faulty RR501.  That unit checks for powerline activity before transmitting.  If there is a lot of noise on the powerline (or perhaps repeating signals ping-ponging around), then the RR501 will not transmit.  The TM751 is a "dumb" transceiver, and will relay RF commands to the powerline regardless of any powerline activity at that time.


Your so right.... PLUS both the  RR501 and TM751 only handle one code each.... does that mean axgupta1 has a transceiver for each code (A, G, C and D)? AND a CM15A?
Logged
Home Automation is an always changing technology

axgupta1

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 71
Re: How does "All Units Off" work?
« Reply #11 on: November 30, 2008, 08:49:40 PM »

Yes, I have a RR501 for house code A, one TM751 for house code D, one RR501 for house code G and CM15 for house code C. These transceivers are necessary because of the limited range of CM15. The KR-22 remote works within 2 in (yes, 2 inches) of CM15. With RR501, the KR-22 works at 6 ft without a problem. I am still unsure how replacing the faulty RR501 fixed the issue or why it caused the issue, but that was the only thing I could find wrong.

Thanks...
Arun
Logged

Brian H

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 305
  • Posts: 13295
Re: How does "All Units Off" work?
« Reply #12 on: December 01, 2008, 06:48:08 AM »

I had a power supply go bad in a RR501 and it did all kinds of strange things. My Smarthome TesterLinc was showing things like bad start codes and bad blocks.
I fixed mine by replacing some overheated components.
Logged

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: How does "All Units Off" work?
« Reply #13 on: December 01, 2008, 11:10:34 AM »

Yes, I have a RR501 for house code A, one TM751 for house code D, one RR501 for house code G and CM15 for house code C. These transceivers are necessary because of the limited range of CM15.

Yeah... I also own the CM15A. I found the range in my home so limited that the CM15A was nearly useless. But I really needed AHP so I could run BVC. So I performed a fast and dirty antenna mod I read about here at the forum.

The CM15A has two antennas. The one you can see is the receiving antenna... and that is the antenna often modified. The modification of that antenna could extend your range [whereas you'd not need to have the additional transceivers]. There are several posts about the "CM15A antenna modifications" (here's mine). The [2nd] internal antenna is the sending antenna... and where its range also seems a bit limited to me... it is not so much as the receiving problem. Very few devices actually use the RF signal... beside the transceivers... the ninjas, the VCR commander, and the RF repeater are the only devices that come to mind.

But if your happy with the additional transceivers... and your not having a reliability issue or signal collision problems.... what the heck, why change.
« Last Edit: October 15, 2009, 01:49:41 AM by -Bill- (of wgjohns.com) »
Logged
Home Automation is an always changing technology

axgupta1

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 71
Re: How does "All Units Off" work?
« Reply #14 on: December 01, 2008, 11:36:48 AM »

Quote
But if your happy with the additional transceivers... and your not having a reliability issue or signal collision problems.... what the heck, why change.

Very true.

Logged
 

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