User Tools

Site Tools


rev_v1-2

Rev version 1 and 2

rev_remote.jpg

FeatureSupport
Sending
Receiving
Config

Supported Brands

BrandProtocol
Revrev_v1
Revrev_v2

Sender Arguments

-i --id=id             control a device with this systemcode
-u --unit=unit         control a device with this programcode
-t --on                send an on signal
-f --off               send an off signal

Config

"living": {
	"name": "Living",
	"switch": {
		"name": "Switch",
		"protocol": [ "rev1_switch" ],
		"id": [{
			"id": "E7",
			"unit": 0
		}],
		"state": "on"
	}
}

Optional Settings

SettingDefaultFormatDescription
gui-readonly01 or 0Disable controlling this device from the GUIs

Protocol

This protocol sends 50 pulses like this

957 319 957 319 
319 957 957 319 
319 957 957 319 
319 957 957 319 
319 957 957 319 
957 319 957 319 
319 957 957 319 
319 957 319 957 
319 957 319 957 
319 957 319 957 
957 319 957 319 
319 957 319 957 
319 10846

It has no header and the last pulse is the footer. These are meant to identify the pulses as genuine. The next step is to transform this output into 12 groups of 4 pulses (and thereby dropping the footer pulses).

957 319 957 319 
319 957 957 319 
319 957 957 319 
319 957 957 319 
319 957 957 319 

957 319 957 319 
319 957 957 319 
319 957 319 957 
319 957 319 957 
319 957 319 957 

957 319 957 319 
319 957 319 957 

319 10846

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

  1. 319 957 957 319
  2. 957 319 957 319
  3. 319 957 319 957
  1. The first group is defined by a low 1st and low 4rd pulse pulse, hence we call it low.
  2. The second group has a high 1st and 3rd pulse, hence we call it med.
  3. The final group has a low 1st and low 3rd pulse, hence we call it high.

We then get the following output:

MLLLL MLHHH MH

All L's can be translated to 0, the H's to 1's, and M's to 2.

Each (group) of numbers has a specific meaning:

  • Unit: 0 till 5
  • ID: 6 till 9
  • State: 10 (rev v1) or 11 (rev v2)
20000 20111 21
  • The Unit is defined as a binary number
  • The ID is defined as a binary number combined with a letter
  • The State defines whether a devices needs to be turned On or Off

So this code represents:

  • Unit: 0
  • ID: E7
  • State: On
rev_v1-2.txt · Last modified: 2015/11/27 22:09 (external edit)