Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Simulating long press #5936

Closed
killjoy2505 opened this issue Jun 9, 2019 · 2 comments
Closed

Suggestion: Simulating long press #5936

killjoy2505 opened this issue Jun 9, 2019 · 2 comments
Labels
good tip Type - Very useful information question Type - Asking for Information

Comments

@killjoy2505
Copy link

killjoy2505 commented Jun 9, 2019

Recently installed Dooya blind motors. Grabbed the rfraw codes and converted them so I can use them with RF Bridge/Homeassistant.

There is a half open limit, but I need to hold the stop button for 3 seconds on the 2702 remote. Which basically spams the stop button rfrawcode.

So I figured I could use the backlog command for executive commands. However due to the lengthy codes I am maxing out the console command limit (i think). It works for 3 commands and if I add a 4th it just does not do anything, nothing in console and no codes are transmitted.

rfraw AA B0 35 05 04 12CA 05FA 015E 02E4 230A B481A3B2B2A3A3A3B2A3A3A3B2B2A3B2A3A3B2A3B2B2B2B2B2B2B2A3B2A3A3A3B2B2A3B2A3B2A3B2A3 55

Could one please remove the max limit for console commands?

Or either add an option to continuously transmit rfraw commands for an X amount of seconds?

For example

repeat 3 rfraw AA B0 35 05 04 12CA 05FA 015E 02E4 230A B481A3B2B2A3A3A3B2A3A3A3B2B2A3B2A3A3B2A3B2B2B2B2B2B2B2A3B2A3A3A3B2B2A3B2A3B2A3B2A3 55

Which would then in quick succession transmit the rfraw code for 3 seconds?

I would greatly appreciate it.

@Jason2866
Copy link
Collaborator

Jason2866 commented Jun 9, 2019

You are sending already with rfraw 0xB0. This command has the possibility of code repetition included.
See https://github.com/Portisch/RF-Bridge-EFM8BB1/wiki/0xB0
For example 20 repetitions. Changing 5th byte (repetition from 04 to 14)
rfraw AA B0 35 05 14 12CA 05FA 015E 02E4 230A B481A3B2B2A3A3A3B2A3A3A3B2B2A3B2A3A3B2A3B2B2B2B2B2B2B2A3B2A3A3A3B2B2A3B2A3B2A3B2A3 55

@killjoy2505
Copy link
Author

This can be closed now, thanks a lot Jason2866

@ascillato2 ascillato2 added good tip Type - Very useful information question Type - Asking for Information labels Jun 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good tip Type - Very useful information question Type - Asking for Information
Projects
None yet
Development

No branches or pull requests

3 participants