Skip to content

Instantly share code, notes, and snippets.

@0xFelix
Last active July 15, 2019 10:47
Show Gist options
  • Save 0xFelix/2151e4d1c4c4ff75dccaef1dd14e26fb to your computer and use it in GitHub Desktop.
Save 0xFelix/2151e4d1c4c4ff75dccaef1dd14e26fb to your computer and use it in GitHub Desktop.
Sonoff RF Bridge 433 / ESPurna and Brennenstuhl RCS 1000 N
Sonoff RF Bridge 433 / ESPurna and Brennenstuhl RCS 1000 N
Taken from
http://tinkerman.cat/decoding-433mhz-rf-data-from-wireless-switches-the-data
and
https://www.itead.cc/wiki/images/5/5e/RF_Universal_Transeceive_Module_Serial_Protocol_v1.0.pdf
and
https://github.com/pimatic/rfcontroljs/blob/master/src/protocols/switch2.coffee
Protocol 'switch2' (Elro)
(Housenumber and Unitnumber as example, adjust to your own)
Housenumber: 5
Unitnumber: 16
Tlow: 306 (Hex: 0132)
Thigh: 957 (Hex: 03BD)
Tsyn: 9808 (Hex: 2650)
BIT PULSES TETRABIT TETRABITBIN
1 0101 0 00
1010 1 11
0 0110 F 01
1001 X 10
HOUSE UNIT ON ONINV
IN BITS:
0 0 1 0 1 1 0 0 0 0 1 0
0 0 1 0 1 1 0 0 0 0 0 1
IN PULSES:
0110 0110 0101 0110 0101 0101 0110 0110 0110 0110 0101 0110
0110 0110 0101 0110 0101 0101 0110 0110 0110 0110 0110 0101
IN TETRABITS:
F F 0 F 0 0 F F F F 0 F
F F 0 F 0 0 F F F F F 0
IN TETRABITSBIN:
01 01 00 01 00 00 01 01 01 01 00 01
01 01 00 01 00 00 01 01 01 01 01 00
TETRABITSBIN TO HEX:
510551
510554
ESPurna Codes (Remove spaces and paste into code field):
Tsyn Tlow Thigh TETRABITSHEX
2650 0132 03BD 510551
2650 0132 03BD 510554
@sroettgermann
Copy link

Hey. Just a little question: Where do you got the house and unitnumber from? As I recognize it correctly, I can select between A-E and 1-5 at the DIP switch, on the Brennenstuhl device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment