Skip to main content
JMRI: Powerline System Names
Individual inputs (Sensors) and outputs (Turnouts and Lights)
in JMRI are accessed via names.
For information on the general scheme, please see
the
naming page
in the
technical documentation.
X10
X10 devices are addressed via a "House Code" of A through P,
and a "Device Code" of 1 through 16.
JMRI configures the adapter to use House Code "A" now.
We'll eventually make that configuable, but for now
that means that input messages will only be received
from devices set to house code A.
Outputs (Lights and Turnouts) in house code A
are numbered with their
device code, e.g. PT1 is device 1, PT2 is device 2, etc.
Depending on your setup, you might be able to access other housecodes
by adding "16"s to the number, e.g. PT17 is device 1 in housecode B,
etc.
| House code | Offset | Device 1 | Device 16 |
| A | 0 | 1 | 16 |
| B | 16 | 17 | 32 |
| C | 32 | 33 | 48 |
| D | 48 | 49 | 64 |
| E | 64 | 65 | 80 |
| F | 80 | 81 | 96 |
| G | 96 | 97 | 112 |
| H | 112 | 112 | 128 |
| I | 128 | 129 | 144 |
| J | 144 | 145 | 160 |
| K | 160 | 161 | 176 |
| L | 176 | 177 | 192 |
| M | 192 | 193 | 208 |
| N | 208 | 209 | 224 |
| O | 224 | 225 | 240 |
| P | 240 | 241 | 256 |
Eventually, it will be possible to use a letter-number combination
to address X10 devices. For example:
- PTB3 - Device 3 on housecode B, the same as PT19
- PLA12 - Device 12 on housecode A, the same as PL12
- PTC02 - Device 2 on housecode C, the same as PT34
This code has not yet been written, though.
Insteon
Insteon adapters are labelled with a four-part number that looks
like 01.2A.B4.CD, four bytes in hexadecimal. These are just random
strings as part as the user and the program is concerned, and
we don't make any effort to subdivide them. We will accept
dropping of leading zeros (e.g. 01 and 1 can be used in a group, so
both 1.2.3.4 and 01.02.03.4 are accepted). We also accept either lower
case or upper case letters. Extra zeros, e.g. numbers beyond
two digits, are not accepted. Note that .23. is a hexadecimal 23,
decimal 19. Entry of addresses in decimal form it not (yet) available.
More Information
More information on the X10 hardware can be found on the
(admittedly obnoxious)
X10 web site.