Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: Help needed with Extended Codes Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Opus
Newbie
Newbie


Joined: December 29 2001
Location: United States
Online Status: Offline
Posts: 10
Posted: December 10 2002 at 02:17 | IP Logged Quote Opus

I just bought a new Leviton 16383-WI, and it supports extended codes but I have no idea how and what codes.  Basically I have macros setup for things like movie watching, night time snack, morning lighting..... I want to run a macro and have the light go to a set brightness for each macro.  The way I do this with a normal X-10 device is a "on" command followed by "dim x%."  From what I read this switch will go to a set level via extended codes, but a search of the net has only told me this "there are 64 levels; i.e., 0-63 with 0 being Off, 1-62 being presets from dim to bright with soft start, and level 64 being an immediate full on without soft start."  Can anyone tell me how and what extended codes to send?

 

TIA!

Back to Top View Opus's Profile Search for other posts by Opus
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: December 10 2002 at 08:49 | IP Logged Quote TonyNo

Try these...

http://www.act-solutions.com/kingery14.htm

...and...

ftp://ftp.x10.com/pub/manuals/xtc798.doc

Tony

 

Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
Opus
Newbie
Newbie


Joined: December 29 2001
Location: United States
Online Status: Offline
Posts: 10
Posted: December 10 2002 at 16:14 | IP Logged Quote Opus

Tony,

I looked at those sites yesterday but they didn’t help, but I spent a little more time today and I got it to work.  Here are the long steps it took me to get the right answer.

 

The basic information from the web site provided me with the codes.  For example:  Here is the extended code: Data= 00111111 (H#3F), Type= 0011 (H#3), Command= 0001 (H#1).  This should send the command to turn the light on full without dimming up.  So now how do I get that command sent.  Well in my macro I tried this:

 

SEQ |  TYPE   |  ID  |  VALUE           |  SEND KEYS/TTS/DIM/FORMULA

10  | X-10 1  | B    | 14 EXTENDED      | 0011111100110001

 

I test it and check my Log and here is what it shows:

X-10 controller 1 transmission of House code: B, Unit Code: 14, Extended Data: D4B1

 

But that’s not the right Hex code. 

 

So I thought maybe it needs the Hex so I put in 3F31 in the Send keys then the log shows this:

X-10 controller 1 transmission of House code: B, Unit Code: 14, Extended Data: 0000

 

Finally I tried the decimal value 16177 and the log showed this:

X-10 controller 1 transmission of House code: B, Unit Code: 14, Extended Data: 3F31

 

So now I have the extended code right and it seems to work.

 

So after some trial an error I got it, maybe I missed it in the manual but I did not see anything about sending extended codes and the need to be in decimal.

 

Dave why do the extended codes use decimal and not Hex or even binary?

 

=========================================================

All:

Here is how to use extended codes for Lights:

In a macro use the ID of the units House Code, and then pick the unit number with the EXTENDED extension.  In the Send keys field put one of the decimal values listed below.

 

% Light

DEC

OFF

49

2

305

3

561

5

817

6

1073

8

1329

10

1585

11

1841

13

2097

14

2353

16

2609

17

2865

19

3121

21

3377

22

3633

24

3889

25

4145

27

4401

29

4657

30

4913

32

5169

33

5425

35

5681

37

5937

40

6449

41

6705

43

6961

44

7217

46

7473

48

7729

49

7985

51

8241

52

8497

54

8753

56

9009

57

9265

59

9521

60

9777

62

10033

63

10289

65

10545

67

10801

68

11057

70

11313

71

11569

73

11825

75

12081

76

12337

78

12593

79

12849

81

13105

83

13361

84

13617

86

13873

87

14129

89

14385

90

14641

92

14897

94

15153

95

15409

97

15665

98

15921

Full On

16177

 

For example I want my B-14 light switch to come on to 30% brightness no matter what it currently is set to, so my macro would look like this:

 

SEQ| TYPE  |ID| VALUE       |  SEND KEYS/TTS/DIM/FORMULA

10 |X-10 1 |B | 14 EXTENDED | 4913

 

And now play your macro and check your status. 

 

I don’t know how well this works for other controllers as I have only tested on a Leviton 16383-WI.

 

NOTE: The Full ON code (16177) above does not dim up, to dim up use the X-10 ON command if you do not have the preset dim, if you have preset dim then us the 98% light level code (15921) fallowed by the a full on code (16177).

 

 

Good Luck!

Back to Top View Opus's Profile Search for other posts by Opus
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: December 10 2002 at 20:47 | IP Logged Quote dhoward

Opus,

Well it looks like you've found the right answer in a very painful way .  Yes, you are correct and PowerHome expects the extended data in decimal.  However, when you select an X-10 extended command, you can right-click in the Send Keys field and select the "Extended Builder" from the pop-up menu.  This will bring up a window similar to the formula builder and will allow you to very easily select the extended actions you want and will create the correct decimal codes for you automatically.

Sorry you had to figure this out the hard way but it was fun doing it wasn't it?

Dave.

 

Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
Opus
Newbie
Newbie


Joined: December 29 2001
Location: United States
Online Status: Offline
Posts: 10
Posted: December 10 2002 at 23:11 | IP Logged Quote Opus

Geez!

 

That was the answer I was looking for , well now I know both ways!  I knew there had to be an easier way, did I over look that info in the PDF manual?

 

Thanks,

Opus

 

Back to Top View Opus's Profile Search for other posts by Opus
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: December 12 2002 at 19:31 | IP Logged Quote dhoward

Opus,

I searched through the manual  and it was right there on page 42...just kidding

After a thorough search, I see that it's an omission on my part.  I'll be sure to correct it in the next release though.  I thought for sure I had the extended builder in there but writing manuals are not my strong point.

Dave.

 

Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum