RF Button and remote receiver config: hints for config

Hi,

so I have an ESP32 set up to be a 433 MHZ remote receiver which, above other things, I use to capture pushbutton I have around the house to trigger actions.
So far no issue at all but recently I bought a bunch of (cheap) pushbutton which I am not able to make them work correclty.

My code for remote receiver is:

remote_receiver:
  pin:
    number: 27
  dump: rc_switch
  tolerance: 25% # default is 25%
  filter: 10us # default is 10us
  idle: 9ms  # default is 10ms

while for pushbutton I have:

  - platform: remote_receiver
    name: "RF Led"
    filters:
      - delayed_off: 750ms
    rc_switch_raw:
      code: '110010111110110011100001' 
      protocol: 1 

and this is working very well with DIGOO DG-HOSA while other very similar button I bought are really not consistent in the signal I capture with ESP32.

What I mean is that pushing the button sometimes I get “10010100101” and sometime “1001010010100011” for example or different combination of length (binary values are always the same obviously).

I tried a bit to play with

  • tolerance
  • filter
  • idle

values but without much luck in stabilizing the received signal.
Does anyone have hints about how to reception stablity?

P.S. it is not a distance issue as even at 10cm far from the receiver situation doesn’t change