Reply by gouardopatrick January 15, 20092009-01-15
Hi,

Thanks for your reply and help.
I am happy to see that I am not the only one reading this forum.

What I call the BasicX is the BX24p-u processor which is faster than
the original BX-24 and is also RoHS compliant.
I do not know if the commands are different between the "old" and
the "new", I believe they are not.

I am using now X10 gears in my house since a year and it is
convenient way to add switches and other domotic function in the
house.

What I do not understand is the command to use with the BX24 when
using the XM10E-120 device.

In this example:

Call X10Cmd(PinOut, Pin60Hz, HouseCode, KeyCode, RepeatCycles)

What is the value of HouseCode if I want to control a switch with
the address B3?
What is the value of HouseCode to use in the BasicX command above if
I want to control a switch with the address B3?

What about Unit Code;
Usually, an X10 device has a House Code (B in my example) and a Unit
Code which is 3 in my example.

What KeyCode do I use to Switch On the X10 device and what KeyCode
do I use to switch Off the X10 Device.
Thanks for your help and support to all of you with the knowledge on
X10Cmd format.

Patrick.

- In b..., rosarite@... wrote:
> Hi,
> I? never have any experience with X10 but I used BX24 for all my
project but reading your email it looks like you do not understand
the X10. My advice to you is to look in the web information about
the X10. Once you understand how it works then proceed with your
project. I found in www.wikipedia.org/wiki/X10_(industry_standard)
some information but by searching X10 home automation you would get
a lot of site with X10 information.
>
> Hope this will help you in your project.
> Regards,
> rosarite?
>
>
>
> -----Original Message-----
> From: gouardopatrick
> To: b...
> Sent: Thu, 15 Jan 2009 6:01 am
> Subject: [BasicX] BasicX-24 X10Cmd Command for XM10E-120, TW523
or PSC05 Two Way X10 Interface
>
>
>
> Hello,
>
> I would like to come back on this issue of X10 Command with BasicX-
>
> 24 because I have a lot of problem to find the proper support and
>
> proper answers to simple questions I have.
>
> I like to send simple command to XM10E Interface which is a
version
>
> of TW523 or PSC05 Two Way PowerLine Interface.
>
> I have purchased the book from Chris D. Odom about BasicX but this
>
> book is more orientated toward Robotics.
>
> There are not many books on the BasicX 24.
>
> There is not a lot of forum talking about the BasicX in general, I
>
> found another site but this site is about BasicX for Robotics only.
>
> In the BasicX user manual about the X10 command, I have found this
>
> program:
>
> Option Explicit
>
> Public Sub Main()
>
> Const X10_P As Byte = &HC
>
> Const X10_Dim As Byte = &H9
>
> Const X10_Bright As Byte = &HB
>
> Call X10Cmd(16, 17, X10_P, X10_Dim, 8)
>
> Call Delay(1.0)
>
> Call X10Cmd(16, 17, X10_P, X10_Bright, 8)
>
> End Sub
>
> I have try to run it connecting the Pin 16 and 17 of the BasicX to
>
> the XM10 as per info I found page 10 of the BasicX Development
>
> Station PCB from Netmedia but nothing happen.
>
> The XM10 led should blink to acknowledge receipt of proper
command.
>
> But I do not understand the program and do not know what value
enter
>
> if for example I want to put On a device connected to B3 Appliance
>
> Module for example or to put OFF the same device on B3.
>
> Below are the details of the command I found in the manual but I
>
> like that somebody spare some time if possible to help me to
>
> understand.
>
> Call X10Cmd(PinOut, Pin60Hz, HouseCode, KeyCode, RepeatCycles)
>
> For an X10 device, you have 16 House Codes from A to P and 16 Unit
>
> Codes
>
> The line above makes reference to House Code Only. What about
Unit
>
> Codes.
>
> 1- Where do I found the HouseCode for A1 to P16 and the Keycode
for
>
> the main commands like ON, OFF, all light On, all Light Off etc ?
>
> 2- What code should I enter for KeyCode for various commands to
>
> control X10 devices (ON, OFF, All Lights On, All Lights Off, etc)?
>
> 3- Later I would be interested to know how to read the codes send
by
>
> an X10 device ,.
>
>
>
> Thanks for your help and understanding.
>
> Best Regards.
>
> Patrick.
>
>
>
>
>
>
>
>
>
>
>
>
>
>

Reply by ian_casey02 January 15, 20092009-01-15
Patrick,
I never used X10
Way back when, there was an X10 project called BX24-AHT, you could
also do a quick search for that too. more on a web search.
look around in the archives on these dates.
2002 11 June - 2 July Dave Houston made the BX24-AHT
2004 25-29 Jan, 27 April
2005 Feb 27 , Nov 26
there's just not much here on X10.
personally, I'd look for other options.

Quote Dave Houston 2 July 2002
"The key code can be either the unit code (015) or the function code
(1631). There is a sample file that defines all of the X10
constants. Repeat is the number of times you want to send the code.
It should be 1 except for Dim/Bright commands."
maybe look in the files section?
I hope this helps

Ian

--- In b..., "gouardopatrick"
wrote:
>
> Hello,
>
> I would like to come back on this issue of X10 Command with BasicX-
> 24 because I have a lot of problem to find the proper support and
> proper answers to simple questions I have.
>
> I like to send simple command to XM10E Interface which is a version
> of TW523 or PSC05 Two Way PowerLine Interface.
>
> I have purchased the book from Chris D. Odom about BasicX but this
> book is more orientated toward Robotics.
> There are not many books on the BasicX 24.
> There is not a lot of forum talking about the BasicX in general, I
> found another site but this site is about BasicX for Robotics only.
>
> In the BasicX user manual about the X10 command, I have found this
> program:
>
> Option Explicit
>
> Public Sub Main()
>
> Const X10_P As Byte = &HC
> Const X10_Dim As Byte = &H9
> Const X10_Bright As Byte = &HB
> Call X10Cmd(16, 17, X10_P, X10_Dim, 8)
> Call Delay(1.0)
> Call X10Cmd(16, 17, X10_P, X10_Bright, 8)
>
> End Sub
>
> I have try to run it connecting the Pin 16 and 17 of the BasicX to
> the XM10 as per info I found page 10 of the BasicX Development
> Station PCB from Netmedia but nothing happen.
> The XM10 led should blink to acknowledge receipt of proper command.
>
> But I do not understand the program and do not know what value enter
> if for example I want to put On a device connected to B3 Appliance
> Module for example or to put OFF the same device on B3.
>
> Below are the details of the command I found in the manual but I
> like that somebody spare some time if possible to help me to
> understand.
>
> Call X10Cmd(PinOut, Pin60Hz, HouseCode, KeyCode, RepeatCycles)
>
> For an X10 device, you have 16 House Codes from A to P and 16 Unit
> Codes
>
> The line above makes reference to House Code Only. What about Unit
> Codes.
>
> 1- Where do I found the HouseCode for A1 to P16 and the Keycode for
> the main commands like ON, OFF, all light On, all Light Off etc ?
>
> 2- What code should I enter for KeyCode for various commands to
> control X10 devices (ON, OFF, All Lights On, All Lights Off, etc)?
>
> 3- Later I would be interested to know how to read the codes send by
> an X10 device ,.
>
> Thanks for your help and understanding.
>
> Best Regards.
> Patrick.
>

Reply by rosa...@aol.com January 15, 20092009-01-15
Hi,
I? never have any experience with X10 but I used BX24 for all my project but reading your email it looks like you do not understand the X10. My advice to you is to look in the web information about the X10. Once you understand how it works then proceed with your project. I found in www.wikipedia.org/wiki/X10_(industry_standard) some information but by searching X10 home automation you would get a lot of site with X10 information.

Hope this will help you in your project.
Regards,
rosarite?

-----Original Message-----
From: gouardopatrick
To: b...
Sent: Thu, 15 Jan 2009 6:01 am
Subject: [BasicX] BasicX-24 X10Cmd Command for XM10E-120, TW523 or PSC05 Two Way X10 Interface

Hello,

I would like to come back on this issue of X10 Command with BasicX-

24 because I have a lot of problem to find the proper support and

proper answers to simple questions I have.

I like to send simple command to XM10E Interface which is a version

of TW523 or PSC05 Two Way PowerLine Interface.

I have purchased the book from Chris D. Odom about BasicX but this

book is more orientated toward Robotics.

There are not many books on the BasicX 24.

There is not a lot of forum talking about the BasicX in general, I

found another site but this site is about BasicX for Robotics only.

In the BasicX user manual about the X10 command, I have found this

program:

Option Explicit

Public Sub Main()

Const X10_P As Byte = &HC

Const X10_Dim As Byte = &H9

Const X10_Bright As Byte = &HB

Call X10Cmd(16, 17, X10_P, X10_Dim, 8)

Call Delay(1.0)

Call X10Cmd(16, 17, X10_P, X10_Bright, 8)

End Sub

I have try to run it connecting the Pin 16 and 17 of the BasicX to

the XM10 as per info I found page 10 of the BasicX Development

Station PCB from Netmedia but nothing happen.

The XM10 led should blink to acknowledge receipt of proper command.

But I do not understand the program and do not know what value enter

if for example I want to put On a device connected to B3 Appliance

Module for example or to put OFF the same device on B3.

Below are the details of the command I found in the manual but I

like that somebody spare some time if possible to help me to

understand.

Call X10Cmd(PinOut, Pin60Hz, HouseCode, KeyCode, RepeatCycles)

For an X10 device, you have 16 House Codes from A to P and 16 Unit

Codes

The line above makes reference to House Code Only. What about Unit

Codes.

1- Where do I found the HouseCode for A1 to P16 and the Keycode for

the main commands like ON, OFF, all light On, all Light Off etc ?

2- What code should I enter for KeyCode for various commands to

control X10 devices (ON, OFF, All Lights On, All Lights Off, etc)?

3- Later I would be interested to know how to read the codes send by

an X10 device ,.

Thanks for your help and understanding.

Best Regards.

Patrick.


Reply by gouardopatrick January 15, 20092009-01-15
Hello,

I would like to come back on this issue of X10 Command with BasicX-
24 because I have a lot of problem to find the proper support and
proper answers to simple questions I have.

I like to send simple command to XM10E Interface which is a version
of TW523 or PSC05 Two Way PowerLine Interface.

I have purchased the book from Chris D. Odom about BasicX but this
book is more orientated toward Robotics.
There are not many books on the BasicX 24.
There is not a lot of forum talking about the BasicX in general, I
found another site but this site is about BasicX for Robotics only.

In the BasicX user manual about the X10 command, I have found this
program:

Option Explicit

Public Sub Main()

Const X10_P As Byte = &HC
Const X10_Dim As Byte = &H9
Const X10_Bright As Byte = &HB
Call X10Cmd(16, 17, X10_P, X10_Dim, 8)
Call Delay(1.0)
Call X10Cmd(16, 17, X10_P, X10_Bright, 8)

End Sub

I have try to run it connecting the Pin 16 and 17 of the BasicX to
the XM10 as per info I found page 10 of the BasicX Development
Station PCB from Netmedia but nothing happen.
The XM10 led should blink to acknowledge receipt of proper command.

But I do not understand the program and do not know what value enter
if for example I want to put On a device connected to B3 Appliance
Module for example or to put OFF the same device on B3.

Below are the details of the command I found in the manual but I
like that somebody spare some time if possible to help me to
understand.

Call X10Cmd(PinOut, Pin60Hz, HouseCode, KeyCode, RepeatCycles)

For an X10 device, you have 16 House Codes from A to P and 16 Unit
Codes

The line above makes reference to House Code Only. What about Unit
Codes.

1- Where do I found the HouseCode for A1 to P16 and the Keycode for
the main commands like ON, OFF, all light On, all Light Off etc ?

2- What code should I enter for KeyCode for various commands to
control X10 devices (ON, OFF, All Lights On, All Lights Off, etc)?

3- Later I would be interested to know how to read the codes send by
an X10 device ,.

Thanks for your help and understanding.

Best Regards.
Patrick.