Sonoff rf bridge receive long press from HA

Hello,

I have setup a sonoff RF bridge 433mhz with ewelink and integrated it in to home assistant using alexxIT sonoff integration using HACS. RF bridge is r2 with 3.5 firmware.

The RF device i’m trying to automate is a linear actuator which is setup to be controlled by 2 buttons. To make the actuator push/pull you need to Hold Down/Long Press a button on the RF remote.

It works but it only receives a button press as a single press when trying to test it in the dev section using remote.send_command to the sonoff.remote_01010101-whateverID

Example one button press:

service: remote.send_command
target:
  entity_id: remote.sonoff_10013951010
data:
  command: Button2

I’ve tried using parameters:
delay_secs:
num_repeats:

with no success.

I figure the rf receiver the actuator is hooked up to is running based on it keeps receiving multi button pushes in a certain number of milliseconds

I’ve put the command in a list but it’s like

data:
  command: 
    - Button2
    - Button2
    - Button2
    - Button2

But it’s like manually pressing the button 4 individual times instead of holding it down. Holding it down for a period is the expected outcome.

Is there anyway to do this long press/holding down button for x seconds within home assistant ?

The ewe app doesn’t appear to have this option.

Any help or suggestions would be appreciated.

Thanks

also stuck on it, did you found some workaround?

I dont think it supports it. Maybe flash tasmota or portish ? Dunno whether that will work or not, I didn’t find anything that could simluate a long press.

I ended up putting a controller in front of the actuator that had the option moving modes from jog to interlock mode and another. It has 2 buttons to move back and forward, interlock mode would start the actuator with a button press then it would stop with another button press (of the same button.)

Creating an automation for that was trivial with a delay to open/close it how far I wanted.

Or I read people have had success with BroadLink-Build Your Intelligent Life but I didn’t want to spend another 60 bucks. The sonoff rf bridge cost 30 in hindsight i probably would of got the broadlink unit.

Good luck.