RTI Relay Protocol
Posted: Sat May 26, 2018 11:34 am
On RemoteCentral I stubled upon this post, see also this. It is a protocol for controlling an "RTI RCM-4 Relay module". There are Pronto Hex codes at the end of the post. There seems to be 4 relays, each having an on- and an off-command.
It is a pure biphase 75-bit code. I have not seen that one before. Using IrpTransmogrifier, I managed to "crack the code", and came up with the Irp-form
For this, I set F = 0 for the off-command and F=1 for the corresponding on-command. The parameter D = 8 for relay 1, D = 4 for relay 2, D = 2 for relay 3, and D = 1 for relay 4.
(It is possible to use a more natural parametrization, e.g. D = 1 << (4 - N) (for N the relay number), but IrScrutinizer presently does not accept it (as opposed to IrpTransmogrifier), and IrpTransmogrifier can use the first but not the second for decoding.
It is a pure biphase 75-bit code. I have not seen that one before. Using IrpTransmogrifier, I managed to "crack the code", and came up with the Irp-form
Code: Select all
{40.244k,398,msb}<1,-1|-1,1>(1,A:31,F:1,F:8,D:23,D:8,0:4,-19.5m)*{A=2145419392}[F:0..1,D:0..255]
(It is possible to use a more natural parametrization, e.g. D = 1 << (4 - N) (for N the relay number), but IrScrutinizer presently does not accept it (as opposed to IrpTransmogrifier), and IrpTransmogrifier can use the first but not the second for decoding.