FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: alex_hd am 11 Juli 2020, 21:05:27

Titel: Wie Heicko Funk Rohrmotor anlernen - Heicko HREFBH4010-14
Beitrag von: alex_hd am 11 Juli 2020, 21:05:27
Hallo
ich hatte diesen Thread https://forum.fhem.de/index.php?topic=43548.0 (https://forum.fhem.de/index.php?topic=43548.0) zu Funk Rohrmotoren gelesen und mir auf mikrokontroller.net auch schon diesen Thread https://www.mikrocontroller.net/topic/242784?goto=new#new (https://www.mikrocontroller.net/topic/242784?goto=new#new) durchgelesen, weshalb ich mich gegen die Rohrmotoren von Rohrmotor24 entschieden habe.  Es kam für meine 6 Rolläden nur das Heicko Modell HREFBH4010-14 von Conrad in Frage.
Ich habe mit rtl_433 folgende Signale empfangen wenn ich auf der Fernbedienung Heicko HG06C-W bei einem ausgewählten Kanal nach oben oder nach unten drücke.
rtl_433 version 20.02-70-g3018ae9 branch master at 202006242214 inputs file rtl_tcp RTL-SDR
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/pi/.config/rtl_433/rtl_433.conf"...
Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...
Trying conf file at "/etc/rtl_433/rtl_433.conf"...
Registered 126 out of 154 device decoding protocols [ 1-4 8 11-12 15-17 19-21 23 25-26 29-36 38-60 63 67-71 73-100 102-105 108-116 119 121 124-128 130-149 151-154 ]
Found Rafael Micro R820T tuner
Exact sample rate is: 250000.000414 Hz
[R82XX] PLL not locked!
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
Allocating 15 zero-copy buffers
*** signal_start = 1385187, signal_end = 1450995, signal_len = 65808, pulses_found = 153
Iteration 1. t: 153    min: 98 (131)    max: 209 (22)    delta 3636
Iteration 2. t: 153    min: 98 (131)    max: 209 (22)    delta 0
Pulse coding: Short pulse length 98 - Long pulse length 209

Short distance: 111, long distance: 286, packet distance: 7244

p_limit: 153
bitbuffer:: Number of rows: 2
[00] {76} 00 00 00 04 02 09 02 45 44 10
[01] {77} 00 00 00 02 01 04 81 22 a2 08
*** signal_start = 2684472, signal_end = 2750394, signal_len = 65922, pulses_found = 151
Iteration 1. t: 153    min: 99 (127)    max: 207 (24)    delta 3517
Iteration 2. t: 153    min: 99 (127)    max: 207 (24)    delta 0
Pulse coding: Short pulse length 99 - Long pulse length 207

Short distance: 111, long distance: 276, packet distance: 7137

p_limit: 153
bitbuffer:: Number of rows: 2
[00] {75} 00 00 00 0c 04 42 8a 08 90 40
[01] {76} 00 00 00 06 02 21 45 04 48 20
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2020-06-27 17:17:34
model     : Bresser-3CH  Id        : 27
Channel   : 1            Battery   : 1             Temperature: 86.00 F      Humidity  : 40 %          Integrity : CHECKSUM
*** signal_start = 3946490, signal_end = 4095673, signal_len = 149183, pulses_found = 302
Iteration 1. t: 153    min: 99 (254)    max: 208 (48)    delta 3893
Iteration 2. t: 153    min: 99 (254)    max: 208 (48)    delta 0
Pulse coding: Short pulse length 99 - Long pulse length 208

Short distance: 141, long distance: 7189, packet distance: 37449

p_limit: 153
bitbuffer:: Number of rows: 2
[00] {151} 00 00 00 08 0c 60 00 43 58 40 00 00 00 80 c6 00 04 35 84
[01] {151} 00 00 00 14 49 84 08 04 a0 80 00 00 01 44 98 40 80 4a 08
*** signal_start = 4718334, signal_end = 4848116, signal_len = 129782, pulses_found = 291
Iteration 1. t: 152    min: 99 (231)    max: 206 (60)    delta 2245
Iteration 2. t: 152    min: 99 (231)    max: 206 (60)    delta 0
Pulse coding: Short pulse length 99 - Long pulse length 206

Short distance: 147, long distance: 7189, packet distance: 17771

p_limit: 152
bitbuffer:: Number of rows: 2
[00] {143} 00 00 01 14 3a 12 44 52 44 00 00 01 14 3a 12 44 52 44
[01] {148} 00 00 00 81 03 22 04 4e 70 00 00 00 20 40 c8 81 13 9c 00
*** signal_start = 5351513, signal_end = 5417446, signal_len = 65933, pulses_found = 153
Iteration 1. t: 153    min: 98 (131)    max: 208 (22)    delta 1972
Iteration 2. t: 153    min: 98 (131)    max: 208 (22)    delta 0
Pulse coding: Short pulse length 98 - Long pulse length 208

Short distance: 111, long distance: 281, packet distance: 7136

p_limit: 153
bitbuffer:: Number of rows: 2
[00] {76} 00 00 00 02 06 01 45 08 68 00
[01] {77} 00 00 00 01 03 00 a2 84 34 00
*** signal_start = 6728136, signal_end = 6793955, signal_len = 65819, pulses_found = 149
Iteration 1. t: 153    min: 100 (123)    max: 207 (26)    delta 3298
Iteration 2. t: 153    min: 100 (123)    max: 207 (26)    delta 0
Pulse coding: Short pulse length 100 - Long pulse length 207

Short distance: 109, long distance: 277, packet distance: 7246

p_limit: 153
bitbuffer:: Number of rows: 2
[00] {74} 00 00 00 28 86 23 08 02 41 40
[01] {75} 00 00 00 14 43 11 84 01 20 a0
*** signal_start = 7307288, signal_end = 7373108, signal_len = 65820, pulses_found = 151
Iteration 1. t: 153    min: 99 (127)    max: 207 (24)    delta 2753
Iteration 2. t: 153    min: 99 (127)    max: 207 (24)    delta 0
Pulse coding: Short pulse length 99 - Long pulse length 207

Short distance: 110, long distance: 281, packet distance: 7247

p_limit: 153
bitbuffer:: Number of rows: 2
[00] {75} 00 00 00 81 04 0a 48 51 84 00
[01] {76} 00 00 00 40 82 05 24 28 c2 00
*** signal_start = 7700965, signal_end = 7766781, signal_len = 65816, pulses_found = 133
Iteration 1. t: 153    min: 100 (91)    max: 207 (42)    delta 3908
Iteration 2. t: 153    min: 100 (91)    max: 207 (42)    delta 0
Pulse coding: Short pulse length 100 - Long pulse length 207

Short distance: 109, long distance: 255, packet distance: 7244

p_limit: 153
bitbuffer:: Number of rows: 2
[00] {66} 00 00 00 d6 71 b5 21 2b 40
[01] {67} 00 00 00 6b 38 da 90 95 a0
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2020-06-27 17:17:54
model     : Prologue-TH  subtype   : 5             id        : 196
Channel   : 1            Battery   : 1             Temperature: 29.30 C      Button    : 0             Humidity  : 22 %
*** signal_start = 8271280, signal_end = 8507122, signal_len = 235842, pulses_found = 262
Iteration 1. t: 64    min: 11 (1)    max: 117 (261)    delta 576
Iteration 2. t: 64    min: 11 (1)    max: 117 (261)    delta 0
Pulse coding: Short pulse length 11 - Long pulse length 117

Short distance: 488, long distance: 981, packet distance: 2309

p_limit: 64
bitbuffer:: Number of rows: 8
[00] {39} 7f ff ff ff fe : 01111111 11111111 11111111 11111111 1111111
[01] {37} ff ff ff ff f8 : 11111111 11111111 11111111 11111111 11111
[02] {37} ff ff ff ff f8 : 11111111 11111111 11111111 11111111 11111
[03] {37} ff ff ff ff f8 : 11111111 11111111 11111111 11111111 11111
[04] {37} ff ff ff ff f8 : 11111111 11111111 11111111 11111111 11111
[05] {37} ff ff ff ff f8 : 11111111 11111111 11111111 11111111 11111
[06] {37} ff ff ff ff f8 : 11111111 11111111 11111111 11111111 11111
[07] { 1} 80             : 1
^CSignal caught, exiting!

rtl_433 version 20.02-70-g3018ae9 branch master at 202006242214 inputs file rtl_tcp RTL-SDR
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/pi/.config/rtl_433/rtl_433.conf"...
Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...
Trying conf file at "/etc/rtl_433/rtl_433.conf"...
Registered 126 out of 154 device decoding protocols [ 1-4 8 11-12 15-17 19-21 23 25-26 29-36 38-60 63 67-71 73-100 102-105 108-116 119 121 124-128 130-149 151-154 ]
Found Rafael Micro R820T tuner
Exact sample rate is: 250000.000414 Hz
[R82XX] PLL not locked!
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
Allocating 15 zero-copy buffers
*** signal_start = 2276587, signal_end = 2342409, signal_len = 65822, pulses_found = 153
Iteration 1. t: 153    min: 99 (131)    max: 207 (22)    delta 2650
Iteration 2. t: 153    min: 99 (131)    max: 207 (22)    delta 0
Pulse coding: Short pulse length 99 - Long pulse length 207

Short distance: 111, long distance: 285, packet distance: 7247

p_limit: 153
bitbuffer:: Number of rows: 2
[00] {76} 00 00 00 10 11 a2 05 00 30 40
[01] {77} 00 00 00 08 08 d1 02 80 18 20
*** signal_start = 2663576, signal_end = 2729519, signal_len = 65943, pulses_found = 147
Iteration 1. t: 154    min: 100 (119)    max: 208 (28)    delta 1985
Iteration 2. t: 154    min: 100 (119)    max: 208 (28)    delta 0
Pulse coding: Short pulse length 100 - Long pulse length 208

Short distance: 110, long distance: 269, packet distance: 7135

p_limit: 154
bitbuffer:: Number of rows: 2
[00] {73} 00 00 00 0c 50 89 24 61 21 00
[01] {74} 00 00 00 06 28 44 92 30 90 80
*** signal_start = 3006159, signal_end = 3072104, signal_len = 65945, pulses_found = 139
Iteration 1. t: 152    min: 99 (103)    max: 206 (36)    delta 1373
Iteration 2. t: 152    min: 99 (103)    max: 206 (36)    delta 0
Pulse coding: Short pulse length 99 - Long pulse length 206

Short distance: 110, long distance: 259, packet distance: 7136

p_limit: 152
bitbuffer:: Number of rows: 2
[00] {69} 00 00 01 45 98 24 99 2b 40
[01] {70} 00 00 00 a2 cc 12 4c 95 a0
*** signal_start = 7392200, signal_end = 7458014, signal_len = 65814, pulses_found = 147
Iteration 1. t: 153    min: 100 (119)    max: 207 (28)    delta 4392
Iteration 2. t: 153    min: 100 (119)    max: 207 (28)    delta 0
Pulse coding: Short pulse length 100 - Long pulse length 207

Short distance: 109, long distance: 272, packet distance: 7244

p_limit: 153
bitbuffer:: Number of rows: 2
[00] {73} 00 00 01 16 b4 02 02 21 11 00
[01] {74} 00 00 00 8b 5a 01 01 10 88 80
*** signal_start = 7696607, signal_end = 7762421, signal_len = 65814, pulses_found = 157
Iteration 1. t: 153    min: 98 (139)    max: 208 (18)    delta 2965
Iteration 2. t: 153    min: 98 (139)    max: 208 (18)    delta 0
Pulse coding: Short pulse length 98 - Long pulse length 208

Short distance: 111, long distance: 299, packet distance: 7247

p_limit: 153
bitbuffer:: Number of rows: 2
[00] {78} 00 00 00 00 41 09 02 44 a0 00
[01] {79} 00 00 00 00 20 84 81 22 50 00


p_limit: 71
bitbuffer:: Number of rows: 8
[00] {39} 7f ff ff ff fe : 01111111 11111111 11111111 11111111 1111111
[01] {37} ff ff ff ff f8 : 11111111 11111111 11111111 11111111 11111
[02] {37} ff ff ff ff f8 : 11111111 11111111 11111111 11111111 11111
[03] {37} ff ff ff ff f8 : 11111111 11111111 11111111 11111111 11111
[04] {37} ff ff ff ff f8 : 11111111 11111111 11111111 11111111 11111
[05] {37} ff ff ff ff f8 : 11111111 11111111 11111111 11111111 11111
[06] {37} ff ff ff ff f8 : 11111111 11111111 11111111 11111111 11111
[07] { 1} 80             : 1
*** signal_start = 10791415, signal_end = 10857339, signal_len = 65924, pulses_found = 155
Iteration 1. t: 153    min: 99 (135)    max: 208 (20)    delta 3061
Iteration 2. t: 153    min: 99 (135)    max: 208 (20)    delta 0
Pulse coding: Short pulse length 99 - Long pulse length 208

Short distance: 110, long distance: 287, packet distance: 7135

p_limit: 153
bitbuffer:: Number of rows: 2
[00] {77} 00 00 00 02 4a 44 08 0c 04 00
[01] {78} 00 00 00 01 25 22 04 06 02 00
*** signal_start = 11291011, signal_end = 11356955, signal_len = 65944, pulses_found = 153
Iteration 1. t: 153    min: 100 (131)    max: 206 (22)    delta 2213
Iteration 2. t: 153    min: 100 (131)    max: 206 (22)    delta 0
Pulse coding: Short pulse length 100 - Long pulse length 206

Short distance: 109, long distance: 282, packet distance: 7135

p_limit: 153
bitbuffer:: Number of rows: 2
[00] {76} 00 00 01 02 02 20 81 43 0c 00
[01] {77} 00 00 00 81 01 10 40 a1 86 00
^CSignal caught, exiting!
pi@raspberrypi:~ $



tl:dr Wie kann ich meine Rolläden über Fhem steuern?

Über Hinweise zu den nächsten Schritten wäre ich sehr dankbar.
Gruß
Alexander