CommandFusion Wiki

Documentation Resources

User Tools

Site Tools


Sidebar

hardware:cflink:din-ry-cflink-protocol

This is an old revision of the document!


DIN-RY CFLink Protocol

The following documentation is for the DIN-RYx-N devices CFLink protocol messages.

Relay Commands

On / Off / Toggle

The TRLYSET (Send) command is used to send a command to the relay channels.

Data

> [F2]<ID>[F3]TRLYSET[F4]<PORT>:<STATE>[F5][F5]

  • <PORT> = The relay channel (port) to be controlled. Relay channels would be from P01-P08.
  • <STATE> = The command to set the status of relay. 0 would set the relay to open, 1 would set the relay to close, T would set the relay to toggle.

Reply

// The reply does not echo the data sent in an effort to reduce bus traffic
< [F2]<ID>[F3]RIRBSND[F4][F5][F5]
If sending multiple IR commands via a single CFLink message, the reply will only happen after all IR commands have been sent.

Notifications

RCV - Receive IR Data

The RCV (Receive) notification is generated when either the on-board IR receiver, or the external IR receiver detects an IR signal.

Data

< [F2]<ID>[F3]RIRBRCV[F4]<PORT>:<IR_DATA>[F5][F5]

  • <PORT> = The IR port that the IR data was received via. 3 chars, uppercase 'P' followed by the port number (2 digits)
    • P01 = On-board Blaster output
    • P02 = Secondary emitter output
  • <IR_DATA> = The IR data generated by the IR Learner software

Example

// IR Data is received via the on-board IR receiver, IR Blaster on CFLink ID [06]
< [F2][06][F3]RIRBRCV[F4]P01:0066016100160119001601320016011A0016011900160132001601310016011A0016[F5][F5]

hardware/cflink/din-ry-cflink-protocol.1565199591.txt.gz · Last modified: 2021/05/05 12:30 (external edit)