CC1101 RF component (ESPHome) and Honeywell wireless ActiveLink doorbell (868.3 Mhz)

Would love to integrate my wireless Honeywell ActiveLink doorbells (868.3 MHz) in Home Assistant. Should be easier with the cc1101 component now included in ESPHome?

Hooked up a CC1101 to an ESP8266 but I'm not sure what are the best receiver settings to get the ActiveLink signals.

Based on this info the signals are FSK-modulated.

Below is my current ESPHome device config (only relevant parts), but it seems to pick up a lot of noise (?) as I get permanent buffer overflow errors

[19:27:41.024][W][remote_receiver:095]: Buffer overflow

Any advice?

# These are pinouts for a specific CC1101 module and D1 mini ESP8266 clone 
# 1:GND : G
# 2:Vcc : 3.3v
# 3:GD00 : GPIO4 : D2
# 4:CS  : GPIO15 : D8
# 5:SCK : GPIO14 : D5
# 6:MOSI  : GPIO13 : D7
# 7:MISO/GD01  : GPIO12 : D6
# 8:GD02  : GPIO5 : D1

spi:
  clk_pin: GPIO14
  mosi_pin: GPIO13
  miso_pin: GPIO12

cc1101:
  cs_pin: GPIO15
  frequency: 868.3MHz
  modulation_type: 2-FSK
  # frequency: 433.92MHz

remote_transmitter:
  pin: GPIO4  # Must match GDO0
  carrier_duty_percent: 100%
  on_transmit:
    then:
      - cc1101.begin_tx
  on_complete:
    then:
      - cc1101.begin_rx

remote_receiver:
  pin: GPIO5  # Must match GDO2
  dump: all 
  #dump: raw # Change to 'all' to dump RC codes
  tolerance: 50%
  idle: 5ms # Remote control codes are often repeated multiple times, change to be slightly less than the gap between c

Do you have cc1101 868MHz variant?
Also, I'm not sure if remote_receiver supports FSK.

I got this one:

In the product description it states:
"The circuit is mainly intended for the ISM (Industrial, Scientific and Medical) and SRD (Short Range Device) frequency bands at 433, 868 and 915 MHz, but can be easily programmed for operation at other frequencies in the bands 300-348 MHz, 387-464 MHz and 779-928 MHz. "

And the CC1101 component should support ASK/OOK (default), 2-FSK, 4-FSK, GFSK, MSK.

(source)

Description can say whatever. But board / antenna is tuned for 433.

Yes. But I don't know if remote_receiver is compatible with FSK.

I see, a different antenna won't do the job?

If not, I guess I need something like this:

BTW with the existing 433 MHz board I can see a signal coming in when the doorbell button is pressed (set remote_receiver to dump: all). But is this dumped signal of any value if the board is not tuned perfectly to 868 Mhz?

Even if the cc1101 module/antenna is tuned for 433, you should be able to receive 868 signal. Not clean signal and range would be shorter, but you should be able to recognize your doorbell.
But if remote_receiver can't handle FSK, you have to do the job just with CC1101 component.
Unfortunately I don't have any FSK remotes and have not tried CC1101 for FSK.

The Qiachip module would make the job easy (if it's able to learn your signal) since it has just binary output.

I see, the Qiachip RX480e module can simply learn the doorbell signal and will signal its detection. Will look into obtaining it.

In the mean time I found also here something which would maybe allow to receive the signals as OOK?

It seems to be possible to also pick up the signal as OOK in rtl_433 by setting the frequency about 90 kHz away from the center of the FSK frequency. This seems to force rtl_433 to only notice one side of the 2FSK signal. This command seems to work well to pick up the data frames. It also has the benefit that when the maximum number of pulses is reached, it doesn't trigger an error and starts decoding data again immediately.

rtl_433 -f 916890000 -q -R 0 -X n=Honeywell_ActivLink,m=OOK_PWM,s=160,l=320,g=400,r=560,y=480,bits=48,invert

rtl_433 -f 916710000 -q -R 0 -X n=Honeywell_ActivLink,m=OOK_PWM,s=160,l=320,g=400,r=560,y=480,bits=48

I'm not sure if the used 90 kHz offset (to a 916 MHz signal, seems to be the american version of the doorbell) would have to be adjusted for 868 MHz (european version). I could simply test it. So what should be the criteria for a "good" signal?

Is your target just to detect that doorbell is ringing?

Why not, interesting approach.
Set cc1101 to ASK with that offset and remote_receiver to dump: raw

Yes, two different doorbells actually.

Try with OOK and post the raw dump.

[22:39:38.354][C][cc1101:241]: CC1101:
[22:39:38.354][C][cc1101:241]:   Chip ID: 0x0014
[22:39:38.354][C][cc1101:241]:   Frequency: 868209792 Hz
[22:39:38.354][C][cc1101:241]:   Channel: 0
[22:39:38.354][C][cc1101:241]:   Modulation: ASK/OOK
[22:39:38.354][C][cc1101:241]:   Symbol Rate: 4996 baud
[22:39:38.354][C][cc1101:241]:   Filter Bandwidth: 203125.0 Hz
[22:39:38.354][C][cc1101:241]:   Output Power: 9.6 dBm
[22:39:38.388][C][cc1101:152]:   CS Pin: GPIO15

[22:39:38.388][C][remote_receiver:079]: Remote Receiver:
[22:39:38.388][C][remote_receiver:079]:   Buffer Size: 1000
[22:39:38.388][C][remote_receiver:079]:   Tolerance: 50%
[22:39:38.388][C][remote_receiver:079]:   Filter out pulses shorter than: 50 us
[22:39:38.388][C][remote_receiver:079]:   Signal is done after 5000 us of no changes
[22:39:38.389][C][remote_receiver:152]:   Pin: GPIO5
[22:39:38.389][C][remote_transmitter:017]: Remote Transmitter:
[22:39:38.389][C][remote_transmitter:017]:   Carrier Duty: 100%
[22:39:38.389][C][remote_transmitter:152]:   Pin: GPIO4

22:40:17.055][I][remote.raw:035]: Received Raw: 551, -175, 350, -50, 751
[22:40:17.056][I][remote.raw:035]: Received Raw: 125, -826, 50, -878, 100, -75, 50, -200, 300, -202, 74, -426, 276, -225, 151
[22:40:17.056][I][remote.raw:035]: Received Raw: 75, -250, 250, -275, 76, -350, 225, -475, 75, -201, 99
[22:40:17.112][I][remote.raw:026]: Received Raw: 75, -1026, 50, -301, 100, -326, 100, -150, 50, -225, 151, -277, 125, -352, 349, -125, 326, -150, 350, -176, 324, -151, 350, -125, 300, -200, 300, -200, 326, -125, 375, -126, 325, -125, 350, -125, 376, -150, 400, -376, 500, -300, 175, -101, 
[22:40:17.112][I][remote.raw:035]:   800
[22:40:17.112][I][remote.raw:035]: Received Raw: 75, -551, 50, -275, 100, -75, 76, -251, 226, -225, 50, -150, 100, -201, 50, -101, 100, -200, 325, -175, 250
[22:40:17.168][I][remote.raw:035]: Received Raw: 75, -378, 50, -250, 100, -50, 50, -501, 100, -175, 276, -350, 177, -175, 176, -76, 51, -149, 400, -325, 100, -325, 125, -375, 151, -300, 200, -154, 347, -275, 201, -100, 375, -150, 100
[22:40:17.168][I][remote.raw:035]: Received Raw: 75, -1054, 100, -676, 50, -175, 76, -751, 50, -375, 200, -250, 351, -150, 301, -176, 275, -225, 301, -150, 325, -175, 325, -151, 325, -175, 125
[22:40:17.168][I][remote.raw:035]: Received Raw: 125, -1299, 275, -202, 125, -100, 75, -252, 175, -402, 125, -175, 175
[22:40:17.168][I][remote.raw:035]: Received Raw: 50, -902, 75, -375, 100, -552, 75, -676, 200
[22:40:17.179][I][remote.raw:035]: Received Raw: 150, -1807, 148, -350, 150, -276, 150, -301, 300, -150, 300, -200, 302, -175, 100
[22:40:17.196][I][remote.raw:035]: Received Raw: 125, -850, 201, -425, 50, -375, 125, -151, 276, -400, 125, -225, 325, -100, 227, -301, 300, -175, 100, -99, 125, -226, 250, -150, 225
[22:40:17.205][I][remote.raw:035]: Received Raw: 75, -876, 126, -450, 50, -377, 101, -501, 475, -302, 176, -174, 325, -150, 175
[22:40:17.220][I][remote.raw:035]: Received Raw: 250, -226, 50, -150, 50, -275, 51, -99, 75, -201, 250, -250, 76
[22:40:17.248][I][remote.raw:026]: Received Raw: 51, -1175, 275, -376, 151, -150, 300, -200, 300, -329, 147, -199, 300, -326, 176, -150, 325, -150, 374, -125, 326, -150, 349, -125, 826, -325, 200, -75, 401, -100, 876, -100, 325, -150, 376, -100, 400, -100, 400, -75, 401, -76, 424, -75, 
[22:40:17.257][I][remote.raw:035]:   100
[22:40:17.277][I][remote.raw:035]: Received Raw: 100, -1726, 76, -100, 101, -349, 50, -276, 200, -300, 275, -376, 150, -300, 126, -373, 152, -353, 125, -200, 275, -453, 50, -175, 125
[22:40:17.297][I][remote.raw:026]: Received Raw: 99, -776, 175, -201, 324, -351, 101, -1002, 476, -326, 150, -175, 301, -175, 351, -75, 376, -349, 175, -125, 350, -301, 225, -75, 375, -150, 401, -200, 200, -300, 226, -250, 250, -225, 225, -127, 374, -285, 215, -75, 376, -100, 375, -300, 
[22:40:17.320][I][remote.raw:035]:   225, -75, 401, -250, 275, -100, 351, -75, 400, -128, 348, -125, 350, -150, 351, -100, 375, -325, 175, -150, 401, -50, 325, -100, 451, -75, 375, -125, 150
[22:40:17.403][I][remote.raw:026]: Received Raw: 50, -1476, 125, -1978, 302, -350, 101, -227, 276, -727, 250, -202, 303, -376, 126, -325, 100, -350, 226, -301, 125, -200, 275, -350, 203, -97, 376, -124, 351, -275, 201, -150, 375, -225, 225, -176, 350, -100, 350, -125, 351, -150, 325, 
[22:40:17.403][I][remote.raw:026]:   -75, 376, -175, 325, -275, 276, -125, 350, -125, 350, -125, 351, -125, 375, -125, 350, -126, 325, -150, 400, -76, 325, -150, 375, -150, 401, -75, 375, -75, 400, -103, 398, -100, 375, -100, 376, -100, 425, -50, 376, -125, 350, -125, 375, -100, 351, 
[22:40:17.427][I][remote.raw:026]:   -300, 175, -476, 525, -576, 400, -125, 375, -76, 400, -225, 225, -125, 376, -275, 250, -75, 425, -76, 475, -125, 200, -351, 100, -350, 200, -275, 251, -75, 350, -300, 226, -99, 401, -101, 350, -300, 200, -75, 400, -275, 226, -125, 350, -101, 374, 
[22:40:17.454][I][remote.raw:026]:   -125, 376, -75, 400, -100, 426, -75, 375, -250, 200, -151, 850, -101, 375, -125, 350, -151, 325, -150, 350, -126, 349, -151, 325, -150, 375, -100, 376, -125, 350, -125, 376, -75, 900, -76, 425, -100, 351, -74, 376, -150, 350, -100, 426, -75, 430, 
[22:40:17.476][I][remote.raw:026]:   -245, 200, -176, 50, -175, 526, -299, 226, -100, 375, -125, 350, -126, 375, -250, 225, -100, 451, -225, 225, -75, 376, -125, 375, -275, 150, -326, 200, -200, 325, -276, 175, -125, 475, -125, 251, -125, 375, -100, 375, -276, 200, -125, 375, -250, 201, 
[22:40:17.530][I][remote.raw:026]:   -125, 900, -101, 350, -125, 350, -101, 400, -125, 325, -200, 326, -125, 350, -125, 400, -76, 375, -100, 351, -149, 351, -125, 375, -75, 376, -150, 350, -125, 375, -101, 400, -101, 349, -150, 351, -125, 400, -75, 351, -150, 350, -50, 426, -124, 351, 
[22:40:17.530][I][remote.raw:026]:   -125, 375, -100, 376, -75, 400, -300, 175, -451, 525, -250, 226, -125, 375, -125, 351, -150, 376, -249, 250, -76, 375, -275, 200, -151, 350, -75, 400, -275, 226, -250, 200, -326, 200, -250, 250, -75, 375, -75, 100, -100, 201, -150, 375, -100, 351, 
[22:40:17.552][I][remote.raw:035]:   -275, 200, -125, 351, -275, 275, -100, 350, -75, 326, -200, 375, -75, 425, -76, 375, -75, 400, -250, 276, -50, 451, -74, 351, -75, 425, -125, 376, -74, 401, -76, 424, -100, 101
[22:40:17.623][I][remote.raw:026]: Received Raw: 50, -101, 75, -250, 50, -925, 100, -549, 126, -201, 324, -150, 326, -325, 150, -325, 226, -275, 126, -350, 175, -150, 326, -325, 150, -201, 275, -150, 450, -200, 225, -100, 376, -275, 200, -100, 375, -126, 375, -100, 375, -125, 250, -226, 
[22:40:17.623][I][remote.raw:035]:   400, -100, 350, -201, 50, -50, 200, -100, 400, -50, 401, -100, 425, -100, 351, -125, 350, -125, 425, -76, 375, -75, 400, -50, 452, -99, 425, -75, 351, -100, 425, -50, 400, -75, 376, -150, 350, -100, 401
[22:40:17.623][I][remote.raw:035]: Received Raw: 75, -402, 100, -876, 76, -225, 301, -151, 275, -350, 175, -200, 276, -350, 175, -150, 276, -200, 300, -201, 351, -125, 350, -150, 276, -175, 375, -300, 150, -151, 150
[22:40:17.643][I][remote.raw:035]: Received Raw: 75, -575, 50, -551, 425, -350, 151, -251, 275, -125, 200, -50, 50, -201, 300, -325, 175, -201, 301, -300, 175, -150, 350, -125, 326, -349, 50
[22:40:17.664][I][remote.raw:026]: Received Raw: 50, -126, 74, -301, 75, -325, 50, -425, 50, -400, 299, -176, 326, -200, 325, -101, 301, -200, 225, -301, 301, -175, 100, -376, 326, -154, 322, -150, 325, -202, 326, -100, 375, -126, 375, -100, 350, -100, 401, -100, 375, -225, 226, -475, 
[22:40:17.678][I][remote.raw:026]:   525, -276, 200, -125, 350, -125, 351, -150, 450, -150, 225, -126, 350, -300, 200, -125, 376, -75, 400, -275, 301, -175, 225, -275, 225, -226, 250, -125, 350, -275, 201, -125, 375, -150, 326, -300, 700, -251, 200, -125, 400, -125, 326, -100, 400, -100, 
[22:40:17.729][I][remote.raw:035]:   401, -100, 275
[22:40:17.729][I][remote.raw:035]: Received Raw: 275, -176, 200, -501, 50, -375, 126, -526, 500, -650, 276, -200, 75, -75, 150, -427, 50, -375, 126, -150, 350, -276, 200, -150, 350, -151, 275, -325, 225, -100, 75, -100, 201, -250, 250, -250, 225, -100, 401
[22:40:17.729][I][remote.raw:035]: Received Raw: 50, -225, 75, -50, 75, -850, 75, -302, 276, -201, 299, -176, 276, -225, 126, -375, 100
[22:40:17.744][I][remote.raw:035]: Received Raw: 250, -252, 50, -1527, 125, -201, 51, -400, 175, -50, 125, -176, 274, -201, 50, -125, 150, -150, 274, -175, 351, -325, 151, -176, 325, -150, 300, -176, 350, -126, 351, -125, 400, -100, 351, -75, 425, -75, 400, -75, 376
[22:40:17.777][I][remote.raw:035]: Received Raw: 75, -1501, 50, -801, 125, -274, 149
[22:40:17.777][I][remote.raw:035]: Received Raw: 50, -1026, 200, -277, 225, -176, 250, -226, 51, -100, 124, -175, 376, -125, 326, -175, 300, -175, 298
[22:40:17.784][I][remote.raw:035]: Received Raw: 75, -1904, 50, -776, 175, -225, 227, -225, 325, -150, 376, -125, 325, -151, 326, -300, 250, -125, 301, -175, 325, -127, 374, -125, 351, -125, 276
[22:40:17.818][I][remote.raw:035]: Received Raw: 75, -600, 201, -500, 150, -400, 50, -250, 76, -401, 50, -100, 100, -402, 125, -175, 325, -301, 151
[22:40:17.818][I][remote.raw:035]: Received Raw: 76, -1277, 175, -227, 200, -354, 172, -300, 75, -350, 300, -150, 249, -400, 175, -125, 375, -125, 351, -150, 325, -176, 300, -152, 350, -150, 200
[22:40:17.830][I][remote.raw:035]: Received Raw: 50, -901, 50, -425, 125, -249, 199, -302, 150, -350, 100, -326, 50, -125, 75, -175, 325, -151, 325, -326, 175, -175, 300, -151, 126
[22:40:17.847][I][remote.raw:035]: Received Raw: 100, -901, 75, -1278, 100, -751, 125, -350, 326, -325, 175, -275, 201, -325, 202, -300, 150, -150, 300, -401, 125, -174, 176
[22:40:17.871][I][remote.raw:026]: Received Raw: 150, -526, 75, -250, 225, -251, 50, -125, 75, -200, 275, -401, 125, -451, 526, -328, 101, -250, 200, -226, 325, -150, 375, -301, 150, -151, 352, -275, 176, -151, 401, -75, 401, -249, 225, -301, 250, -200, 202, -273, 251, -75, 375, -75, 
[22:40:17.881][I][remote.raw:035]:   100, -100, 200, -75, 451, -50, 400, -125, 726
[22:40:17.895][I][remote.raw:035]: Received Raw: 101, -402, 50, -876, 125, -51, 75, -225, 175, -324, 75, -426, 250, -202, 326, -175, 275, -151, 101, -50, 200, -125, 100, -50, 176, -150, 350, -302, 150, -350, 150, -502, 450, -350, 200, -75, 350, -150, 376, -100, 275
[22:40:17.916][I][remote.raw:026]: Received Raw: 50, -200, 50, -75, 151, -775, 225, -275, 100, -501, 101, -151, 302, -200, 300, -176, 301, -176, 325, -175, 299, -200, 200, -251, 326, -200, 276, -125, 375, -150, 300, -201, 325, -100, 901, -100, 350, -125, 375, -76, 400, -150, 375, -50, 
[22:40:17.944][I][remote.raw:035]:   351, -75, 450, -100, 401, -150, 350, -154, 146, -100, 501, -300, 225, -75, 376, -125, 350, -125, 426, -225, 225, -100, 250
[22:40:17.965][I][remote.raw:035]: Received Raw: 50, -1776, 200, -327, 175, -1128, 326, -175, 326, -151, 351, -149, 174
[22:40:17.965][I][remote.raw:026]: Received Raw: 50, -551, 50, -1677, 150, -1001, 76, -426, 50, -374, 101, -227, 275, -403, 126, -175, 326, -150, 351, -275, 202, -177, 101, -75, 100, -450, 50, -151, 375, -125, 325, -150, 326, -150, 375, -125, 376, -75, 375, -275, 276, -50, 275, -150, 
[22:40:18.009][I][remote.raw:035]:   901, -125, 375, -100, 401, -75, 400, -50, 400, -101, 300
[22:40:18.009][I][remote.raw:035]: Received Raw: 501, -502, 75, -275, 250, -677, 275, -200, 250, -401, 125, -349, 177, -304, 176, -300, 175, -201, 276, -327, 175, -125, 375, -126, 326
[22:40:18.009][I][remote.raw:035]: Received Raw: 50, -1077, 75, -225, 75, -100, 50, -225, 175, -301, 100, -125, 50, -250, 275, -125, 326, -175, 350, -151, 225
[22:40:18.057][I][remote.raw:035]: Received Raw: 100, -626, 50, -225, 250, -226, 175, -299, 326, -175, 75, -100, 150, -150, 150, -75, 75, -226, 275, -325, 150, -178, 73
[22:40:18.057][I][remote.raw:026]: Received Raw: 50, -225, 51, -1877, 50, -801, 50, -601, 75, -176, 350, -175, 300, -325, 176, -350, 150, -351, 125, -350, 151, -125, 350, -302, 200, -125, 326, -150, 326, -301, 200, -150, 376, -200, 275, -100, 375, -125, 301, -150, 375, -125, 376, -100, 
[22:40:18.057][I][remote.raw:035]:   375, -75, 425, -251, 250, -75, 851, -125, 350, -150, 351, -125, 350, -75, 450, -101, 350, -125, 375, -100, 851, -125, 376, -150, 350, -75, 375, -176, 325, -75, 400, -125, 851, -100, 375, -126, 350, -125, 350, -276, 225, -400, 300
[22:40:18.129][I][remote.raw:026]: Received Raw: 125, -300, 325, -226, 201, -200, 300, -204, 272, -352, 175, -326, 151, -175, 277, -225, 276, -200, 325, -125, 351, -151, 301, -150, 325, -150, 350, -151, 350, -100, 400, -150, 351, -125, 350, -125, 376, -100, 350, -125, 326, -150, 375, 
[22:40:18.129][I][remote.raw:026]:   -125, 400, -50, 401, -50, 400, -175, 301, -75, 400, -275, 200, -476, 450, -350, 201, -125, 325, -175, 325, -76, 425, -225, 275, -150, 301, -300, 175, -175, 351, -125, 350, -300, 175, -351, 150, -300, 200, -251, 200, -150, 350, -300, 151, -175, 350, 
[22:40:18.129][I][remote.raw:026]:   -125, 350, -301, 177, -148, 325, -301, 200, -127, 373, -125, 376, -125, 300, -175, 325, -176, 300, -175, 350, -276, 200, -125, 400, -100, 301, -175, 350, -175, 300, -176, 275, -150, 350, -150, 326, -175, 325, -150, 325, -226, 275, -150, 250, -225, 
[22:40:18.204][I][remote.raw:026]:   351, -150, 325, -175, 251, -200, 300, -225, 275, -176, 275, -225, 275, -175, 226, -275, 225, -400, 125, -526, 450, -351, 125, -200, 100, -50, 150, -175, 301, -175, 350, -350, 126, -225, 200, -375, 200, -225, 226, -175, 300, -325, 151, -825, 150, -351, 
[22:40:18.204][I][remote.raw:026]:   100, -200, 275, -350, 226, -125, 225, -325, 225, -401, 100, -200, 200, -501, 75, -375, 75, -300, 75, -326, 250, -250, 75, -976, 75, -501, 100, -250, 75, -375, 125, -476, 125, -225, 175, -401, 175, -325, 651, -225, 50, -450, 175, -301, 200, -325, 250, 
[22:40:18.204][I][remote.raw:026]:   -176, 52, -173, 50, -225, 50, -425, 76, -1050, 125, -176, 150, -350, 175, -375, 76, -1826, 50, -100, 75, -701, 275, -826, 100, -425, 100, -226, 152, -1374, 125, -451, 50, -1376, 150, -200, 50, -1476, 100, -76, 75, -50, 250, -50, 50, -225, 100, -50, 
[22:40:18.259][I][remote.raw:035]:   175, -476, 75, -450, 226, -625, 150, -175, 101, -125, 50, -2777, 75, -851, 100, -2052, 525, -451, 50, -925, 276, -1000, 76, -375, 75, -1676, 50, -351, 50, -650, 50, -301, 50, -625, 125, -826, 100, -376, 75, -925, 4004
[22:40:18.259][I][remote.raw:035]: Received Raw: 125
[22:40:18.259][I][remote.raw:035]: Received Raw: 50, -3152, 75, -1752, 50
[22:40:18.267][I][remote.raw:026]: Received Raw: 151, -200, 150, -250, 125, -376, 125, -575, 125, -801, 75, -200, 75, -200, 101, -150, 75, -403, 72, -200, 50, -201, 75, -200, 50, -1826, 75, -151, 50, -325, 50, -325, 50, -401, 875, -51, 75, -175, 100, -375, 75, -125, 50, -626, 100, -876, 
[22:40:18.592][I][remote.raw:035]:   100, -600, 50, -976, 75, -326, 50, -1376, 75, -150, 125, -125, 50, -551, 175, -1226, 75, -1126, 450, -75, 51, -2377, 75, -750, 100, -51, 125, -250, 50, -350, 100, -2352, 50, -1927, 50, -951, 75, -250, 100, -851, 50

Also tried 2-FSK modulation (without frequency offset):

[22:21:01.445][I][remote.raw:026]: Received Raw: -75, 75, -226, 150, -100, 275, -100, 150, -100, 150, -121, 230, -150, 125, -300, 125, -376, 125, -50, 100, -76, 249, -125, 50, -125, 326, -175, 151, -425, 50, -75, 125, -725, 150, -126, 125, -225, 100, -401, 154, -321, 153, -772, 76, -125, 
[22:21:01.445][I][remote.raw:026]:   100, -50, 350, -325, 251, -150, 75, -50, 125, -75, 250, -175, 75, -76, 100, -100, 175, -200, 225, -250, 101, -225, 325, -151, 99, -225, 151, -275, 75, -100, 75, -100, 200, -351, 50, -225, 75, -125, 75, -225, 526, -50, 275, -175, 100, -101, 99, -75, 
[22:21:01.445][I][remote.raw:026]:   151, -300, 50, -425, 276, -225, 50, -100, 200, -450, 101, -150, 350, -200, 100, -275, 201, -225, 300, -75, 401, -125, 75, -525, 51, -174, 126, -50, 300, -275, 150, -50, 125, -100, 51, -300, 150, -200, 50, -225, 100, -351, 100, -75, 200, -251, 124, 
[22:21:01.517][I][remote.raw:026]:   -100, 50, -100, 50, -151, 175, -300, 175, -375, 51, -625, 300, -351, 125, -225, 125, -476, 100, -75, 100, -225, 150, -426, 200, -150, 50, -250, 200, -50, 101, -300, 300, -50, 250, -125, 101, -149, 50, -176, 350, -175, 200, -50, 100, -551, 150, -50, 
[22:21:01.517][I][remote.raw:035]:   100, -125, 51, -325, 75, -125, 75, -50, 500, -100, 201, -100, 175, -150, 250, -75, 76, -100, 50, -200, 75, -75, 300, -75, 100, -100, 501, -500, 150, -175, 201, -75, 375, -75, 75, -125, 300, -151
[22:21:01.518][I][remote.raw:035]: Received Raw: -225, 125, -375, 125, -76, 75, -550, 50, -100, 100, -125, 100, -101
[22:21:01.541][I][remote.raw:035]: Received Raw: -375, 50, -126, 75, -100, 175, -200, 175, -125, 150, -301, 125, -75, 400, -276, 75, -50
[22:21:01.541][I][remote.raw:035]: Received Raw: -75, 425, -200, 451, -100, 150, -50, 100, -50, 50, -375, 226, -125, 300, -250
[22:21:01.557][I][remote.raw:035]: Received Raw: -326, 75, -125, 100, -175, 100, -100, 100, -125, 50, -200, 126, -275, 450, -276, 225, -75, 75, -425
[22:21:01.606][I][remote.raw:035]: Received Raw: -200, 175, -250, 100, -125, 50, -126, 150, -200, 150, -450, 51, -50, 50, -400, 400, -150, 251, -325, 50, -75, 75, -225, 126, -475, 50, -125, 50, -150
[22:21:01.741][I][remote.raw:026]: Received Raw: -500, 75, -100, 126, -100, 125, -75, 50, -600, 576, -275, 75, -276, 99, -276, 50, -50, 50, -125, 50, -175, 51, -500, 75, -525, 175, -100, 75, -226, 50, -50, 625, -225, 50, -726, 126, -200, 75, -400, 150, -225, 275, -576, 175, -301, 249, 
[22:21:01.741][I][remote.raw:026]:   -251, 50, -400, 50, -75, 100, -125, 151, -100, 125, -200, 100, -375, 150, -176, 50, -325, 225, -100, 326, -350, 50, -100, 125, -75, 75, -325, 101, -50, 75, -300, 50, -175, 125, -125, 75, -201, 100, -50, 75, -50, 101, -124, 75, -200, 51, -74, 125, 
[22:21:01.817][I][remote.raw:026]:   -201, 125, -125, 75, -300, 150, -50, 125, -151, 250, -575, 76, -250, 75, -175, 200, -75, 100, -451, 75, -75, 75, -501, 74, -125, 175, -76, 100, -225, 125, -76, 249, -401, 225, -75, 150, -151, 75, -74, 150, -226, 150, -75, 125, -100, 200, -350, 76, 
[22:21:01.818][I][remote.raw:026]:   -175, 75, -125, 225, -450, 326, -325, 100, -701, 175, -125, 50, -200, 175, -75, 126, -200, 125, -200, 101, -124, 75, -100, 151, -725, 100, -376, 100, -826, 199, -101, 100, -501, 124, -200, 75, -251, 100, -75, 300, -475, 76, -650, 125, -100, 150, -201, 
[22:21:01.818][I][remote.raw:026]:   175, -300, 100, -551, 200, -250, 200, -75, 100, -100, 376, -250, 50, -276, 125, -1050, 225, -50, 101, -275, 75, -375, 51, -675, 51, -399, 175, -251, 225, -125, 400, -50, 75, -301, 300, -50, 150, -400, 75, -201, 325, -500, 351, -75, 175, -200, 100, 
[22:21:01.841][I][remote.raw:026]:   -125, 50, -301, 300, -350, 50, -150, 326, -250, 75, -125, 75, -876, 301, -74, 75, -301, 75, -1075, 226, -400, 75, -175, 100, -100, 126, -525, 525, -51, 125, -75, 75, -150, 125, -175, 250, -651, 326, -199, 126, -100, 75, -50, 350, -250, 101, -99, 75, 
[22:21:01.894][I][remote.raw:026]:   -151, 75, -225, 75, -50, 125, -250, 276, -575, 75, -151, 100, -74, 451, -375, 300, -751, 250, -401, 550, -275, 150, -226, 150, -525, 176, -500, 275, -150, 176, -375, 100, -125, 125, -250, 50, -401, 200, -175, 175, -150, 175, -175, 176, -225, 125, 
[22:21:01.894][I][remote.raw:026]:   -175, 51, -74, 150, -50, 50, -76, 75, -300, 125, -425, 75, -376, 200, -275, 50, -50, 75, -225, 51, -200, 350, -375, 176, -50, 200, -1326, 475, -426, 300, -175, 100, -501, 100, -100, 125, -100, 101, -299, 76, -150, 50, -100, 75, -300, 300, -100, 476, 
[22:21:01.969][I][remote.raw:026]:   -75, 75, -225, 275, -326, 250, -75, 125, -75, 75, -200, 75, -201, 125, -75, 50, -700, 100, -75, 151, -500, 75, -50, 125, -75, 551, -200, 400, -100, 100, -101, 300, -601, 74, -251, 50, -150, 300, -626, 75, -50, 75, -50, 75, -175, 75, -776, 51, -324, 
[22:21:01.970][I][remote.raw:026]:   175, -376, 75, -125, 100, -150, 151, -174, 75, -426, 401, -349, 176, -250, 201, -199, 200, -176, 125, -475, 175, -1052, 349, -75, 151, -50, 125, -75, 100, -600, 100, -50, 151, -125, 100, -325, 75, -200, 226, -300, 200, -50, 100, -100, 275, -76, 125, 
[22:21:01.970][I][remote.raw:026]:   -75, 100, -550, 75, -75, 125, -401, 150, -200, 75, -250, 76, -125, 200, -150, 76, -199, 150, -329, 172, -50, 50, -100, 151, -124, 75, -175, 126, -100, 175, -150, 150, -150, 101, -124, 225, -151, 125, -50, 150, -350, 50, -200, 75, -76, 50, -525, 225, 
[22:21:01.989][I][remote.raw:026]:   -100, 151, -50, 300, -75, 125, -75, 300, -75, 326, -75, 100, -150, 50, -275, 100, -176, 175, -75, 175, -125, 75, -225, 100, -100, 76, -300, 200, -125, 125, -201, 124, -126, 125, -275, 225, -125, 300, -101, 50, -200, 125, -50, 100, -150, 50, -676, 150, 
[22:21:02.030][I][remote.raw:035]:   -426, 275, -150, 125, -550, 125, -125, 176, -400, 100, -475, 50, -50, 126, -400, 250, -125
[22:21:02.030][W][remote_receiver:095]: Buffer overflow
[22:21:02.042][I][remote.raw:026]: Received Raw: -125, 50, -726, 428, -347, 125, -501, 50, -50, 425, -125, 151, -175, 350, -325, 50, -326, 125, -125, 100, -125, 350, -125, 75, -50, 151, -175, 150, -375, 226, -275, 75, -175, 250, -901, 600, -401, 75, -125, 450, -480, 121, -325, 225, -75, 
[22:21:02.054][I][remote.raw:026]:   50, -226, 125, -475, 100, -200, 426, -100, 375, -125, 75, -75, 101, -550, 75, -50, 300, -251, 50, -225, 500, -326, 125, -125, 150, -75, 225, -100, 100, -301, 325, -175, 125, -125, 150, -876, 225, -100, 126, -175, 75, -150, 125, -576, 150, -50, 150, 
[22:21:02.077][I][remote.raw:026]:   -200, 100, -676, 250, -125, 75, -100, 275, -226, 304, -274, 97, -426, 250, -425, 150, -401, 150, -100, 300, -75, 125, -100, 200, -226, 75, -250, 300, -401, 100, -175, 100, -125, 125, -175, 75, -126, 50, -450, 175, -100, 150, -401, 100, -275, 100, -50, 
[22:21:02.131][I][remote.raw:035]:   75, -50, 100, -576, 75, -250, 375, -126, 75, -300, 275, -100, 75, -100, 251, -50, 325, -700, 201, -953, 73, -450, 75, -200, 50, -401

I can see there is signal, not just random noise, pulse pairs around 150/300us, but it's not anything near to be useful.

Thanks for having a look. I feel I have to invest some more time to learn how to look into this.
Is the signal visible in both dumps (OOK and 2-FSK)?
So I will look into getting a transceiver properly tuned for 868 Mhz.

BTW here's what previous analysis had established (for the american version, 916.8 Mhz), if of any use:

When the wireless doorbell button is pressed, it sends out a signal centered at 916.8 MHz. It seems to be using 2FSK modulation with a 50 kHz deviation. The modulation rate seems to be 6250 baud, so each HIGH or LOW symbol is 160 microseconds (μs).

Because it is using digital symbols over 2FSK modulation, it essentially looks like two separate, simultaneous, out-of-phase OOK transmissions 100 kHz away from each other, at 916.85 MHz and and 916.75 MHz. In FSK parlance, these higher and lower frequencies are respectively referred to as the "mark" and "space" frequencies.

Data bits are encoded over three symbols. A "0" bit is defined as HIGH-LOW-LOW, and a "1" bit is defined as "HIGH-HIGH-LOW".

Each frame of data consists of a LOW-LOW-LOW signal preamble, 48 bits (144 symbols) of data, and a postamble of HIGH-HIGH-HIGH.

The signal seems to be 50 consecutive repetitions of the frame, then symbols LOW-LOW-LOW-HIGH-HIGH-HIGH, and finally 2 continuous milliseconds (2000 μs) of LOW.

So, the duration of the entire 2FSK signal is

(50 reps * ((1 + 48 + 1 bits) * (3 symbols * 160 μs))) + (6 symbols * 160 μs) + 2000 μs
=
(2500 * 480 μs) + 960 μs + 2000 μs
=
1200000 μs + 2960 μs
=
1.202960 seconds

I don't really find anything that could be used as trigger here. If the timings were like you posted above, there should not be long gaps on the signal. But you got multiple "Received Raw" which means receiver detected >5000us gap. Also the total 1.2s is not matching your logs timestamps.

Did you test your setup with some normal ook remote control?

Also notice that according to the link you posted, the signal is not normal 2FSK, but FSK_PWM which is similar to OOK but FSK instead of ASK. That might/might not work with that Qiachip module..

Only thing that would be worth to try, in my opinion, is to set CC tightly to frequency your doorbell uses, set some filter to not detect short events (noise) and trigger ANY signal that passes thru. If you don't have other 868 devices around, that might work.

No, I must confess I didn't do a proper test of the setup yet. And obviously, there are more options to consider when it comes to modulation and frequencies. So homework first...

Unfortunately I have more 868 devices around (e.g. a lot of HomeMatic IP stuff). So I guess signal recognition has to be quite specific. Will also try the Qiachip approach.

Phototransistor facing to the flashing LED of the doorbell would be my personal choice... :wink:

Sure, but then I won't learn anything about RF... :wink:

Pick some other remote to start with. If you have some 868 OOK transmitter, try with that so you can see if frequency mismatch affects reception significantly.
Dealing with FSK_PWM on esphome with CC1101 tuned to 50% of the transmitter frequency is not ideal start.

First lesson learned: the Qiachip RX480e 868 does not work for me. Albeit it's FSK modulation it doesn't pickup the signal of the doorbell. It's rather a closed system and can not really learn any RF signals from other devices (except the 4 channel RF remotes I guess). Anyway, really simple to setup a 868 MHz RF remote (which I could now use to test my setup).

BTW I also obtained two CC1101 tuned to 868Mhz which should also allow me to sending/receiving with ESPHome (just need to solder some connections before I can test it).