Skip to content

How to correctly detect the order sent using the IR signal for active automatic search? #2179

@arlaor

Description

@arlaor

Hi @crankyoldgit
I am using the latest version of IRremoteESP8266 on a nodemcuV2 esp8266 module, I have the following situation. I have extracted the commands sent by the remote control of a JVC stereo mini-component and placed them within a web page, to be sent from this page. I haven't had any problems with this, but there are a couple of buttons (<<fast left / reverse search and >>fast right /forward search), that have a special function when I'm searching for a radio station. From the remote control of the mini-component, pressing the button once moves one unit on the dial, but if I press it for a moment and stop pressing it, the order that the mini-component receives is to move continuously, until finding the nearest station.
I have tried to simulate this function from my website, causing the commands to be sent every 20 milliseconds when pressing any of the buttons that contain the mentioned functions, so that the mini-component enters automatic search mode for radio stations, but it has not worked. been possible, since what the minicomponent does is move the number of units while the button is pressed and ends as soon as the button is released, as if it were sending the command through multiple commands. button press.
How can I make these buttons generate the automatic search signal when pressing and holding the button?
Note: the command that the remote control sends when you press it once is the same command that it sends when you hold the button down.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions