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