RFLink Protocol Reference
RFLink Protocol Reference
RFLink Protocol Reference
The use of this protocol is free for both server and client sides of the
implementation
Data is send serial (via USB) as "text" at a speed of 57600 baud (N,8,1)
It is sufficient to open a port and listen to the data.
Each text line contains information that has been received via RF signals.
20 => Node number 20 means from the RFLink Gateway to the master, 10 means
from the master to the RFLink Gateway
Node number 11 means from the master to the master (Echo command -
creation of devices), see below for explanation
; => field separator
02 => packet counter (goes from 00-FF)
NAME => Device / Protocol name (can be used to display in applications etc.)
ID=9999 => Device ID (often a rolling code and/or device channel number)
(Hexadecimal)
LABEL=data => Data fields, contains the field type and value for that field, can
be present multiple times per device.
Note that for sensors that only report values like temperature, only the data and
the ID are required.
Name labels can be thrown away or used for cosmetic purposes.
For switches, the protocol name has to be stored and re-used on the transmission
side.
Thus, when a remote control is used to control a device data like below will be
send from the RFLink Gateway over USB:
20;3B;NewKaku;ID=cac142;SWITCH=3;CMD=OFF;
When the state of this switch needs to be changed the following command has to be
send:
10;NewKaku;0cac142;3;ON;
The name label (here "NewKaku") is used to tell the RFLink Gateway what protocol it
has to use for the RF broadcast.
20;B5;STATUS;setRF433=ON;NodoNRF=OFF;MilightNRF=ON;setLivingColors=ON;setAnsluta=OF
F;setGPIO=OFF;
10;setRF433=ON => enable/disable scanning of received 433/868 mhz signals
10;setGPIO=ON => enable/disable scanning of IOPIN changes
10;setBLE=ON => enable/disable scanning of Bluetooth LE signals, requires an
NRF24L01 wired for Milight use, not together with Milight/MySensors
10;setMySensors=ON => enable/disable scanning of MySensors signals, requires an
NRF24L01 wired for Milight use, not together with Milight/BLE
10;setMilight=ON => enable/disable scanning of Milight RF signals, requires an
NRF24L01 wired for Milight use, not together with BLE/MySensors
10;setNodoNRF=ON => enable/disable scanning of Nodo NRF signals, requires an
NRF24L01 wired for Nodo use
10;setANSLUTA=ON => enable/disable scanning of Ikea Ansluta signals, requires a
CC2500, not together with Livingcolors
10;setLIVINGCOLORS=O => enable/disable scanning of Living Colors Gen1 signals,
requires a CC2500, not together with Ansluta
10;LicoClean; => Erase the Living colors lamp address table
10;LicoShow; => Show the Living colors lamp address table
10;EEPClean; => Clean all settings in EEPROM
The home automation software can then process the received command as any other
RFlink command.
More Information:
-----------------
If you have any questions about the protocol or require assistance with
implementing the protocol on home automation software
then just send a mail to frankzirrone@gmail.com