Broadlink RF repetition

Many thanks for making the Broadlink RM component, I’m very happy with it.

I’ve noticed that sometimes the RF signal sent by the Broadlink is not received. In my previous setup (using a MySensor node to send RF) I made it repeat the signal a few times to be sure that it worked.

Would it be possible to add a configuration variable signal_repetitions to each switch (default 1) like the Pi RF switch component ?

Something like this:

switch:
  platform: broadlink
  host: IP_ADDRESS
  mac: 'MAC_ADDRESS'
  switches:
    philips_tv:
      command_on: 'switch_packet on'
      command_off: 'switch_packet off'
    rfx_switch:
      command_on: 'switch_packet on'
      command_off: 'switch_packet off'
      signal_repetitions: 3

I’ve looked at the source code, but I’m not very well versed in Python (yet) so I’m not sure what I need to change to try it out.

1 Like

Not sure if that’s a good idea. In my setup there’s a lot of RF signal (actually also IR) is toggle the status like one power button to turn on and the same power button to turn off. If you will send several times, probably it will turn on and off several times as well.

Yes, that’s why it should be optional (and default to 1)

I second this. @mvdarend, how about categorizing this as a Feature request?