It's been an interesting pursuit but it was all for naught. It seems that the extra 10 bits that are sent, are actually just a failed attempt to repeat the XTC cmd itself, but the IR543 butchers the start code for the repeat frame. In the X10 PLC scheme, alternate half cycles are '01' for a 0 and '10' for a 1 and the sequence '11' followed by '10' is a special sequence meaning that this is the start of a frame. For the usual X10 cmds, the IR543 repeats the whole frame and the repeat is preceeded by the '11' '10' start of frame marker, but when the IR543 tries to repeat the XTC cmd, it does a '01' '10' preceeding the repeat. That confused the protocol analyzer to no end, but I sorted it out the old fashioned way......with pencil and paper, writing out the 1s and 0s and that's when I recognized the repeat pattern with the butchered start of frame marker. I guess I shouldn't be too surprised at the IR543's behavior here, since it was designed some 30 years ago and I'll bet hasn't gone through any actual bug fixes in the years since.The Robman wrote:The real X10 remotes send the same signal as my simple upgrade. The UEI executor puts that extra junk in there to make the signal hard to learn. If you find out that the 20 bit version of the protocol has some value, let me know and I'll write an executor for it.cauer29 wrote:One final thought: I wonder if the 10 bits that the IR543 puts out following the XTC cmd are somehow related to the extra junk that the UEI X10 IR protocol puts out prior to the normal X10 IR protocol? I'll have to dig out a real X10 IR remote and see what I get on the powerline.That's what I suspected he was doing.mdavej wrote:Well, I did learn something new. The OP's macro stacked unit numbers then the following command worked on all of them. For example "unit 1, unit 2, unit 3, unit 4, on" turned on all four. I never knew you could do that.
In the end, the list of "there but not useful" cmds supported by the IR543 are:
HRQ hail request. the IR543 can send this, but who would be listening to the response?
XTD extended data. Same problem as XTC outlined above.
PD0 preset dim 0. This one will work, but it uses the housecode as the dim level and the IR543 can't change that on the fly. If you don't mind the dim level tied to the fixed housecode, then it will work.
STF status off. It would be a bizarre setup that could respond to an X10 SRQ that it received via some means, by sending out an STF response via IR, but technically it would work.
HAK hail acknowledge. Same as STF above.
STO status on. Same as STF and HAK above.
PD1 preset dim 1. Same as PD0 but the houscode becomes a dim level in the other half of the dim range. Still, it technically works. I suppose with judicious choice of housecode, you could get something useful out of it.
XTC extended code. The subject of this investigation and apparently useless, as the IR543 corrupts the start code on the repeat and there isn't an obvious way to extend the data.
SRQ status request. Same as HRQ.
All that said, I have used all 16 function codes and all 16 unit codes for a total of 32 codes via the IR543 to trigger complex macros on the Ocelot. The Ocelot doesn't actually care what X10 intended these codes to do, it simply recognizes reception of these codes over the powerline and that triggers a very complex sequence of things, some IR output, some RS232 control.
As for the UEI X10 protocol, I hadn't heard that it was meant to make it hard to learn. The extra stuff doesn't seem to bother the IR543, I guess because the repeat is formed correctly and it's able to recognize that ok.
A.A.