User Tools

Site Tools


rc101_v6_0

RC101 & RC102

FeatureSupport
Sending
Receiving
Config

Supported Brands

BrandProtocol
RC101rc101
RC102rc102

Sender Arguments

-t --on             send an on signal
-f --off            send an off signal
-u --unit=unit      control a device with this unit code
-i --id=id          control a device with this id
-a --all            send command to all devices with this id

Config

"devices": {
	"Lamp": {
		"protocol": [ "rc101" ],
		"id": [{
			"id": 100,
			"unit": 0
		}],
		"state": "off"
	}
}
"gui": {
	"Lamp": {
		"name": "TV Backlit",
		"group": [ "Lamps" ],
		"media": [ "all" ]
	}
}

Optional Settings

GUI Settings

SettingDefaultFormatDescription
readonly01 or 0Disable controlling this device from the GUIs

Protocol

This protocol sends 50 pulses like this

241 723 241 723 241 723 241 723 241 723 241 723 723 241 241 723 241 723 723 241 241 723 241 723 241 723 723 241 723 241 723 241 723 241 241 723 241 723 241 723 723 241 241 723 241 723 241 723 241 723 241 723 241 723 241 723 241 723 241 723 241 723 241 723 241 8194

It has no header and the last 2 pulses are the footer. These are meant to identify the pulses as genuine, and the protocol also has some bit checks to filter false positives. We don't use them for further processing. The next step is to transform this output into 30 groups of 2 pulses (and thereby dropping the footer pulses).

241 723
241 723
241 723
241 723
241 723
241 723
723 241
241 723
241 723
723 241
241 723
241 723
241 723
723 241
723 241
723 241
723 241
241 723
241 723
241 723
723 241
241 723
241 723
241 723
241 723
241 723
241 723
241 723
241 723
241 723
241 723
241 723
241 8194

If we now look at carefully at these groups you can distinguish two types of groups:

  1. 241 723
  2. 723 241

So the first group is defined by a high 2th pulse and the second group has a low 2rd pulse. In this case we say a high 2rd pulse means a 0 and a low 2rd pulse means a 1. We then get the following output:

00000010010001111000100000000000

Each (group) of numbers has a specific meaning:

  • Unit: 21 till 23 (inversed)
  • ID: 0 till 19 (inversed)
  • State: 20
  • Misc: 24 till 31 (always 0)
00000010010001111000 1 000 00000000
  • The Unit is 7 substracted by this binary number
  • The ID is defined as a binary number
  • The State defines whether a devices needs to be turned On or Off
  • The Misc date is just zero

So this code represents:

  • Unit: 123456
  • ID: 7
  • Fixed: always 0
  • State: On

Notice that this protocol also support the all command. This is done by sending specific unit codes together with the requested state (inversed):

  • All On: unit = 7, state = 0
  • All Off: unit = 6, state = 1

So in the example we actually sent:

  • Unit: 123456
  • ID: 7
  • Fixed: always 0
  • State: Off
  • All: Yes
rc101_v6_0.txt · Last modified: 2015/11/27 22:09 (external edit)